@charset "utf-8";

body {
  /* font-family: 'Zen Old Mincho', serif; */
  font-size: 13px;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1a202c;
  overflow-x: hidden;
}

.page-wrapper {
  /* max-width: 1512px; */
  margin: 0 auto;
  position: relative;
}

.container,
.container-sp {
  padding: 0 20px;
  /* General horizontal padding */
  box-sizing: border-box;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .container-sp {
    padding: 0 0;
    /* General horizontal padding */
    box-sizing: border-box;
    width: 100%;
  }

  .container.container-sp {
    padding: 0 0;
  }
}

/* Common button style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #333333;
}

.btn-primary:hover {
  background-color: #555555;
}

.btn-secondary {
  background-color: transparent;
  color: #424242;
  border: 1px solid #000000;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
}

.btn-secondary-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-secondary-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.btn-arrow {
  margin-left: 8px;
  margin-top: 8px;
  width: 16px;
  height: auto;
  /* Maintain aspect ratio, original height was 0, likely means it's a horizontal line */
}

.text-center {
  text-align: center;
}

.section-title {
  font-family: 'Courgette', cursive;
  font-size: 50px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.contents-title {
  color: #000;
  text-align: center;
  font-family: Courgette;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 75px */
  letter-spacing: -1px;
}

.contents-subtitle {
  color: #000;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 21px */
  letter-spacing: -0.28px;
}

.service_wrap {
  width: 1060px;
  margin: 40px auto;
  display: flex;
  justify-content: space-around;
}

.service_box {
  width: 48%;
  background: #333;
  border-radius: 15px;
  color: #fff;
  padding: 30px 40px;
}

.staff_box {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.staff_img {
  width: 18%;
  margin-right: 30px;
}

.staff_txt {
  width: 78%;
}

@media only screen and (max-width: 768px) {
  .staff_img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .staff_img img {
    width: 100%;
  }

  .staff_txt {
    width: 100%;
  }
}

/* Responsive image styling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}



.hero-section {
  position: relative;
  height: 716px;
  /* As per Mask group 156:225 */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* To contain the absolutely positioned background */
  top: 120px;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 100%; */
  z-index: -1;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  /* Align items to the top */
  padding-top: 25px;
  /* Approximate from visual */
  position: fixed;
  z-index: 10;
  max-width: 100%;
  width: 100%;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1410px;
  width: 100%;
  margin: auto;
}

.logo {
  width: 30%;
  padding-top: 10px;
}

.logo img {
  width: 40%;
  height: auto;
}

.logo a {
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
}

.logo a:visited,
.logo a:active {
  color: #fff;
}

.logo-main {
  font-family: 'Arimo Hebrew Subset', sans-serif;
  /* Arimo is a good fallback for Arimo Hebrew Subset */
  font-weight: 400;
  font-size: 60px;
  line-height: 1;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
  /* Adjusted from 90px for 60px font */
  letter-spacing: 1.8px;
  margin: 0;
  color: #ffffff;
}

.logo-sub {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  /* Adjusted from 22.5px for 15px font */
  letter-spacing: 2.85px;
  margin: 5px 0 0 0;
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  padding-top: 10px;
  /* Match visual offset of contact button */
  width: 70%;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
}

.main-nav li {
  margin-left: 25px;
  /* Approximate spacing */
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: -0.42px;
}

.main-nav li:first-child a {
  font-weight: 700;
}

/* ホーム is bold */
.main-nav li a[href="#section-concept"],
.main-nav li a[href="#section-about"],
.main-nav li a[href="#section-services"],
.main-nav li a[href="#section-access"] {
  font-weight: 500;
  opacity: 0.9;
}

.main-nav li a[href="#section-staff"] {
  font-weight: 500;
  opacity: 0.75;
}


.contact-button {
  margin-left: 40px;
  min-width: 160px;
  /* Spacing from nav links */
  padding: 9px 14px;
  background-color: #333333;
  color: #ffffff;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 7.98px;
  /* This is very large, might be a typo in Figma spec, or intentional */
  text-decoration: none;
  display: flex;
  align-items: center;
  border-radius: 0;
  /* As per figma, no border-radius specified for style_20 */
}

.contact-button-icon {
  width: 18px;
  height: 13.16px;
  margin-right: 10px;
}

.hero-content {
  padding-top: 200px;
}

.hero-subtitle-en {
  font-family: 'Courgette', cursive;
  font-weight: 400;
  font-size: 60px;
  line-height: 90px;
  letter-spacing: -1.2px;
  margin: 0 auto 10px auto;
  width: 800px;
  /* Space between subtitle and title */
}

.hero-title-jp {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.48px;
  margin: 0 auto;
  width: 800px;
}

.hero-decorative-svgs {
  position: absolute;
  /* Positioning based on their original absolute coordinates relative to hero-content's left edge */
  /* Original x: 2545, 2638, 2715. Hero content left starts at 2670 (text) or 2342 (page edge) */
  /* Let's position relative to the hero content area, which is offset by padding-left */
}

.deco-svg-1 {
  /* 156:281 Ellipse 203 */
  position: absolute;
  left: -125px;
  /* 2545 - 2670 */
  top: -54px;
  /* 528 - 582 (y of hero-title-jp) */
  width: 120px;
  height: 120px;
  opacity: 0.3;
}

.deco-svg-2 {
  /* 156:282 Ellipse 201 */
  position: absolute;
  left: -32px;
  /* 2638 - 2670 */
  top: -170px;
  /* 412 - 582 */
  width: 97.4px;
  height: 97.4px;
  opacity: 0.3;
  transform: rotate(104.47deg);
}

.deco-svg-3 {
  /* 156:283 Ellipse 202 */
  position: absolute;
  left: 45px;
  /* 2715 - 2670 */
  top: -73px;
  /* 509 - 582 */
  width: 97.4px;
  height: 97.4px;
  opacity: 0.3;
  transform: rotate(104.47deg);
}


@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    width: 90%;
    margin: auto;
  }

  .logo {
    margin-bottom: 20px;
    padding-top: 12px;
  }

  .active .logo {
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99;
  }

  .logo-main {
    font-size: 40px;
  }

  .logo-sub {
    font-size: 10px;
  }

  /*　ハンバーガーメニューボタン　*/
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .active .hamburger {
    z-index: 100;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #BBBBBB;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 10px;
  }

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /* スマホメニューを開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* メニュー背景　*/
  nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    text-align: center;
    width: 100%;
    opacity: 0;
    display: none;
    transition: opacity .6s ease, visibility .6s ease;
  }

  nav.globalMenuSp ul {
    margin: 0 auto 30px;
    padding: 0;
    width: 100%;
    flex-wrap: wrap;
    background-color: #333;
    text-align: left;
    border-top: 1px dotted #fff;
  }

  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
    border-bottom: 1px dotted #fff;
  }

  nav.globalMenuSp ul li a {
    display: block;
    background-color: #333;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 50px;

  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }

  nav.globalMenuSp ul li:hover {
    background: #ddd;
  }

  .main-nav li {
    margin-left: 0;
  }

  .contact-button {
    width: 82%;
    margin-left: auto;
    margin-right: auto;
    /* Spacing from nav links */
    padding: 9px 14px;
    background-color: #fff;
    color: #333;
    font-family: 'Zen Old Mincho', serif;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: 7.98px;
    /* This is very large, might be a typo in Figma spec, or intentional */
    text-decoration: none;
    display: flex;
    align-items: center;
    border-radius: 0;
    /* As per figma, no border-radius specified for style_20 */
  }

  .active .contact-button {
    padding-top: 25px;
    padding-bottom: 25px;
    letter-spacing: 13.86px;
  }

  .contact-button-icon {
    width: 30px;
    height: 30px;
  }

  .main-nav a {
    text-decoration: none;
    color: #fff;
    font-family: 'Zen Old Mincho', serif;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: -0.42px;
    text-shadow: none;
  }

  .main-nav .contact-button {
    color: #333;
  }

  /* クリックでjQueryで追加・削除 */
  nav.globalMenuSp.active {
    opacity: 100;
    display: block;
    background-color: #333;
    padding-top: 200px;
    padding-bottom: 75px;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 6.5%;
    text-align: left;
  }

  .main-nav {
    justify-content: center;
    width: 100%;
  }

  .hero-subtitle-en {
    font-size: 30px;
    line-height: 150%;
    width: 100%;
  }

  .hero-title-jp {
    font-size: 18px;
    width: 100%;
  }

  .hero-section .page-wrapper {
    width: 90%;
    height: 390px;
    margin: auto;
  }

  .hero-section {
    height: 390px;
    padding-bottom: 0;
  }
}

