@charset "UTF-8";
/* CSS Document */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Questrial", "Noto Sans JP", sans-serif;
  font-weight: 600;
  overflow-x: hidden;
  animation: fadeIn 2s ease forwards;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  color: #3e3a39;
  background: #ffffff;	
}

body.is-opening {
  overflow: hidden;
  height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hr_border {
  width: 50vw;
  border: 1px solid #c7ddfc;
  margin: 20px auto;
}

.page_top {
  position: fixed;
  right: 80px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #00a0e9;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.page_top img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.page_top.show {
  opacity: 1;
  visibility: visible;
}

footer {
  margin-top: 60px;
  color: #3e3a39;
  height: 50px;
  text-align: center;
  font-size: 16px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 160px;
  margin-bottom: 240px;
  border: none;
}

.background-video {
  width: 400px;
  height: auto;
  margin-bottom: 60px;
  border: none;
}

.nav_box {
  font-size: 28px;
  text-align: center;
}

.nav_box ul {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav_box li {
  padding: 0 50px;
  border-right: 1px solid #3e3a39;
}

.nav_box li:last-child {
  border-right: none;
}

.nav_box a {
  color: #3e3a39;
}

section {
  width: 100%;
  margin: 0 auto 40px auto;
  padding: 20px 40px 60px 40px;
}

#case,
#about,
#works,
#contact,
#ta-im,
#parlour_ohashi {
  scroll-margin-top: 80px;
}

h2 {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-size: 50px;
  border-bottom: 3px solid #3e3a39;
  padding-bottom: 10px;
}

/* Case */

.case_nav {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: lighter;
}

.case_nav nav {
  width: 500px;
  max-width: 100%;
}

.case_nav ul {
  display: flex;
  width: 100%;
}

.case_nav li {
  width: 50%;
  padding: 0 30px;
  text-align: center;
}

.case_nav a:hover {
  color: #00a0e9;
}

.case_container {
  width: 100%;
  max-width: 1200px;
  padding-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}

.case_box {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  margin: 0 auto;
}

h3 {
  text-align: center;
  font-size: 30px;
  margin: 30px auto 0;
  font-weight: 500;
}

.sub_txt {
  font-size: 18px;
  font-weight: 500;	
}

article {
  font-size: 14px;
  font-weight: lighter;
  line-height: 1.8;
  width: 700px;
  margin: 50px auto;
}

.case_en_title {
  text-align: center;
  font-size: 16px;
  margin-top: 8px;
}

.case_txtbox{
  width: 700px;
  line-height: 2.2;
  font-weight: 500;
}

.case_data {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.case_logo {
  width: 200px;
  height: 200px;
  margin-right: 10px;
  border: 1px solid #c0c0c0;
}

.case_pic {
  width: 500px;
  max-width: 100%;
}

.case_main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efefef;
}

.case_slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:    opacity 1.5s ease-in-out,
    visibility 1.5s ease-in-out;
}

.case_slide.active {
  opacity: 1;
  visibility: visible;
}

.case_slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case_prev,
.case_next {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
}

.case_prev {
  left: 14px;
}

.case_next {
  right: 14px;
}

.case_prev:hover,
.case_next:hover {
  background: rgba(0, 0, 0, 0.75);
}

.case_dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.case_dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.case_dot.active {
  background: #fff;
}

.case_date {
  margin: 30px 0;
}

.case_thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.case_thumbnail {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.case_thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case_thumbnail:hover,
.case_thumbnail.active {
  opacity: 1;
}


.case_note li {
  font-size: 16px;
}

.case_sns {
  width: 900px;
  margin-bottom: 40px;
  font-weight: 500;
}

.case_sns ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
}

.case_sns li {
  width: 180px;
  padding: 0;
  text-align: center;
  background: #3e3a39;
}

.case_sns a {
  display: block;
  width: 100%;
  padding: 14px;
  color: #fff;
  background: #3e3a39;
  transition: background-color 0.3s;
}

