:root {
  --color-text-primary: #444444;
  --color-text-emphasis: #606a6c;
  --color-white: #ebecf1;
  --color-blue: #a3c4d2;
  --color-light-blue: #dceaf0;
  --color-pink: #c79395;
  --color-light-pink: #efd9d7;
  --color-yellow: #cab56e;
  --color-gradation: linear-gradient(to right, #a3c4d2, #efd9d7);
  --color-gradation-gold: linear-gradient(to top, #cab56e, #fff);
  --font-family-futura: "Jost", sans-serif;
  --font-family-shin-go: "Noto Sans JP", sans-serif;
  --font-family-tsukushi: "Zen Maru Gothic", sans-serif;

  --font-h1: clamp(24px, 4vw, 48px);
  /* h1: PC48px基準 */
  --font-h2: clamp(20px, 3vw, 24px);
  /* h2: PC24px基準 */
  --font-h3: clamp(18px, 2.8vw, 22px);
  /* h3: PC22px基準 */
  --font-h4: clamp(16px, 2.5vw, 18px);
  /* h4: PC18px基準 */

  /* 本文 */
  --font-p: clamp(14px, 1.8vw, 16px);
  /* p: PC16px基準 */
  --font-p-s: clamp(10px, 1.2vw, 12px);
  /* p-s: PC12px基準 */
  --font-p-ss: clamp(8px, 1vw, 9px);
  /* p-ss: PC9px基準 */
}

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

h1 {
  font-size: var(--font-h1);
}

h2 {
  font-size: var(--font-h2);
}

h3 {
  font-size: var(--font-h3);
}

h4 {
  font-size: var(--font-h4);
}

a,
p {
  font-size: var(--font-p);
  font-weight: 400;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .br-sp768 {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .br-sp768-none {
    display: none;
  }
}
@media screen and (min-width: 400px) {
  .br-sp400 {
    display: none;
  }
}

main {
  width: 100%;
  overflow: hidden;
}


header {
  height: 84px;
  background-color: var(--color-blue);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2000;
}

.header-container-left {
  width: 25%;
  max-width: 376px;
  padding: 22px 0;
  text-align: center;
}

.header-logo {
  width: 100%;
  height: 100%;
}

.header-logo p {
  font-family: var(--font-family-tsukushi);
  font-size: var(--font-p);
  font-weight: 500;
  color: var(--color-text-emphasis);
}

.header-container-center {
  width: 50%;
  text-align: center;
}

.header-container-right {
  width: 25%;
  max-width: 368px;
  height: 84px;
  text-align: center;
  background-color: var(--color-yellow);
}

.header-container-right a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 12px 22px 4px;
  font-weight: 400;
  font-size: var(--font-p);
}

.header-container-right a p {
  font-family: var(--font-family-shin-go);
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

.header-contact-tel {
  font-size: 1.625rem;
  font-weight: 600;
}

.header-contact-time {
  font-size: 1rem;
}

.header-nav {
  width: 100%;
}

.header-nav ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav ul li {
  list-style: none;
  flex: 1;
  /* 等分にする */
  text-align: center;
  /* テキストを中央揃え */
}

.header-nav ul li a {
  display: block;
  padding: 22px 0;
  color: #fff;
  text-decoration: none;
}

.header-nav ul li a span {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 22px;
  border-left: 1px solid #fff;
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  font-size: var(--font-p);
  white-space: nowrap;
}


/* ハンバーガーメニュー */
/* ハンバーガーの見た目 */
.hamburger {
  display: none;
  /* PCでは非表示 */
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  gap: 6px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* モバイルナビ */
.mobile-nav {
  position: absolute;
  top: auto;
  right: 0;
  width: 80%;
  background: #fff;
  z-index: 100;
  text-align: center;
  z-index: 100;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 2100;
}

.mobile-nav.active {
  max-height: 500px;
}

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

.mobile-nav li {
  border-bottom: 1px solid #eee;
}

.mobile-nav ul li:last-child {
  background-color: var(--color-yellow);
  border-bottom: none;
}

.mobile-nav li a {
  display: block;
  padding: 15px 0;
  color: var(--color-blue);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav li:last-child a {
  color: #fff;
}

.mobile-nav li a:hover {
  background: var(--color-blue);
  color: #fff;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .header-container-left {
    width: 50%;
  }

  .header-container-center,
  .header-container-right {
    display: none;
    /* PC用メニュー非表示 */
  }

  .hamburger {
    display: flex;
  }
}

/* セクション1 ヒーロー */
.s1-hero {
  width: 100%;
  min-height: 680px;
  position: relative;
  z-index: 100;
}

.s1-hero::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -72px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 2px;
  /* 線の太さ */
  height: 160px;
  /* 線の長さ */
  background: var(--color-gradation-gold);
  /* 線の色 */
  animation: scroll-line 2s infinite ease-in-out;
  z-index: 1000;
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(100px);
    opacity: 0;
  }
}

.s1-hero-c {
  width: 100%;
  height: 680px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.s1-hero-c-r-bg {
  width: 41.6%;
  height: 100%;
}

.s1-hero-c-r-img {
  position: absolute;
  bottom: 36px;
  right: 144px;
}

.s1-hero-c-r-img1 {
  width: 656px;
  position: relative;
}

.s1-hero-c-r-img2 {
  opacity: 0.7;
  width: 60px;
  position: absolute;
  top: -30px;
  right: -38px;
}

.s1-hero-c-text {
  position: absolute;
  left: 80px;
  top: 48px;
  width: 100%;
  max-width: 579px;
  height: 100%;
}

.s1-hero-c-text h1 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-emphasis);
  line-height: 1.65;
  margin-bottom: 24px;
}

.s1-hero-c-text h4 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-emphasis);
  line-height: 1.65;
  margin-bottom: 24px;
  letter-spacing: 0.18em;
}