/* CSS for section section:concept */
.concept-section {
  padding-top: 80px;
  /* Approx y:722 - y:716 (hero height) + some padding */
  padding-bottom: 80px;
  background-color: #ffffff;
  /* Default, but 156:213 is #f6f6f6 for statement part */
}

.concept-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  /* Spacing before gallery */
  gap: 40px;
  max-width: 960px;
  margin: auto;
  padding-bottom: 65px;
}

.concept-intro-left {
  flex-basis: 40%;
  /* Approximate */
}

.concept-main-phrase {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: -0.64px;
  color: #4b4b4b;
  margin: 0;
}

.concept-intro-right {
  flex-basis: 55%;
  /* Approximate */
}

.concept-description {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #1a202c;
  margin: 0;
}

.concept-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  /* Adjust gap as needed */
  margin-bottom: 60px;
}

.gallery-item img {
  width: 100%;
  height: 249px;
  /* As per mask group heights */
  object-fit: cover;
}

.concept-statement-wrapper {
  background-color: #f6f6f6;
  /* style_2 for 156:213 */
  padding: 60px 0;
  /* Vertical padding for the grey area */
  margin-left: -20px;
  /* Extend to page edges if container has padding */
  margin-right: -20px;
  /* Extend to page edges if container has padding */
  display: flex;
  justify-content: center;
}