.case_sns a:hover {
  background: #efefef;
  color: #333;
}

.case_sns a::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 10px;
  background: url("../images/win.svg") center / contain no-repeat;
  vertical-align: middle;
}

.case_sns a:hover::after {
  background-image: url("../images/win_hover.svg");
}

/* About */

.abot_table {
  width: 100%;
  max-width: 1000px;
  padding: 0 40px;
  margin: 30px auto;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;	
}

.company_table {
  width: 100%;
  max-width: 1000px;
  border-collapse: collapse;
  line-height: 1.6;
}

.company_table th,
.company_table td {
  padding: 16px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.company_table th {
  width: 30%;
  font-weight: normal;
}

.company_table th.is-switching,
.company_table td.is-switching {
  opacity: 0;
}

.company_table th[lang="en"],
.company_table td[lang="en"] {
  font-family: "Questrial", sans-serif;
  font-weight: 500;	
}

.company_table th[lang="ja"],
.company_table td[lang="ja"] {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

.language-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 920px;
  margin: 30px auto 0;
}

.lang-btn {
  padding: 8px 20px;
  border: 1px solid #3e3a39;
  background: #fff;
  color: #3e3a39;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: #3e3a39;
  color: #fff;
}

.about_space{
 margin: auto 10px;
}

/* Works */

.works_container {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
}

.works_btn {
  margin: 60px;
}

.works_btn_login {
  display: inline-block;
  width: 200px;
  padding: 20px;
  background: #3e3a39;
  color: #fff;
  transition: background-color 0.3s;
}

.works_btn_login:hover {
  background: #c7ddfc;
  color: #3e3a39;
}

.works_note {
  margin: 40px auto;
  color: #3e3a39;
  font-size: 14px;
  line-height: 1.8;
}

/* Contact */

.contact_form {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact_form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
}

.contact_form input {
  height: 40px;
  padding: 10px;
}

.contact_form textarea {
  height: 200px;
  padding: 10px;
}

.contact_form button {
  margin: 0 auto;
  display: inline-block;
  width: 200px;
  padding: 20px;
  background: #3e3a39;
  color: #fff;
  border: 1px solid #3e3a39;
  transition: background-color 0.3s;
}

.contact_form button:hover {
  background: #ffffff;
  color: #3e3a39;
}

.send_complete {
  display: none;
  color: #3e3a39;
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.2;
}

.send_complete.show {
  display: block;
}

.send_txt {
  font-size: 20px;
  color: #00a0e9;
  padding: 6px;
}

.send_txt_en {
  font-size: 14px;
}

.send_note {
  margin: 20px auto;
  line-height: 1.6;
}

.send_note_en {
  font-size: 14px;
}

/* Responsive / Smartphone */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    padding: 0;
    overflow-x: hidden;
  }

  body {
    font-family: "Questrial", "Noto Sans JP", sans-serif;
    font-weight: 500;
  }

  main {
    position: relative;
    gap: 32px;
    padding: 100px 30px 0 30px;
    overflow: hidden;
    isolation: isolate;
	margin-bottom: 60px;
  }

  main > .nav_box {
    width: 100%;
    font-size: 20px;
  }

  main > .nav_box nav {
    width: 100%;
  }

  main > .nav_box ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  main > .nav_box li {
    width: 100%;
    margin: 0 auto;
    padding: 24px 8px;
    border-right: none;
    border-bottom: 1px solid #807875;
  }

  main > .nav_box li:last-child {
    border-bottom: none;
  }

  main > .nav_box a {
    display: block;
    width: 100%;
  }