.s1-hero-c-l-i1 {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 24px;
  gap: 24px;
}

.s1-hero-c-l-i1-p1,
.s1-hero-c-l-i1-p2 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-emphasis);
  padding-left: 12px;
  border-left: 5.4px solid var(--color-yellow);
}

.s1-hero-c-l-i2 {
  padding-left: 32px;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 16px;
}

.s1-hero-c-l-i2 img {
  width: 100%;
  max-width: 157px;
}

.s1-hero-c-l-i3 {
  padding-left: 32px;
  width: 100%;
  max-width: 352px;
  text-align: center;
  padding-top: 24px;
}

.s1-hero-c-l-i3 p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-pink);
  margin-bottom: 12px;
}

.s1-hero-c-l-i3 a {
  display: inline-block;
  padding: 8px 32px;
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  background: var(--color-gradation);
  color: #fff;
}

@media screen and (max-width: 1200px) {
  .s1-hero {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 100;
  }
  .s1-hero-c {
    flex-direction: column;
    justify-content: flex-start;
    /* 上寄せ */
    align-items: center;
    height: auto;
    /* 高さをコンテンツに合わせる */
    padding: 24px 0;
    /* 上下の余白 */
  }

  .s1-hero-c-r-img {
    position: relative;
    right: 0;
    width: 100%;
  }

  .s1-hero-c-r-img1 {
    width: 100%;
  }
  .s1-hero-c-r-img2 {
    transform: rotate(270deg);
    width: 65px;
    top: auto;
    right: 100px;
    bottom:-80px;
  }

  .s1-hero-c-r-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像をカバー */
    z-index: -1;
    /* 背景にする */
  }

  .s1-hero-c-text {
    position: relative;
    left: 0;
    top: 0;
    width: 90%;
    max-width: 579px;
    text-align: center;
    padding-bottom:120px;
    margin: 0 auto;
  }
  .s1-hero-c-l-i1 {
    justify-content: center;
    align-items: center;
  }
  .s1-hero-c-l-i2 {
    justify-content: center;
    align-items: center;
  }
  .s1-hero-c-l-i3 {
    padding-left: 0;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .s1-hero-c-l-i1 {
    font-size: 18px;
    gap:16px;
  }
  .s1-hero-c-r-img {
    width:100%;
  }
  .s1-hero-c-l-i2 {
    flex-direction: column;
    padding-left: 0;
  }
  .s1-hero-c-r-img2 {
    width: 50px;
    top: auto;
    right: 50px;
    bottom: -60px;
  }
  .s1-hero-c-text {
    padding-bottom:80px;
  }
}
@media screen and (max-width: 400px) {
  .s1-hero-c-l-i1 {
    flex-direction: column;
  }
}