.concept-statement {
  text-align: center;
  max-width: 800px;
  /* To control width of centered text */
  padding: 0 20px;
}

.statement-en {
  font-family: 'Courgette', cursive;
  font-weight: 400;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: -0.64px;
  color: #958888;
  margin: 0 0 10px 0;
}

.statement-jp {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  /* font-size: 27px; from style_29, but segments differ */
  line-height: 54px;
  color: #343434;
  margin: 0 0 20px 0;
  position: relative;
}

.statement-jp .quote-mark {
  font-size: 57px;
  display: inline-block;
  margin-top: -10px;
  margin-left: -1em;
  font-size: 57px;
}

.statement-jp .quote-mark-right {
  margin-left: inherit;
  margin-right: -1em;
}

.statement-jp {
  font-size: 28px;
  /* from textStyle_32 for main text */
}


.statement-details {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #1a202c;
  margin: 0 0 30px 0;
}

.concept-more-btn {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #424242;
  border: 1px solid #000000;
  max-width: 220px;
  width: 100%;
  margin: auto;
  padding: 12px 30px;
  border-radius: 0;
}

@media (max-width: 768px) {

  .concept-section .container {
    width: 90%;
    margin: auto;
    padding: 0;
  }

  .concept-statement-wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  .concept-intro {
    flex-direction: column;
  }

  .concept-intro-left,
  .concept-intro-right {
    flex-basis: auto;
    width: 100%;
  }

  .concept-main-phrase {
    text-align: left;
    margin-bottom: 0;
  }

  .concept-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 0;
  }

  .statement-en {
    font-size: 18px;
  }

  .statement-jp {
    font-size: 24px;
    position: relative;
  }

  .statement-details {
    font-size: 14px;
  }

  .statement-jp .quote-mark {
    font-size: 40px;
    position: absolute;
    top: 0;
    left: 2em;
  }

  .statement-jp .quote-mark-right {
    left: inherit;
    right: 2em;
  }
}

/* CSS for section section:services */
.services-section {
  padding-top: 20px;
  background-color: #ffffff;
}

