/* リセットとベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --TEXT-COLOR: #101010;
  --CONTAINER-MAX-WIDTH: 137rem;
  --CONTAINER-PADDING: 4.5rem;
  --FONT-FAMILY-GOTHIC: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Yu Gothic", "游ゴシック体", YuGothic, "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  --FONT-FAMILY-MINCHO: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "游明朝", "MS PMincho", "ＭＳ Ｐ明朝", serif;
  font-size: calc(10 / 1370 * 100vw);
}

@media screen and (max-width: 767px) {
  :root {
    font-size: calc(10 / 375 * 100vw);
  }
}

body {
  font-family: var(--FONT-FAMILY-MINCHO);
  line-height: 1.5;
  color: var(--TEXT-COLOR);
  background-color: #fff;
}

img {
  width: 100%;
  height: auto;
}

.container {
  max-width: var(--CONTAINER-MAX-WIDTH);
  margin: 0 auto;
  padding: 0 var(--CONTAINER-PADDING);
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  width: fit-content;
  min-width: 38.5rem;
  padding: 1.7rem 3.6rem;
  border: none;
  border-radius: 10rem;
  font-family: var(--FONT-FAMILY-GOTHIC);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.46px;
  line-height: calc(22 / 16);
  text-align: center;
  text-decoration: none;
  position: relative;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.4rem;
  width: 0.8rem;
  height: 1rem;
  margin-block: auto;
  background: url(../img/icon_arrow_white.svg) no-repeat center center / contain;
}

.btn--large {
  padding: 3rem 6.4rem;
}

.btn--large::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2.8rem;
  width: 0.8rem;
  height: 1rem;
  margin-block: auto;
  background: url(../img/icon_arrow_white.svg) no-repeat center center / contain;
}

.btn-primary {
  background-color: #e66d7b;
  border: max(2px, 0.2rem) solid #ffffff;
  color: white;
}

.btn-secondary {
  background-color: #e69da5;
  color: white;
}

/* ヘッダー */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem 0;
}

.logo {
  line-height: 0;
}

.logo img {
  width: 33.9rem;
}

/* ヒーローセクション */
.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 20%, transparent 50%, transparent 70%, #ffffff 90%, #ffffff 100%);
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top 0rem right 10rem;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content-container {
  padding-block: 20rem 12rem;
  position: relative;
}

.hero-title {
  width: fit-content;
  margin-bottom: 1.5rem;
  padding: 5.2rem 3.5rem 5.2rem 5rem;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.93px;
  line-height: calc(56 / 32);
  border-radius: 2.3rem;
  box-shadow: 0 0.3rem 3.6rem #00000012;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.hero-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(132deg, #f7dada 0%, #f7ecd4 100%);
  opacity: 0.26;
  z-index: -1;
}

.hero-subtitle {
  max-width: 46.3rem;
  padding-left: 5rem;
  font-size: 1.5rem;
  letter-spacing: 0.3px;
  line-height: calc(32 / 15);
}

.hero-btn {
  position: absolute;
  bottom: 2.4rem;
  right: 4.5rem;
  width: fit-content;
  padding: 3.2rem 1rem 3.7rem;
  color: #ffffff;
  font-family: var(--FONT-FAMILY-GOTHIC);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.35px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background: #e66d7b;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0px 0.3rem 0.6rem #00000029;
  z-index: 1;
  transition: all 0.3s ease;
}

.hero-btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-inline: auto;
  background: url(../img/icon_arrow_white.svg) no-repeat center center / contain;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

/* 特徴セクション */
.features {
}

.features-container {
  --FEATURES-CONTAINER-MARGIN: calc((100vw - var(--CONTAINER-MAX-WIDTH)) / 2 + var(--CONTAINER-PADDING));
  display: flex;
  gap: 7.5rem;
  padding: 5.4rem 0 9.4rem var(--FEATURES-CONTAINER-MARGIN);
}

.features-container:has(.features-swiper.swiper-initialized) {
  padding-bottom: 6.4rem;
}

.features-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  justify-content: center;
  align-items: flex-start;
  width: 25rem;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.72px;
  line-height: calc(44 / 25);
}

.features-text {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.43px;
  line-height: calc(32 / 15);
}

.features-content {
  flex: 1;
  width: calc(100vw - (var(--FEATURES-CONTAINER-MARGIN) + 25rem + 7.5rem));
  overflow-x: clip;
}