/* セクション2 マーリエについて */

.s2-about {
  width: 100%;
  height: 100%;
  padding-top: 172px;
  position: relative;
}

.s2-about-bg-l {
  position: absolute;
  top: 0;
  left: -50px;
  z-index: -1;
}

.s2-about-bg-r {
  position: absolute;
  bottom: 0;
  right: -50px;
  z-index: -1;
}

.s2-c1-title {
  width: 100%;
  height: 100%;
  text-align: center;
}

.s2-c1-title-img {
  width: 100%;
  max-width: 135.2px;
}

.s2-c1-title p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-emphasis);
}

.s2-c1-t1 {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 56px;
}

.s2-c1-t1 h2 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-emphasis);
  margin-bottom: 24px;
}

.s2-c1-t1 p {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-primary);
  letter-spacing: 0.18em;
}

.s2-c1-img1 {
  width: 100%;
  max-width: 988px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.s2-c1-img1-1,
.s2-c1-img1-2 {
  width: 50%;
  position: relative;
}

.s2-c1-img1-1 img,
.s2-c1-img1-2 img {
  width: 100%;
  max-width: 488.8px;
  object-fit: cover;
}

.s2-c1-img1-1 p,
.s2-c1-img1-2 p {
  position: absolute;
  top: -12px;
  left: 50%;
  height: 89.606px;
  width: 23.195px;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.18em;
  background-color: var(--color-yellow);
}

.s2-c1-img2 {
  padding-top: 64px;
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.s2-c1-img2-bg-1 {
  width: 100%;
  max-width: 129px;
  position: absolute;
  top: 60px;
  left: -130px;
}

.s2-c1-img2-bg-2 {
  width: 100%;
  max-width: 110px;
  position: absolute;
  bottom: 0;
  right: -135px;
}

.s2-c1-img2 h3 {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-pink);
  margin-bottom: 16px;
}

.s2-c1-img2-items {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
}

.s2-c1-img2-item1,
.s2-c1-img2-item2 {
  width: 100%;
  max-width: 363px;
  object-fit: cover;
}

.s2-c1-img2-koshitsu {
  position: absolute;
  top: -50px;
  right: 0;
  width: 100%;
  max-width: 145px;
  border-radius: 50%;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 768px) {
  .s2-about-bg-l {
    left: -130px;
  }
  .s2-about-bg-r {
    right: -130px;
  }
  .s2-c1-img1 {
    flex-direction: column;
  }
  .s2-c1-img1-1,
  .s2-c1-img1-2 {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 24px;
    text-align: center;
  }
  .s2-c1-img2-bg-1 {
    top: 0px;
    left: -30px;
  }
  .s2-c1-img2-bg-2 {
    top: 400px;
    bottom: auto;
    right: -35px;
  }
  .s2-c1-img2-items {
    flex-direction: column;
  }
  .s2-c1-img2-item1,
  .s2-c1-img2-item2 {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 24px;
  }
  .s2-c1-img2-item1 {
    margin-top: 32px;
    margin-bottom: 0;
  }
  .s2-c1-img2-koshitsu {
    width: 100px;
    top: 0px;
    right: 50px;
    box-shadow: none;
  }
}
@media screen and (max-width: 400px) {
  .s2-about-bg-l {
    left: -180px;
  }
  .s2-about-bg-r {
    right: -180px;
  }
  .s2-c1-img2-bg-2 {
    width:100px;
    right: -35px;
  }
  .s2-c1-img2-item1 {
    margin-top: 32px;
    margin-bottom: 0;
  }
  .s2-c1-img2-koshitsu {
    width: 80px;
    top: 0px;
    right: 30px;
  }
}
/* セクション2のスライダー */
.s2-c2-slider {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 56px 0;
  position: relative;
  z-index: 1000;
}

.s2-c2-slider .slick-list {
  overflow: visible;
}

.s2-c2-slider-item {
  position: relative;
}

.s2-c2-slider-item img {
  display: block;
  width: 270px;
  height: 330px;
  object-fit: cover;
  margin: 0 auto;
  text-align: center;
}

.s2-c2-slider-item p {
  display: inline-block;
  font-family: var(--font-family-shin-go);
  position: absolute;
  top: -12px;
  left: 230px;
  height: fit-content;
  padding: 8px 0;
  background-color: var(--color-yellow);
  color: #fff;
  font-size: 16.5px;
  font-weight: 400;
  text-align: center;
  text-orientation: upright;
  writing-mode: vertical-rl;
  transform: translate(-50%, 0);
  letter-spacing: 0.18em;
}

.s2-c2-slider-text-slim {
  padding: 12px;
  font-size: 14px;
  line-height: 1.3em;
  font-weight: 400;
  color: var(--color-text-emphasis);
}

/* セクション3 特浴を完備しています */
.s2-c3-text {
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 36px 36px 16px 36px;
  margin-bottom: 48px;
  border: 1px solid var(--color-yellow);
}

.s2-c3-t-bg-1 {
  width: 142px;
  position: absolute;
  top: 0;
  left: -160px;
}

.s2-c3-t-bg-2 {
  width: 170px;
  position: absolute;
  bottom: -35px;
  right: -200px;
}

.s2-c3-t-l {
  width: 61.7%;
  max-width: 464px;
  text-align: left;
}

.s2-c3-t-l p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-emphasis);
}