.services-title-main {
  color: #000000;
}

.services-title-sub {
  color: #000000;
}

.services-content-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  /* Adjust as needed */
}

.services-image-column {
  flex: 1;
  /* Adjust ratio as needed */
  /* max-width: 50%; */
}

.service-main-image {
  width: 100%;
  height: auto;
  /* Original height 362.89 for width 948 */
  object-fit: cover;
}

.services-text-column {
  flex: 1;
  /* Adjust ratio as needed */
  /* max-width: 50%; */
}

.services-tagline {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 42px;
  letter-spacing: -0.56px;
  color: #000000;
  margin: 0 0 20px 0;
}

.services-description {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  /* Style 45 specifies bold */
  font-size: 14px;
  line-height: 28px;
  color: #000000;
  margin: 0 0 30px 0;
}

.services-more-btn {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #424242;
  border: 1px solid #000000;
  padding: 12px 30px;
  max-width: 220px;
  width: 100%;
}

@media (max-width: 768px) {
  .services-content-layout {
    flex-direction: column;
    padding-bottom: 80px;
  }

  .services-text-column {
    max-width: 100%;
    width: 90%;
    margin: auto;
  }

  .services-tagline {
    text-emphasis: left;
  }

  .services-description {
    text-align: left;
  }

  .services-more-btn {
    display: flex;
    text-align: center;
    margin: auto;
  }

  .services-image-column {
    margin-bottom: 0;
    max-width: 100%;
  }

  .services-section {
    padding-top: 0;
  }

  .section-title {
    font-size: 34px;
    margin-top: 0;
  }

  .services-title-sub {
    font-size: 12px;
  }
}

/* CSS for section section:philosophy */
.philosophy-section {
  position: relative;
  color: #ffffff;
  padding: 0;
  /* Adjust based on content height and visual */

  /* Ensure background is visible */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}



.philosophy-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* z-index: -1; */
  overflow: hidden;
}


.philosophy-background-image {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
}

.philosophy-content-wrapper {
  /* position: relative; */
  /* To ensure content is above background */
}

.philosophy-text-box {
  /* background-color: rgba(0, 0, 0, 0.3); */
  /* Slight dark overlay for text readability */
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  /* As per 156:330 */
  padding: 180px 60px 130px;
  max-width: 600px;
  /* height: 100%; */
  /* Width of 156:330 */
  margin: 0 auto;
  /* Optional */
  /* position: absolute;
      left: 0;
      right: 0; */
  /* position: relative;
      z-index: ; */
  /* display: none; */
}

.philosophy-title {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.2;
  /* Adjusted from 100px for 50px font */
  letter-spacing: -1px;
  margin: 0 0 30px 0;
  list-height: 200%;
}

.philosophy-description {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  margin: 0 0 30px 0;
  text-align: left;
  /* As per style_47 */
}

.philosophy-subtitle-en {
  font-family: 'Courgette', cursive;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.4px;
  transform: rotate(-8.59deg);
  /* As per style_82 */
  display: inline-block;
  /* For transform to work well */
  margin: 0 auto 60px auto;
  text-align: left;
}

.philosophy-btn-wrap {
  display: block;
}

.philosophy-more-btn {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 16px;
  padding: 12px 30px;
}


@media (max-width: 768px) {
  .philosophy-background-wrapper {
    overflow: visible;
  }

  .philosophy-section {
    padding: 0 0;
    min-height: auto;
  }

  .philosophy-section .container {
    padding: 0;
    width: 90%;
    margin: auto;
  }

  .philosophy-text-box {
    padding: 75px 50px;
    max-width: 100%;
  }

  .philosophy-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .philosophy-subtitle-en {
    font-size: 18px;
  }
}

/* CSS for section section:staff */
.staff-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #ffffff;
  text-align: left;
}

.staff-section .container {
  width: 100%;
}

.staff-title-main {
  color: #0d0d0d;
}

.staff-title-sub {
  color: #606060;
}

.staff-intro-text {
  width: 90%;
  margin: auto;
}