.feature-item-container {
  display: flex;
  gap: 4.4rem;
}

.feature-item {
  width: 31.4rem;
  background-color: white;
  border-radius: 2.3rem;
  color: var(--TEXT-COLOR);
  text-decoration: none;
  box-shadow: 0px 0.3rem 0.6rem #00000029;
  overflow: hidden;
}

.feature-thumbnail {
  width: 31.4rem;
  height: 14.4rem;
}

.feature-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-content {
  padding: 2rem 2rem 3rem;
}

.feature-title {
  margin-bottom: 24px;
  font-family: var(--FONT-FAMILY-GOTHIC);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.61px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.feature-doctor {
  font-family: var(--FONT-FAMILY-GOTHIC);
  font-size: 1.5rem;
  letter-spacing: 0.43px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* オンコプラスティックセクション */
.oncoplastic {
  padding: 7.6rem 0;
  background: linear-gradient(89deg, #f7dada 0%, #f7ecd4 100%);
}

.oncoplastic-container {
  max-width: 94rem;
}

.oncoplastic-header {
  margin-bottom: 3.4rem;
}

.oncoplastic-title {
  margin-bottom: 2.2rem;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.93px;
  line-height: calc(50 / 32);
  text-align: center;
}

.oncoplastic-text {
  font-size: 1.6rem;
  line-height: calc(29 / 16);
}

.oncoplastic-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.4rem;
}

.oncoplastic-item:has(.oncoplastic-image) {
  width: 26.1rem;
}

.oncoplastic-cta {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 3.2rem;
}

/* 手術セクション */
.procedures {
  padding: 7.6rem 0;
  background-color: #fdf8f8;
}

.procedures-container {
  max-width: 114.5rem;
}

.procedures-header {
  margin-bottom: 2.4rem;
}

.procedures-title {
  margin-bottom: 2.2rem;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.93px;
  line-height: calc(50 / 32);
  text-align: center;
}

.procedures-text {
  width: 91rem;
  margin-inline: auto;
  font-size: 1.6rem;
  line-height: calc(29 / 16);
}

.procedure-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.procedure-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 25.4rem;
  padding: 4rem 4.5rem 4rem 2rem;
  background-color: #ffffff;
  border-radius: 2.3rem;
  box-shadow: 0px 3px 6px #00000029;
}

.procedure-images {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36rem;
}

.procedure-text h3 {
  margin-bottom: 2.2rem;
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: 0.75px;
  line-height: calc(44 / 26);
}

.procedure-text p {
  font-size: 1.6rem;
  letter-spacing: 0.46px;
  line-height: calc(29 / 16);
}

/* メッセージセクション */
.message {
  padding: 9rem 0 12rem;
  background-color: #f2f6fb;
}

.message-container {
  max-width: 104rem;
}

.message-header {
  margin-bottom: 2.4rem;
}

.message-title {
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.93px;
  line-height: calc(50 / 32);
  text-align: center;
}

.message-content {
  display: grid;
  grid-template-rows: 9.1rem 21.4rem 1fr;
  grid-template-columns: 9.1rem 23.6rem 1.2rem 1fr;
  align-items: start;
  margin-top: 6.8rem;
}

.message-image {
  grid-row: 1 / 3;
  grid-column: 2 / 4;
  width: 24.8rem;
  height: 30.5rem;
  line-height: 0;
}

.message-image img {
  border-radius: 1.7rem;
}

.message-text {
  grid-row: 2 / 4;
  grid-column: 3 / 5;
  background-color: #ffffff;
  padding: 5rem 4rem;
  border-radius: 1.7rem;
}

.message-text p {
  font-size: 1.6rem;
  letter-spacing: 0.46px;
  line-height: calc(29 / 16);
}

.message-signature {
  margin-top: 1.7rem;
}

.message-signature p {
  font-size: 1.6rem;
  letter-spacing: 0.46px;
  line-height: calc(29 / 16);
}

/* CTAセクション */
.cta {
  padding: 4rem 0;
  background: linear-gradient(89deg, #f7dada 0%, #f7ecd4 100%);
}

.cta-container {
  max-width: 104rem;
}

.cta-content {
  display: flex;
  justify-content: center;
  gap: 7rem;
}

.cta-item {
  flex: 1;
  width: 44rem;
}

.cta-item p {
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 0.55px;
  line-height: calc(33 / 19);
  text-align: center;
}

.cta-item p small {
  font-size: 1.6rem;
  letter-spacing: 0.46px;
  line-height: calc(33 / 16);
}

.cta-btn {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2rem;
}

.cta-btn .btn {
  width: 100%;
}

/* FAQセクション */
.faq {
  padding: 9rem 0 7rem;
  background-color: #f4f4f4;
}

.faq-container {
  max-width: 117rem;
}

.faq-header {
  margin-bottom: 2.4rem;
}

.faq-title {
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.93px;
  line-height: calc(50 / 32);
  text-align: center;
}

.faq-list {
  margin-top: 8.5rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.faq-item {
  position: relative;
  z-index: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 2rem 4rem 2rem 3.2rem;
  background: linear-gradient(180deg, #f7dada 0%, #f7ecd4 100%);
  box-shadow: 0px 0.3rem 0.6rem #00000029;
  cursor: pointer;
}

.faq-q {
  flex-shrink: 0;
  display: block;
  width: 6.5rem;
  height: 3.9rem;
  background: url(../img/icon_faq_q.svg) no-repeat center left / contain;
}

.faq-question h3 {
  flex: 1;
  padding-left: 3.4rem;
  border-left: 1px solid #333333;
  color: #333;
  font-family: var(--FONT-FAMILY-GOTHIC);
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.42px;
  line-height: calc(33 / 21);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-left: 3.2rem;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  appearance: none;
}

.faq-toggle::before {
  content: "";
  display: block;
  width: 1.6rem;
  height: 1.3rem;
  background-color: #472573;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  position: relative;
  top: 0.1rem;
}

.faq-item:has(.faq-answer.active) .faq-toggle::before {
  rotate: 180deg;
  top: -0.1rem;
}

.faq-answer {
  display: none;
  padding: 5rem 7rem;
  background-color: #ffffff;
  position: relative;
  z-index: -1;
}

.faq-answer.active {
  display: block;
}

.faq-answer p {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.52px;
  line-height: calc(33 / 18);
}

/* フッター */
.footer {
  background-color: #ffffff;
  padding: 4rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  width: 100%;
}

.footer-content,
.footer-copyright {
  width: fit-content;
}

.footer-copyright {
  text-align: right;
}

.footer p {
  font-family: var(--FONT-FAMILY-GOTHIC);
  font-size: 1.2rem;
}

.footer p:not(:last-child) {
  margin-bottom: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .btn {
    width: 100%;
    min-width: 0;
    padding: 1.7rem 3.6rem;
    font-size: 1.4rem;
  }

  .btn::after {
    right: 1.4rem;
  }

  .btn--large {
    padding-block: 1.7rem;
  }

  .btn--large::after {
    right: 1.4rem;
  }

  .header {
    background-color: #ffffff;
  }

  .header-content {
    justify-content: center;
    gap: 20px;
    padding-block: 1.5rem;
  }

  .logo img {
    width: 25rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero {
    margin-bottom: 11.4rem;
    overflow: visible;
  }

  .hero-background::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50rem;
    background: linear-gradient(180deg, transparent 0%, #ffffff 70%, #ffffff 100%);
  }

  .hero-background img {
    height: calc(100% - 10rem);
    object-position: top -2rem right -3rem;
  }

  .hero-content-container {
    padding-block: 30rem 2rem;
  }

  .hero-title {
    padding: 1.5rem;
    font-size: 2rem;
  }

  .hero-title::before {
    opacity: 0.6;
  }

  .hero-subtitle {
    padding-inline: 5rem 1rem;
    font-size: 1.6rem;
    line-height: calc(32 / 16);
  }

  .hero-btn {
    display: inline-block;
    width: calc(100% - 3rem);
    min-width: 0;
    padding: 1.7rem 3.6rem;
    border: none;
    border-radius: 10rem;
    font-family: var(--FONT-FAMILY-GOTHIC);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.46px;
    line-height: calc(22 / 16);
    position: absolute;
    right: 1.5rem;
    bottom: -6.9rem;
  }

  .hero-btn::after {
    content: "";
    position: absolute;
    top: 0;
    right: 1.4rem;
    bottom: 0;
    left: auto;
    width: 0.8rem;
    height: 1rem;
    margin-block: auto;
    background: url(../img/icon_arrow_white.svg) no-repeat center center / contain;
  }

  .features-container {
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 1.5rem 2rem;
  }

  .features-container:has(.features-swiper.swiper-initialized) {
    padding-bottom: 2rem;
  }

  .features-header {
    align-items: center;
    gap: 3rem;
    width: 100%;
  }

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

  .feature-item-container {
    grid-template-columns: 1fr;
  }

  .feature-thumbnail {
    width: 100%;
    height: auto;
  }

  .features-content {
    width: calc(100% + 3rem);
    margin-inline: -1.5rem;
  }

  .oncoplastic {
    padding-block: 5rem;
  }

  .oncoplastic-header {
    margin-bottom: 2rem;
  }

  .oncoplastic-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
  }

  .oncoplastic-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .oncoplastic-cta {
    margin-top: 2rem;
  }

  .oncoplastic-item:has(.oncoplastic-image) {
    width: 100%;
  }

  .procedures {
    padding-block: 5rem;
  }

  .procedures-header {
    margin-bottom: 3rem;
  }

  .procedures-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
  }

  .procedure-item {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .procedure-images {
    width: 100%;
  }

  .procedures-text {
    width: auto;
  }

  .procedure-text h3 {
    margin-bottom: 1.6rem;
    padding-left: 1rem;
    font-size: 2.1rem;
    line-height: calc(33 / 21);
    text-indent: -1rem;
  }

  .message {
    padding-block: 5rem;
  }

  .message-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
  }

  .message-content {
    grid-template-rows: 34rem 3.5rem 1fr;
    grid-template-columns: 3rem 27.5rem 1fr;
    margin-top: 3rem;
  }

  .message-image {
    grid-row: 1 / 3;
    grid-column: 1 / 3;
    width: 100%;
    height: 100%;
  }

  .message-text {
    grid-row: 2 / 4;
    grid-column: 2 / 4;
    padding: 3rem 2rem;
  }

  .cta {
    padding-block: 5rem;
  }

  .cta-content {
    flex-direction: column;
    gap: 3rem;
  }

  .cta-item {
    width: auto;
  }

  .faq {
    padding-block: 5rem;
  }

  .faq-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
  }

  .faq-list {
    gap: 3rem;
    margin-top: 3rem;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-q {
    width: 4.8rem;
  }

  .faq-question h3 {
    padding-left: 1.5rem;
    font-size: 1.8rem;
    line-height: calc(33 / 18);
  }

  .faq-toggle {
    margin-left: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .faq-answer {
    padding: 2rem;
  }

  .faq-answer p {
    font-size: 1.6rem;
    line-height: calc(29 / 16);
  }

  .footer {
    padding: 2rem 0;
  }

  .footer-grid {
    justify-content: center;
    gap: 1.5rem;
  }

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

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* レスポンシブ表示切り替え */
@media screen and (max-width: 768px) {
  .is-pc {
    display: none;
  }
}

@media not screen and (max-width: 768px) {
  .is-sp {
    display: none;
  }
}

/* Swiperのカスタムスタイル */
.features-swiper {
  position: relative;
  padding: 0 5rem 3rem 1rem;
}

.features-swiper:not(.swiper-initialized) .swiper-wrapper {
  gap: 40px;
}

.features-swiper .swiper-button-next,
.features-swiper .swiper-button-prev {
  display: flex;
  display: none;
  width: 3rem;
  height: 3rem;
  background-color: #f7ebd4;
  border-radius: 50%;
  color: #234d75;
  box-shadow: 0px 0.3rem 0.6rem #00000029;
  transition: all 0.3s ease;
}

.features-swiper .swiper-button-next:after,
.features-swiper .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.features-swiper .swiper-button-next {
  right: 5rem;
}

.features-swiper .swiper-button-prev {
  left: 1rem;
}

.features-swiper:not(.swiper-initialized) .swiper-button-next,
.features-swiper:not(.swiper-initialized) .swiper-button-prev {
  display: none;
}

@media (max-width: 768px) {
  .features-swiper {
    position: relative;
    padding: 0 1.5rem 3rem;
  }

  .features-swiper .swiper-button-next {
    right: 1rem;
  }

  .features-swiper .swiper-button-prev {
    left: 1rem;
  }
}