.s2-c3-t-l img {
  width: 100%;
  max-width: 65.9px;
}

.s2-c3-t-r {
  width: 38.3%;
  max-width: 363px;
  text-align: center;
}

.s2-c3-t-r img {
  width: 100%;
  max-width: 219.5px;
}

.s2-c3-t-title {
  position: absolute;
  top: -24px;
  left: -1px;
  display: inline-block;
  background-color: var(--color-yellow);
  padding: 12px 24px;
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.18em;
}

@media screen and (max-width: 768px) {
  .s2-c3-t-title {
    top: -36px;
    left: -1px;
    padding: 8px 16px;
  }
  .s2-c3-text {
    width: 80%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 16px;
  }
  .s2-c3-t-bg-1 {
    top:-80px;
    left: -60px;
  }
  .s2-c3-t-bg-2 {
    bottom: -80px;
    right: -60px;
  }
  .s2-c3-t-l {
    width: 100%;
    max-width: 100%;
  }
  .s2-c3-t-l img {
    margin: 16px 0;
  }
  .s2-c3-t-r {
    width: 100%;
    max-width: 100%;
  }
}

/* セクション2-4 おひとりおひとりに合わせた身体機能の維持そして回復を目指す */
.s2-c4 {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 64px;
  background-image: url(./img/s2-c4-bg.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  position: relative;
}

.s2-c4-title {
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
  background-image: url(./img/s2-c4-title-bg.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
}

.s2-c4-title h2 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-emphasis);
  letter-spacing: 0.18em;
}

.s2-c4-main {
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 48px 0;
}

.s2-c4-main-l {
  width: 50%;
}

.s2-c4-main-l img {
  width: 100%;
  max-width: 400px;
  align-self: center;
}

.s2-c4-main-r {
  width: 50%;
  max-width: 322px;
}

.s2-c4-main-r h3 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-pink);
  margin-bottom: 28px;
}

.s2-c4-main-r p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.65;
  letter-spacing: 0.18em;
}

@media screen and (max-width: 768px) {
  .s2-c4-main {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .s2-c4-main-l {
    width: 80%;
    text-align: center;
  }
  .s2-c4-main-r {
    width: 80%;
  }

}

/* セクション2-5 医療の受け入れについて */
.s2-c5 {
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 40px;
  position: relative;
}

.s2-c5-bg-1 {
  width: 250px;
  position: absolute;
  top: 35px;
  left: -220px;
}

.s2-c5-bg-2 {
  width: 227px;
  position: absolute;
  bottom: -45px;
  right: -250px;
}

.s2-c5-title {
  width: 100%;
}

.s2-c5-title h3 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-pink);
  margin-bottom: 28px;
}

.s2-c5-main {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 横に3つ */
  gap: 8px;
  /* セル間の隙間 */
  max-width: 800px;
  margin: 0 auto;
}