.staff-intro-text,
.staff-outro-text {

  font-size: 14px;
  line-height: 28px;
  color: #1a202c;
  max-width: 670px;
  margin: 0 auto 40px auto;
}

.staff-outro-text {
  margin-top: 40px;
  margin-bottom: 40px;
}

.staff-profiles-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  /* Spacing between profiles */
  margin-bottom: 60px;
  position: relative;
  /* For positioning child elements */
}

.staff-member {
  position: relative;
  width: 225px;
  /* Based on rectangle widths, adjust if ellipse is dominant */
  height: 225px;
  /* Based on rectangle heights */
  display: flex;
  justify-content: center;
  align-items: center;
}

.staff-member-bg {
  /* The colored rectangle */
  position: absolute;
  z-index: 1;
  bottom: -30px;
  height: 225px;
  width: 225px;
}

.staff-member:nth-child(2n) .staff-member-bg {
  bottom: inherit;
  top: -24px;

}

.staff-member-shape {
  /* The SVG Ellipse */
  position: relative;
  /* To be on top of bg */
  width: 308px;
  /* From Figma nodes 156:278 etc. */
  height: 308px;
  z-index: 2;
}

/* Specific offsets for each staff member based on Figma data (approximate relative positioning) */
/* This is complex with absolute positions. Flexbox handles distribution better. */
/* The provided x,y are absolute on canvas. Let's use flex to arrange them. */


.staff-more-btn {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #424242;
  border: 1px solid #000000;
  padding: 12px 30px;
}





@media (max-width: 768px) {
  .staff-profiles-container {
    gap: 60px;
    flex-wrap: nowrap;
  }

  .staff-member {
    width: calc(50% - 10px);
    /* Two per row */
    width: 186px;
    height: 186px;
  }

  .staff-member-bg {
    height: 135px;
    width: 135px;
    bottom: -20px;
  }

  .staff-member:nth-child(2n) .staff-member-bg {
    bottom: inherit;
    top: -15px;
  }

}

/* CSS for section section:footer */
.footer-section {
  border-top: 1px solid #adadad;
  padding-top: 40px;
  /* Space above divider */
  background-color: #ffffff;
  /* Main footer bg */
}

.footer-section .container {
  max-width: 1100px;
  margin: auto;
  padding: 0;
}


.footer-top-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  gap: 40px;
}

.footer-logo-area {
  flex-basis: 30%;
  /* Approximate */
  text-align: left;
  margin-right: 160px;
}

.footer-logo {
  width: 240px;
  /* From 156:304 height, assuming squareish logo */
  height: auto;
  object-fit: contain;
  /* From 156:307 image */
  margin-bottom: 10px;
}

.footer-tagline {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 36px;
  color: #1a202c;
  margin: 0 0 20px 0;
}

.footer-social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  /* Spacing between icons */
}

.footer-social-icons img {
  /* width: 33.6px;
      height: 33.6px; */
}

.footer-links-area {
  flex-basis: 65%;
  /* Approximate */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Align items to the left of this column */
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  /* row-gap column-gap */
}

.footer-nav a {
  text-decoration: none;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.42px;
  color: #2d2d2d;
  opacity: 0.9;
}

.footer-contact-button {
  display: inline-flex;
  align-items: center;
  background-color: #333333;
  /* style_64 */
  color: #ffffff;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 13.86px;
  /* Very large, as per spec */
  text-decoration: none;
  padding: 13px 20px 13px 45px;
  /* Approximate, to make space for icon */
  position: relative;
  /* Mask group 156:286 has w:253, h:54. Text 156:289. Icon 156:291 */
  /* The mask effect is complex to replicate perfectly without the mask image. Using a solid button. */
  margin-bottom: 20px;
  border-radius: 0;
  /* No border-radius specified */
}

.footer-contact-button-icon-wrapper {
  position: absolute;
  left: 15px;
  /* Adjust to position icon */
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-button-icon {
  width: 18px;
  height: 13.16px;
}

.footer-address {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #1a202c;
  margin: 0;
}

.footer-bottom-bar {
  background-color: #555555;
  /* style_42 */
  color: #ffffff;
  padding: 15px 0;
}

.footer-bottom-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-family: 'Arvo', serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: -0.22px;
  margin: 0;
}