.background-video {
  width: 260px;
  margin-bottom: 40px;
}	
	
  section {
    width: 100%;
    margin: 20px auto;
    padding: 50px 30px 30px;
  }

  h2 {
    font-size: clamp(34px, 10vw, 44px);
    border-bottom-width: 2px;
    padding-bottom: 8px;
  }

  h3 {
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.5;
	font-weight: 500;
  }

  .sub_txt {
    font-size: 17px;
	font-weight: 500;  
  }

  .case_nav {
    margin: 24px 0 100px;
    font-size: 14px;
	font-weight: 500;
  }

  .case_nav nav,
  .case_nav ul {
    width: 100%;
  }

  .case_nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .case_nav li,
  .case_nav li:nth-child(2n),
  .case_nav li:nth-last-child(-n + 2) {
    font-size: 18px;
    width: 100%;
    padding: 10px;
    border: 1px solid #3e3a39;
  }

  .case_container,
  .case_box,
  article {
    width: 100%;
    max-width: 100%;
  }

  .case_container {
    padding-bottom: 20px;
  }

  .case_box {
    padding: 10px 0;
  }

  article {
    margin: 40px auto;
    padding: 0;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }

.case_txtbox{
	font-size:15px;
}
		
  .case_en_title {
    font-size: 14px;
  }

  .case_data {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
  }

  .case_logo {
    width: min(52vw, 180px);
    height: min(52vw, 180px);
    margin-right: 0;
  }

  .case_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.case_pic {
  width: 100%;
  max-width: 100%;
}

.case_main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.case_slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case_slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case_thumbnails {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.case_thumbnail {
  border-width: 1px;
}

.case_thumbnail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}	
	
  .case_prev,
  .case_next {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .case_prev {
    left: 10px;
  }

  .case_next {
    right: 10px;
  }

  .case_dots {
    bottom: 10px;
    gap: 7px;
  }

  .case_dot {
    width: 8px;
    height: 8px;
  }

  .case_date {
    margin: 24px 0;
  }

  .case_note li {
    font-size: 18px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  } 
	.case_sns {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
	font-weight: 500;	
  }

  .case_sns ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .case_sns li {
    width: 100%;
  }

  .case_sns a {
    padding: 12px 8px;
    font-size: 14px;
  }

  .hr_border {
    width: 70%;
    margin: 10px auto;
  }

  .abot_table {
    padding: 0;
    margin: 24px auto;
  }

  .language-switch {
    justify-content: center;
    gap: 8px;
    margin: 20px auto 0;
    font-size: 16px;
  }

  .lang-btn {
    flex: none;
    min-width: 100px;
    padding: 8px 20px;
  }

  .company_table,
  .company_table tbody,
  .company_table tr,
  .company_table th,
  .company_table td {
    display: block;
    width: 100%;
  }

  .company_table tr {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
  }

  .company_table th,
  .company_table td {
    padding: 3px 0;
    border: none;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .company_table th {
    font-size: 14px;
    color: #777;
  }

  .company_table td {
  font-size: 16px;
  font-weight: 500;
  }	
	
  .works_note {
    font-size: 16px;
  }

  .works_container {
    padding: 10px 0;
  }

  .works_btn {
    margin: 40px auto;
  }

  .works_btn_login,
  .contact_form button {
    width: min(100%, 240px);
  }

  .contact_form {
    margin: 30px auto;
  }

  .contact_form input,
  .contact_form textarea {
    width: 100%;
    border: 1px solid #999;
    border-radius: 0;
    font-size: 16px;
  }

  .contact_form textarea {
    height: 160px;
  }

  .page_top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  footer {
    height: auto;
    margin-top: 30px;
    padding: 0 20px 24px;
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .nav_box {
    font-size: 17px;
  }

  .case_pic {
    grid-template-columns: 1fr;
  }
  .case_sns ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }	
	
}

@media (max-width: 768px) {
  main > .nav_box,
  #case {
    opacity: 0;
    transform: translateY(30px);
    animation: smartphoneFadeIn 1.8s ease forwards;
  }

  main > .nav_box {
    animation-delay: 0.3s;
  }

  #case {
    animation-delay: 1s;
  }
}

@keyframes smartphoneFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}