.s2-c5-main-set {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cell {
  padding: 12px 16px;
  background-color: var(--color-white);
  border-radius: 7px 8px;
  /* 角丸 */
  text-align: center;
  font-family: sans-serif;
  font-size: 16px;
}

.cell-title {
  width: 80%;
  font-size: var(--font-p-s);
}

.cell-check {
  width: 20%;
  font-size: var(--font-p-s);
}

.s2-c5-cell-span {
  position: absolute;
  top: 8px;
  right: 2px;
  font-size: var(--font-p-ss);
}

.s2-c5-note {
  width: 100%;
  max-width: 752px;
  padding: 8px 0;
  margin: 0 auto;
  text-align: right;
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 12px;
}

.s2-c5-note p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-primary);
  font-size: var(--font-p-ss);
}

@media screen and (max-width: 768px) {
  .s2-c5-bg-1 {
    width: 150px;
    top: 10px;
    left: -20px;
  }
  .s2-c5-bg-2 {
    width: 150px;
    bottom: 0;
    right: -20px;
  }
  .s2-c5-main {
    width: 80%;
    grid-template-columns: repeat(2, 1fr);
  }
  .s2-c5-note {
    justify-content: center;
  }
}
@media screen and (max-width: 500px) {
  .s2-c5-main {
    grid-template-columns: repeat(1, 1fr);
  }
  .s2-c5-note {
    padding: 8px 16px;
  }
}
@media screen and (max-width: 400px) {
  .s2-c5-note {
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
  }
}

/* セクション3 会社情報 */
.s3 {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 64px;
  text-align: center;
  background-image: url(./img/s3-bg.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
}

.s3-about-title {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 48px;
  position: relative;
}

.s3-about-title img {
  width: 100%;
  max-width: 145px;
}

.s3-about-title p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-emphasis);
}

.s3-about {
  width: 77%;
  max-width: 1062px;
  padding-bottom: 48px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.s3-about-left {
  width: 54%;
  padding-right: 32px;
}


.s3-about-row {
  display: grid;
  grid-template-columns: 6em 1fr;
  padding: 14px 0 12px 0;
  border-bottom: 1px solid #fff;
}

.s3-about-label,
.s3-about-value {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  font-size: 18px;
  color: #000;
  line-height: 28px;
}

.s3-about-right {
  width: 46%;
  height: 100%;
}

.s3-about-right iframe {
  width: 100%;
  height: 252px;
}

@media (max-width: 768px) {
  .s3-about {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
  }

  .s3-about-left {
    width: 100%;
  }

  .s3-about-right {
    width: 100%;
  }

}

@media screen and (max-width: 400px) {
  .s3-about-row {
    grid-template-columns: 1fr;
  }
}

/* セクション3 会社情報 メッセージ */
.s3-about-message {
  width: 100%;
  max-width: 835px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.s3-about-message-left {
  width: auto;
  padding-left: 12px;
}

.s3-about-message-left-title {
  font-family: var(--font-family-futura);
  font-weight: 300;
  color: var(--color-pink);
  font-size: 32px;
  padding-bottom: 24px;
  letter-spacing: 0.05em;
}

.s3-about-message-left-text1 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-pink);
  font-size: 20px;
  padding-bottom: 16px;
}

.s3-about-message-left-text2 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-primary);
  font-size: 16px;
  padding-right: 14px;
  padding-bottom: 16px;
}

.s3-about-message-left-text3 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-primary);
  font-size: 16px;
  text-align: right;
}

.s3-about-message-left-text3 span {
  font-size: 20px;
}

.s3-about-message-right {
  width: 225px;
  text-align: center;
}

.s3-about-message-right img {
  width: 225px;
  height: 225px;
  object-fit: cover;
  border-radius: 100%;
  padding: 12px;
}

.s3-about-message-bottom {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 96px;
}

.s3-about-message-bottom h4 {
  font-family: var(--font-family-tsukushi);
  font-weight: 400;
  color: var(--color-text-primary);
  padding-bottom: 16px;
}

.s3-about-message-bottom a {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-blue);
  color: #fff;
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  font-size: 16px;
  margin-top: 48px;
}

@media screen and (max-width: 768px) {
  .s3-about-message {
    width: 90%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
    margin: 16px auto;
  }
}
@media screen and (max-width: 400px) {
  .s3-about-message-left-text1 {
    white-space: nowrap;
  }
  .s3-about-message-bottom h4 {
    padding-bottom: 32px;
  }
}
/* セクション4 お問い合わせ */
.s4 {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 64px;
  text-align: center;
}