.footer-privacy {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.36px;
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
}

.footer-privacy:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-section .container {
    max-width: 100%;
    width: 90%;
  }

  .footer-top-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .footer-logo-area,
  .footer-links-area {
    flex-basis: auto;
    width: 100%;
    align-items: center;
  }

  .footer-logo-area {
    width: 50%;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .footer-logo {
    margin: auto;
  }

  .footer-tagline {
    font-size: 18px;
  }

  .footer-social-icons {
    justify-content: center;
    gap: 20px;
  }

  .footer-nav {
    width: 100%;
    text-align: left;
  }

  .footer-nav ul {
    display: block;
    width: 100%;
    border-top: 1px dotted #ADADAD;
  }

  .footer-nav a {
    display: block;
    font-size: 14px;
    border-bottom: 1px dotted #ADADAD;
    padding-left: 30px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .footer-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65%;
    margin: 30px auto 20px auto;
  }

  .footer-contact-button-icon-wrapper {
    position: inherit;
    left: inherit;
    top: inherit;
    margin-right: 10px;
    margin-top: 20px;
  }

  .footer-address {
    text-align: left;
    width: 90%;
    margin: auto;
    padding-bottom: 30px;
  }

  .footer-bottom-bar-content {
    flex-direction: column;
    gap: 10px;
  }

  .footer-section .container {
    width: 100%;
  }

  .footer-privacy {
    order: -1;
  }
}

.info-section dl {
  font-size: 14px;
  line-height: 28px;
  color: #1a202c;
  max-width: 670px;
  margin: 0 auto 40px auto;
  display: flex;
}

@media only screen and (max-width: 768px) {
  .info-section dl {
    max-width: 90%;
  }
}

textarea {
  max-width: 576px;
  width: 100%;
}

.wpforms-submit {
  background-color: #333 !important;
  min-width: 200px;
  text-align: center;
}

div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  color: #333;
  background: #fff !important;
  border: 1px solid #ddd;
  box-sizing: border-box;
}


.info-section dt {
  margin-right: 20px;
  padding: 0;
}

.info-section dd {
  margin: 0;
  padding: 0;
}

.under-header-wrap {
  /* height: 350px; */
  position: relative;
  padding-top: 100px;
}

.page-title {
  color: #FFF;
  font-family: Courgette;
  font-size: 60px;
  font-style: normal;
  max-width: 930px;
  width: 100%;
  margin: auto;
  padding-top: 35px;
  padding-bottom: 90px;
  font-weight: 400;
  line-height: 150%;
  /* 90px */
  letter-spacing: -1.2px;
  text-align: left;
}

.page-title span {
  display: block;
  font-family: "Zen Old Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 36px */
  letter-spacing: -0.48px;
}

@media only screen and (max-width: 768px) {
  .page-title {
    color: #FFF;
    font-family: Courgette;
    font-size: 40px;
    font-style: normal;
    max-width: 90%;
    width: 100%;
    margin: auto;
    padding-top: 35px;
    padding-bottom: 64px;
    /* 90px */
    letter-spacing: -1.2px;
    background: url(images/header-title-bg.png) left top no-repeat;
    text-align: left;
  }

  .page-title span {
    font-size: 18px;
  }
}

.under-header-about {
  background: url(images/header-about.png) no-repeat;
  background-size: cover;
}

.under-header-concept {
  background: url(images/header-concept.png) no-repeat;
  background-size: cover;
}

.under-header-service {
  background: url(images/header-service.png) no-repeat;
  background-size: cover;
}

.under-header-access {
  background: url(images/header-access.png) no-repeat;
  background-size: cover;
}

.under-header-staff {
  background: url(images/header-staff.png) no-repeat;
  background-size: cover;
}

.under-header-contact {
  background: url(images/header-contact.png) no-repeat;
  background-size: cover;
}

.under-header-policy {
  background: url(images/header-policy.png) no-repeat;
  background-size: cover;
}

.under-header {
  font-family: 'Courgette', cursive;
  font-size: 60px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
}

.under-header-subtitle {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  display: block;
}

.under-page-subtitle {
  color: #000;
  font-family: Courgette;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 75px */
  letter-spacing: -1px;
}

.inner {
  max-width: 1512px;
  width: 100%;
  margin: auto;
}

@media only screen and (max-width: 768px) {
  .inner {
    max-width: 100%;
    width: 90%;
    margin: auto;
  }
}

.breadcrumb {
  max-width: 1512px;
  width: 100%;
  margin: auto;
  padding: 0;
  list-style: none;
  display: flex;
  color: var(--Black, #1A202C);
  font-family: "Zen Old Mincho";
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  align-items: center;
  /* 26px */
}

.breadcrumb li:after {
  content: ">";
  padding-left: 0.3em;
  padding-right: 0.3em;
}

.breadcrumb li:last-child:after {
  content: none;
}


.breadcrumb a {
  display: inline-block;
  color: var(--Black, #1A202C);
  text-decoration: none;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media only screen and (max-width: 768px) {
  .breadcrumb {
    max-width: 100%;
    width: 90%;
  }
}

.content_wrap {
  max-width: 1512px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 100px;
}

@media only screen and (max-width: 768px) {
  .content_wrap {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 64px;
  }
}

.contents p {
  font-size: 14px;
}

.main_text {
  color: #4B4B4B;
  font-family: "Zen Old Mincho";
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 48px */
  letter-spacing: -0.64px;
}

.content_wrap_concept .main_text {
  line-height: 200%;
}

@media only screen and (max-width: 768px) {
  .content_wrap_concept .main_text {
    font-size: 20px;
  }
}

.company-fig {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #333;

}

.company-fig th,
.company-fig td {
  padding: 24px;
  border: 1px solid #333;
}

.company-fig th {
  color: #fff;
  border-bottom: 1px solid #fff;
  background-color: #727272;
}

.company-fig tr:last-child th {
  border-bottom: #333;
}

.access_address_wrap {
  display: flex;
  justify-content: space-between;

}

.access_address_img {
  width: 48%;
  margin-right: 40px;
}

.access_address_img img {
  margin-bottom: 24px;
  height: 700px;
}

@media only screen and (max-width: 768px) {
  .access_address_wrap {
    flex-wrap: wrap;
  }

  .access_address_img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

.gmap {
  position: relative;
  width: 48%;
  padding-top: 56.25%;
  /* 16:9のアスペクト比 */
  height: 0;
}

.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.access_address {
  font-size: 18px;
  font-style: normal;
  padding-bottom: 24px;
  width: 100%;
  text-align: left;
}

#fv {
  width: 100%;
  height: 100dvh;
  position: relative;
}

#fv__slider {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: clip;
}

#fv__slider .fv__slide {
  width: 100%;
  height: 100%;
  position: relative;
}

#fv__slider .swiper-slide-active .fv__slide-img,
#fv__slider .swiper-slide-duplicate-active .fv__slide-img,
#fv__slider .swiper-slide-prev .fv__slide-img {
  display: block;
  width: 100%;
  height: 100%;
  background: no-repeat center center / cover;
  /* 以下のどちらかを適用 */
  animation: fvZoomIn 10s linear 0s normal both;
  /* ズームイン */
  animation: fvZoomOut 10s linear 0s normal both;
  /*ズームアウト */
}

.fv__slide01 {
  background: url(../images/slide01.jpg);
}

.anim-box.fadein.is-animated {
  animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ズームイン */
@keyframes fvZoomIn {

  0% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
  }

}

/* ズームアウト */
@keyframes fvZoomOut {

  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.25);
  }

}

.contact_tel {
  font-weight: bold;
  font-size: 18px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.is-pc {
  display: block !important;
}

.is-sp {
  display: none !important;
}



/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
  .is-pc {
    display: none !important;
  }

  .is-sp {
    display: block !important;
  }
}