.s4-title {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.s4-title img {
  width: 100%;
  max-width: 184.8px;
}

.s4-title p {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-emphasis);
  padding-top: 8px;
  padding-bottom: 64px;
}

.s4-c1 {
  width: 100%;
  max-width: 800px;
  background-color: #f7f7f7;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
}

.s4-c1-title {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-blue);
}

.s4-c1-tel-fax {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.s4-c1-tel-fax a,
.s4-c1-tel-fax p {
  font-family: var(--font-family-futura);
  font-weight: 400;
  color: var(--color-text-emphasis);
  font-size: 32px;
  padding: 8px 12px;
}

.s4-c1-time {
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-emphasis);
  font-size: 16px;
}

.s4-c2-title {
  font-family: var(--font-family-shin-go);
  font-weight: 300;
  color: var(--color-pink);
  padding-top: 40px;
  padding-bottom: 16px;

}

@media screen and (max-width: 768px) {
  .s4-c1-tel-fax {
    flex-direction: column;
    gap:4px;
  }
  .s4-c1-tel-fax a {
    padding: 0 12px;
  }
}
/* フォーム */
.s4-c2-form-area {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}
.s4-c2-form-area table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse; /* セルの境界線と余白をくっつける */
  border-spacing: 0; 
  margin-bottom:16px;
}
.s4-c2-form-area form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.s4-c2-form-area table tr {
  display: flex;
  border: 1px solid var(--color-white);
  border-bottom: none;
}
.s4-c2-form-area table tr:last-child {
  border-bottom: 1px solid var(--color-white);
}

.s4-c2-form-area th {
  padding: 0 32px;
  width: 266px;
  text-align: left;
  display: flex;
  align-items: center;
}

.s4-c2-form-area th p {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family-shin-go);
  font-weight: 400;
  color: var(--color-text-primary);
}
.s4-c2-form-area th p .haveto {
  background-color: var(--color-pink);
  color: #fff;
  padding: 0 8px;
  border-radius: 4px;
}
.s4-c2-form-area th p .any {
  color: #fff;
}

.s4-c2-form-area td {
  text-align: right;
  width: calc(100% - 266px);
  border-left: 1px solid var(--color-white);
}
.s4-c2-form-area form input,
.s4-c2-form-area form textarea {
  line-height: 2.5;
  width: 100%;
  border: none;
  padding: 0 16px;
}
.s4-c2-form-area form .spam {
  width: auto;
}
.wpcf7-list-item-label {
  font-family: var(--font-family-shin-go);
  color: var(--color-text-primary);
}
.s4-c2-form-area form input[type="submit"] {
  width: 100%;
  max-width: 266px;
  margin: 16px auto;
  background-color: var(--color-light-pink);
  color: var(--color-text-primary);
  padding: 8px 16px;
  border: none;
}

@media (max-width: 768px) {
  .s4-c2-form-area {
    padding: 16px;
  }
  .s4-c2-form-area table tr {
    flex-direction: column;
    margin-bottom: 16px;
  }
  .s4-c2-form-area th {
    width: 100%;
    border-bottom: 1px solid var(--color-white);
  }
  .s4-c2-form-area th p {
    justify-content: flex-end;
    gap: 24px;
  }
  .s4-c2-form-area th p .haveto {
    background-color: #fff;
    color: var(--color-pink);
  }
  .s4-c2-form-area td {
    width: 100%;
    border-bottom: 1px solid var(--color-white);
    border-left: none;
  }
  .s4-c2-form-area table tr:last-child td:last-child  {
    border-bottom: none;
  }

  .s4-c2-form-area form input,
.s4-c2-form-area form textarea {
  font-size: 16px;
}
}

/* フッター */
footer {
  width: 100%;
  padding: 48px 0;
  background: var(--color-gradation);
}

.footer-content {
  width: 100%;
  max-width: 239px;
  margin: 0 auto;
  text-align: center;
}

.footer-content-logo {
  width: 100%;
  margin: 0 auto;
}

.footer-content-logo img {
  width: 100%;
}

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

.footer-content-tel-fax a {
  font-family: var(--font-family-futura);
  font-weight: 300;
  font-size: 14px;
  color: #fff;
}

.footer-content-tel-fax p {
  font-family: var(--font-family-futura);
  font-weight: 300;
  font-size: 14px;
  color: #fff;
}