/* カラダの調整所 TOPページ：重複指定を整理した統合版 */
/* リングの大きさは .approach-circle__ring の width だけ変更 */

/* ========================================
   MV セクション画像
======================================== */
.main-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  padding: 0;
}
.main-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--color-hero-blue);
  clip-path: polygon(0 88.2%, 100% 55.4%, 100% 100%, 0 100%);
}
.main-visual__wrap {
  width: 100%;
}
.main-visual__picture {
  display: block;
  width: 100%;
}
.main-visual__image {
  display: block;
  position: static;
  width: 100%;
  max-width: 1440px;
  height: auto;
  margin: max(-10vw, -140px) auto 0;
  padding: 0;
  transform: none;
}
@media (max-width: 600px) {
  .main-visual::before {
    clip-path: polygon(0 59%, 100% 43%, 100% 100%, 0 100%);
  }
}
/* ========================================
   INTRO：イントロダクション
======================================== */
.intro-section {
  margin-top: -1px;
  padding-bottom: 50px;
  background: #7397a9;
  color: #fff;
  padding: 0 0 clamp(150px, calc(14.881vw + 35.714px), 250px);
  overflow: hidden;
}
.intro-section__top {
  display: grid;
  grid-template-columns: 1fr 40%;
  align-items: start;
  gap: 60px;
}
@media (min-width: 768px) {
  .intro-section__copy {
    padding-bottom: 15px;
  }
}
.intro-section__heading {
  margin: 0 0 40px;
  padding-top: 40px;
  padding-bottom: 12px;
  background: linear-gradient(to right, #d9e1e5, #83a2b2) left bottom / 100% 3px no-repeat;
  font-size: clamp(19px, 1.65vw, 25px);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.7;
}
.intro-section__photo {
  display: flex;
  justify-content: stretch;
  height: 100%;
  overflow: hidden;
  aspect-ratio: 1.64 / 1;
  width: calc(100% + clamp(0px, 10vw, 100px));
  max-width: none;
}
.intro-section__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 16px 16px 33px 0 rgba(107, 134, 148, 0.67);
}
@media (max-width: 991px) {
  .intro-section__top {
    grid-template-columns: 1fr 35%;
    gap: 40px;
  }
}
.intro-section__concerns {
  position: relative;
  margin-top: 100px;
  padding: 40px 60px 50px;
  border-radius: 8px;
  background: #fbfbfb;
  color: var(--color-text);
}
.intro-section__concerns::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 22px solid #fbfbfb;
}
.intro-section__concerns-title {
  margin: 0 0 18px;
  text-align: center;
  color: var(--color-footer);
  font-size: 30px;
  font-weight: 500;
}
.intro-section__concerns-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.intro-section__concerns-list li {
  position: relative;
  min-width: 0;
  padding: 1em 0 1em 1.5em;
  border-bottom: 1px dashed #9bb2bd;
  font-size: 1.1em;
  line-height: 1.5;
  background: url("../images/check.png") left 0 top 1.3em no-repeat;
  background-size: 1em;
  font-weight: 500;
}
.intro-section__reason {
  display: grid;
  grid-template-columns: min(25vw, 360px) minmax(0, 1fr);
  gap: 0px;
  margin-top: 100px;
  padding-bottom: 20px;
  width: 100%;
}
.intro-section__reason--reverse {
  grid-template-columns: minmax(0, 1fr) 34%;
}
.intro-section__reason--reverse .intro-section__reason-image {
  grid-column: 2;
  grid-row: 1;
}
.intro-section__reason--reverse .intro-section__reason-box {
  grid-column: 1;
  grid-row: 1;
}
.intro-section__reason-image1 {
  /*width: clamp(280px, 32vw, 472px);
  transform: translateX(clamp(-94px, -6.5vw, 0px));*/
  width: min(33vw, 480px);
  height: auto;
  top: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(min(-10vw, 150px));
}
.intro-section__reason-image1 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-section__reason-box1 {
  width: calc(100% + clamp(0px, 12vw, 120px));

  position: relative;
  min-width: 0;
  padding: 90px 60px 60px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(90deg, #fbfbfb 0%, rgba(251, 251, 251, 0.78) 84.06%, rgba(251, 251, 251, 0.45) 100%);
  box-shadow: 15px 17px 33px 0 rgba(107, 134, 148, 0.4);
}
.intro-section__reason-image2 {
  width: clamp(280px, 32vw, 472px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transform: translateX(clamp(0px, 6.5vw, 94px));
}
.intro-section__reason-image2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-section__reason-box2 {
  position: relative;
  width: calc(100% + clamp(0px, 12vw, 120px));
  transform: translateX(clamp(-120px, -12vw, 0px));
  padding: 90px 60px 60px;
  margin-bottom: 40px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(270deg, #fbfbfb 0%, rgba(251, 251, 251, 0.78) 84.06%, rgba(251, 251, 251, 0.45) 100%);
  box-shadow: 15px 17px 33px 0 rgba(107, 134, 148, 0.4);
  z-index: 5;
}
.intro-section__reason-title1 {
  position: absolute;
  top: -20px;
  left: 0;
  margin: 0;
  padding: 10px 30px;
  border-radius: 0px 15px 15px 0px;
  background: #6b8694;
  color: #fff;
  font-size: clamp(25px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1.5;
}
.intro-section__reason-title2 {
  position: absolute;
  top: -20px;
  right: 0;
  margin: 0;
  padding: 10px 30px;
  border-radius: 15px 0px 0px 15px;
  background: #6b8694;
  color: #fff;
  font-size: clamp(25px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1.5;
}
.intro-section__reason-text {
  color: var(--color-text);
}
/* ===== 共通：セクション見出し・ボタン ===== */
.section-en {
  margin: 0;
  color: #9bb8c7;
  font-family: var(--font-en, sans-serif);
  font-size: clamp(52px, calc(7.143vw - 2.857px), 100px);
  font-weight: 300;
  line-height: 1;
}
.section-ja {
  margin: 0px 0 10px;
  font-size: clamp(20px, calc(1.488vw + 8.571px), 30px);
  font-weight: 400;
  line-height: 1.7;
}
.section-prose {
  margin-top: clamp(30px, 4vw, 58px);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 2.1;
}
.text-group {
  margin-bottom: 20px;
  color: #2e2e2e;
}
.text-group p {
  margin: 0;
}

/* ========================================
   APPROACH：レイアウト
======================================== */

.approach-section {
  --diagonal: clamp(140px, 16vw, 260px);

  position: relative;
  background: #f8f8f8;

  /* 上に食い込ませる */
  margin-top: calc(-1 * var(--diagonal));

  /* 中の文字が斜め部分に被らないように */
  padding-top: calc(var(--diagonal) + 30px);
  padding-bottom: 100px;

  clip-path: polygon(0 0, 100% var(--diagonal), 100% 100%, 0 100%);
  z-index: 2;
}

/* PC：見出し・文章が左、円が右 */
.approach-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "heading circle"
    "copy    circle";
  column-gap: 1%;
  align-items: start;
}

.approach-section__heading {
  grid-area: heading;
}

.approach-section__copy {
  grid-area: copy;
  min-width: 0;
}

.approach-section__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

/* ========================================
   APPROACH：2枚の円形画像
======================================== */

.approach-circle {
  grid-area: circle;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 30px auto 0;
  align-self: center;
}

/* 画像共通 */
.approach-circle__ring,
.approach-circle__main {
  position: absolute;
  display: block;
  top: 40%;
  left: 60%;
  height: auto;
  object-fit: contain;
}

/* circle2：回転するリング */
.approach-circle__ring {
  z-index: 1;
  width: 64%; /* ★リングの大きさ */
  animation: circle-rotate 55s linear infinite;
}

/* circle1：固定の円 */
.approach-circle__main {
  z-index: 2;
  width: 150%; /* ★中央の図の大きさ */
  transform: translate(-50%, -50%);
}

/* 回転アニメーション */
@keyframes circle-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ========================================
   APPROACH：SP
======================================== */

@media (max-width: 767px) {
  .approach-section {
    padding: 150px 0 40px;
  }

  .approach-section::before {
    height: 65px;
  }

  .approach-section__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "circle"
      "copy";
    gap: 0;
  }

  /* 見出し */
  .approach-section__heading {
    margin-bottom: 0px;
  }

  /* 円を配置する領域 */
  .approach-circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 40px;
  }

  /* 中央の図（circle1）を拡大 */
  .approach-circle__main {
    width: 100%;
    max-width: none;
    top: 50%;
    left: 45%;
    transform: translate(-45%, -50%);
  }

  /* 回転リング（circle2）も拡大 */
  .approach-circle__ring {
    width: 65%;
    max-width: none;
    top: 50%;
    left: 50%;
  }

  /* 本文 */
  .approach-section__copy .section-prose {
    margin-top: -30px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .approach-circle__ring {
    animation: none;
    transform: translate(-50%, -50%);
  }
}

/* ===== SYMPTOMS：症状別 ===== */
.symptoms-section {
  background: #7397a9;
  padding: 20px 0 70px;
  color: #263940;
  padding-block: clamp(70px, 8vw, 110px);
}
.symptoms-section__title {
  display: inline-block;
  margin-left: -70px;
  margin-bottom: 20px;
  padding: 8px 44px 8px calc(var(--s-inner-padding, 24px) + 40px);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(251, 251, 251, 0) 0%, rgba(251, 251, 251, 0.78) 28.37%, #fbfbfb 100%);
  font-size: clamp(25px, 2vw, 30px);
  font-weight: 400;
  color: #3b4449;
}
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
}
.symptom-card {
  position: relative;
  display: block;
  min-width: 0;
  margin-top: 10%;
  padding: 14px;
  padding-left: 0;
  background: #e7eef2;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
}
.symptom-card h3 {
  margin: 0 0 10px;
  margin-left: 15px;
  font-size: 18px;
  font-weight: 500;
}
.symptom-card__image {
  aspect-ratio: 1.52;
  overflow: hidden;
  border-radius: 0 7px 7px 0;
  background: #d2e0e7;
}
.symptom-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.symptom-card:hover img {
  transform: scale(1.04);
}
.symptom-card__placeholder,
.voice-entry__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #8da7b5;
}
.symptom-card__arrow {
  position: absolute;
  right: 4px;
  bottom: 4px;

  display: grid;
  place-items: center;

  width: 16%;
  height: 13%;
  border-radius: 18px;

  background-color: #6b8999;
  color: #fff;
  z-index: 2;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.symptom-card__arrow img {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 写真を枠内で拡大 */
.symptom-card__image {
  overflow: hidden;
}

.symptom-card__image img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}

/* ホバー時：写真を108%に拡大 */
.symptom-card:hover .symptom-card__image img {
  transform: scale(1.08);
}

/* 矢印：通常時 */
.symptom-card__arrow {
  background-color: #6b8999;
  color: #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* SVGの矢印 */
.symptom-card__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ホバー時：矢印の色を反転 */
.symptom-card:hover .symptom-card__arrow {
  background-color: #fff;
  color: #6b8999;
}
.empty-message {
  color: #fff;
}

/* ===== WHY CHOOSE US ===== */
.reasons-section {
  padding: 115px 0 120px;
  background: linear-gradient(113deg, #f8fafb 0%, #e5eef2 58%, #d4e2e9 100%);
  padding-block: clamp(85px, 10vw, 145px);
}
.reasons-section__heading {
  text-align: right;
  margin-bottom: clamp(45px, 6vw, 85px);
}
.reason-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  margin: 0 0 70px;
  margin-bottom: clamp(55px, 6vw, 95px);
}
.reason-item__image {
  width: 100%;
  aspect-ratio: 1.5;
  background: #e6edef;
  overflow: hidden;
}
.reason-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reason-item h3 {
  font-size: clamp(20px, calc(0.893vw + 13.143px), 26px);
}

.reason-item__box {
  position: relative;
  z-index: 1;
  margin-left: -8%;
  padding: clamp(35px, 4.45vw, 64px) clamp(16px, 2.43vw, 35px) clamp(24px, 2.3vw, 33px);
  border: 1px solid #a5bdc8;
  background: #fff;
  box-shadow: 4px 7px 11px rgba(63, 91, 106, 0.16);
}

.reason-item__number {
  position: absolute;
  left: -1px;
  top: -20px;
  padding: 3px 20px;
  border-radius: 0 37px 37px 0;
  background: #7397a9;
  color: #fff;
  font-size: 46px;
  font-family: var(--font-en, serif);
  font-weight: 300;
  line-height: 1.1;
  height: auto;
}
.reason-item__box h3 {
  margin: 10px 0 20px;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 400;
}
.reason-item__box p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.9;
}
.reason-item--reverse .reason-item__image {
  grid-column: 2;
  grid-row: 1;
}
.reason-item--reverse .reason-item__box {
  grid-column: 1;
  grid-row: 1;
  margin-left: 0;
  margin-right: -8%;
}

.reasons-section__links {
  font-size: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

/* ==========================================
   VOICE：PC
========================================== */

.voice-section {
  padding-block: clamp(80px, 8vw, 125px);
  background: #fff;
}

.voice-section__layout {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 8%;
  align-items: start;
}

/* 左上：見出し */
.voice-section__heading {
  grid-column: 1;
  grid-row: 1;
}

/* 左下：もっと見る */
.voice-section__more {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: start;
  margin-top: 50px;
  font-size: 13px;
  padding-inline: 0px;
}
.voice-section__layout .pill-link {
  width: 151px;
}
/* 右：記事一覧 */
.voice-section__entries {
  grid-column: 2;
  grid-row: 1 / 3;

  display: grid;
  gap: 60px;
  min-width: 0;
}

/* 1件分：文章＋写真 */
.voice-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 43%;
  align-items: start;
  gap: clamp(18px, 3vw, 42px);
  min-width: 0;
}

/* 写真 */
.voice-entry__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.3;
  overflow: hidden;
}

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

/* VOICE 01 */
.voice-entry__label {
  display: inline-block;
  padding: 3px 12px;

  background: #dce7ed;
  color: #6b8999;

  font-family: var(--font-en, sans-serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
}

/* 年代・職業 */
.voice-entry__profile {
  margin: 20px 0 10px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.voice-entry__profile a {
  color: #303538;
  text-decoration: none;
}

/* 症状タグ */
.voice-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 25px;
}

.voice-entry__tags span {
  display: inline-block;
  padding: 3px 12px;

  border-radius: 5px;
  background: #6b8999;
  color: #fff;

  font-size: 14px;
  line-height: 1.5;
}

/* 本文抜粋 */
.voice-entry__excerpt {
  margin: 0;
  color: #303538;

  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ==========================================
   VOICE：SP
========================================== */

@media (max-width: 767px) {
  .voice-entry__label {
    font-size: 20px;
    padding: 7px 11px;
  }

  .voice-entry__profile {
    margin: 12px 0 8px;
    font-size: 16px;
  }

  .voice-entry__tags {
    gap: 5px;
    margin-bottom: 14px;
  }

  .voice-entry__tags span {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
  }

  .voice-entry__excerpt {
    font-size: 13px;
    line-height: 1.9;
  }
}

/* ==========================================
   MESSAGE
========================================== */

.message-section {
  padding: clamp(75px, 8vw, 115px) 0;
  background: linear-gradient(112deg, #f7f9fa 0%, #e7f0f4 55%, #d5e2e9 100%);
}

.message-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 46%);
  grid-template-areas:
    "heading photo"
    "copy    photo"
    "copy    button";
  column-gap: clamp(40px, 6vw, 50px);
  row-gap: 20px;
  align-items: start;
}

.message-section__heading {
  grid-area: heading;
}

.message-section__copy {
  grid-area: copy;
  margin-top: 60px;
  min-width: 0;
}

.message-section__photo {
  grid-area: photo;
  width: calc(100% + clamp(0px, 12vw, 120px));
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
  background: #dce7ed;
  box-shadow: 5px 5px 20px rgba(107, 134, 148, 0.25);
}

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

.message-section__button-wrap {
  grid-area: button;
  display: flex;
  justify-content: right;
}

.message-section__button {
  min-width: 0;
  width: min(100%, 280px);
}

/* 見出し */
.message-section .section-en {
  margin: 0;
  color: #9bb8c7;
  font-family: var(--font-en, sans-serif);
  font-size: clamp(52px, calc(7.143vw - 2.857px), 100px);
  font-weight: 300;
  line-height: 1.1;
}

.message-section .section-ja {
  margin: 8px 0 0;
  font-size: clamp(21px, calc(1.339vw + 10.714px), 30px);
  font-weight: 500;
  line-height: 1.6;
  color: #303538;
}

/* 本文 */
.message-section__copy .section-prose {
  margin-top: 0;
  color: #303538;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
}

.message-section__copy .section-prose p {
  margin: 0;
}

.message-section__copy .section-prose p + p {
  margin-top: 1.8em;
}
/* ===== NEWS ===== */
.news-section {
  padding: 70px 0 85px;
  background: #fbfbfc;
  padding-block: 65px 80px;
}
.news-section__layout {
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
  gap: 9%;
}
.news-section .section-en {
  font-size: 25px;
}

/* ==========================================
   NEWS：一覧を見るリンク
========================================== */

.news-section__more {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;

  margin-top: 25px;
  color: #303538;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;

  transition: color 0.3s ease;
}

/* 丸い矢印 */
.news-section__more .btn-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 14px;
  height: 14px;
  border-radius: 50%;

  background-color: #6b8999;
  color: #fff;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* SVG矢印 */
.news-section__more .btn-arrow svg {
  display: block;
  width: 14px;
  height: 14px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ホバー時：色反転 */
.news-section__more:hover {
  color: #6b8999;
}

.news-section__more:hover .btn-arrow {
  background-color: #fff;
  color: #6b8999;
  outline: 1px solid #6b8999;
}

.news-entry {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 8px;
  padding: 15px 0;
  border-bottom: 1px solid #aab5bc;
  color: #303538;
  text-decoration: none;
  padding-block: 14px;
}

.news-entry:hover {
  opacity: 0.7;
}

.news-entry__date {
  grid-column: 1;
  font-size: 13px;
}
.news-entry__title {
  grid-column: 1;
}
.news-entry > span:last-child {
  grid-column: 2;
  grid-row: 2; /* タイトルと同じ2行目 */
  align-self: center; /* 上下中央 */
  justify-self: end; /* 右寄せ */
  color: #7c9aaa;
}

/* NEWS一覧：右側の矢印 */
.news-entry > span:last-child svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== INTRO ===== */
.intro-section__reason-image1,
.intro-section__reason-image2 {
  max-width: 140%;
  z-index: 0;
}
.intro-section__reason--reverse .intro-section__reason-box2 {
  grid-column: 1;
  grid-row: 1;
}
.intro-section__reason--reverse .intro-section__reason-image2 {
  grid-column: 2;
  grid-row: 1;
}
.section-prose .text-group + .text-group {
  margin-top: clamp(24px, 3vw, 42px);
}
.reason-item:last-child {
  margin-bottom: 0;
}

/* ===== MESSAGE ===== */
.message-section__side .outline-link {
  min-width: 245px;
}
.message-section__copy .section-prose p + p {
  margin-top: 1.8em;
}
@keyframes circle-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== レスポンシブ (max-width: 1023px) ===== */
@media (max-width: 1023px) {
  .main-visual__wrap {
    margin-top: 0;
  }
  /* ==========================================
   INTRO：SP 完成版
========================================== */

  /* INTRO全体 */
  .intro-section {
    overflow: hidden;
  }

  /* 写真とボックスの親要素 */
  .intro-section__reason,
  .intro-section__reason--reverse {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;

    width: 100%;
    max-width: none;
    margin: 55px auto 0;
    padding: 0;

    box-sizing: border-box;
  }

  /* 円形写真：共通 */
  .intro-section__reason-image1,
  .intro-section__reason-image2,
  .intro-section__reason--reverse .intro-section__reason-image2 {
    grid-column: 1;
    grid-row: 1;

    width: min(72vw, 330px);
    max-width: 100%;
    aspect-ratio: 1;

    margin: 0 auto;
    position: relative;
    transform: none;
    z-index: 1;
  }

  /* 円形写真の中身 */
  .intro-section__reason-image1 img,
  .intro-section__reason-image2 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  /* 白いボックス：共通 */
  .intro-section__reason-box1,
  .intro-section__reason-box2,
  .intro-section__reason--reverse .intro-section__reason-box2 {
    grid-column: 1;
    grid-row: 2;

    width: calc(100% - 16px);
    min-width: 0;
    box-sizing: border-box;

    margin-top: -15px;
    padding: 48px 35px 35px;

    position: relative;
    transform: none;
    z-index: 2;
  }

  /* 1つ目：右端ぴったり */
  .intro-section__reason-box1 {
    margin-left: 16px;
    margin-right: 0;
    border-radius: 8px 0 0 8px;
  }

  /* 2つ目：左端ぴったり */
  .intro-section__reason-box2,
  .intro-section__reason--reverse .intro-section__reason-box2 {
    margin-left: 0;
    margin-right: 16px;
    border-radius: 0 8px 8px 0;
  }

  /* 見出し：共通 */
  .intro-section__reason-title1,
  .intro-section__reason-title2 {
    position: absolute;
    top: -12px;

    width: auto;
    margin: 0;
    padding: 7px 14px;

    background: #6b8694;
    color: #fff;

    font-size: clamp(22px, calc(0.889vw + 18.667px), 24px);
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
  }

  /* 1つ目の見出し：左寄せ */
  .intro-section__reason-title1 {
    left: 0;
    right: auto;
    border-radius: 0 12px 12px 0;
  }

  /* 2つ目の見出し：右寄せ */
  .intro-section__reason-title2 {
    left: auto;
    right: 0;
    border-radius: 12px 0 0 12px;
  }

  /* 本文 */
  .intro-section__reason-text {
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #303538;
    overflow-wrap: anywhere;
  }

  .intro-section__reason-text p {
    margin: 25px 0 0px;
  }

  .intro-section__reason-text p:last-child {
    margin-bottom: 0;
  }

  .message-section {
    padding: 65px 0;
  }
  .message-section__photo {
    width: calc(100% + 16px);
    max-width: none;
    margin-right: -16px;
    box-sizing: border-box;
  }
  .message-section__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "photo"
      "copy"
      "button";
    row-gap: 26px;
  }

  .message-section__heading {
    margin-bottom: 0;
  }

  .message-section .section-en {
    font-size: clamp(52px, 11vw, 72px);
    line-height: 1.05;
  }

  .message-section .section-ja {
    margin-top: 10px;
    font-size: clamp(20px, calc(0.889vw + 18.667px), 24px);
    line-height: 1.6;
  }

  .message-section__copy .section-prose {
    font-size: 16px;
    line-height: 2;
  }

  .message-section__copy {
    margin-top: 20px;
  }

  .message-section__copy .section-prose p + p {
    margin-top: 1.7em;
  }

  .message-section__button-wrap {
    justify-content: center;
  }

  .message-section__button {
    width: 100%;
    max-width: 300px;
  }
}

/* ===== レスポンシブ (min-width: 1600px) ===== */
@media (min-width: 1600px) {
  .main-visual::before {
    clip-path: polygon(0 88.2%, 100% 55.4%, 100% 100%, 0 100%);
  }
}

/* ===== レスポンシブ (max-width: 991px) ===== */
@media (max-width: 991px) {
  .intro-section__concerns-list {
    grid-template-columns: 1fr;
  }
}

/* ===== レスポンシブ (max-width: 767px) ===== */
@media (max-width: 767px) {
  .intro-section {
    padding-top: 0;
    margin-top: 0px;
  }
  .intro-section__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro-section__heading {
    margin-bottom: 30px;
    padding-top: 20px;
    font-size: clamp(18px, 4.2vw, 23px);
    line-height: 1.8;
  }
  .intro-section__description {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.9;
  }
  .intro-section__photo {
    border-radius: 16px;
  }
  .intro-section__concerns {
    margin-top: 48px;
    padding: 30px 4vw 36px;
  }
  .intro-section__concerns-title {
    margin-bottom: 16px;
    font-size: clamp(19px, 5vw, 25px);
  }
  .intro-section__concerns-list li {
    font-size: 16px;
  }
  .intro-section__concerns-list li::before {
    top: 15px;
  }
  .intro-section__reason-box1,
  .intro-section__reason-box2,
  .intro-section__reason--reverse .intro-section__reason-box2 {
    padding-inline: 16px;
  }
  .intro-section__reason {
    margin-top: 25px;
  }
  .approach-section::before {
    height: 65px;
  }
  .approach-section__inner,
  .message-section__layout,
  .voice-section__layout,
  .news-section__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .approach-section__links {
    gap: 10px;
  }
  .outline-link {
    min-width: 0;
    margin: 0 auto;
  }
  .symptoms-section {
    padding: 30px 0 50px;
  }
  .symptoms-section__title {
    font-size: 18px;
    font-weight: 400;
    padding: 5px 40px 5px 55px;
    margin-left: -50px;
    margin-bottom: 30px;

    background: linear-gradient(90deg, rgba(251, 251, 251, 0) 0%, rgba(251, 251, 251, 0.78) 28.37%, #fbfbfb 100%);
  }
  .symptoms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .symptom-card {
    padding: 6px 11px 7px 0px;
    margin-top: 0px;
    border-radius: 2.34px;
  }

  .symptom-card h3 {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 5px;
    margin-left: 5px;
  }
  .symptom-card__arrow {
    right: 5px;
    bottom: 5px;
    width: 30px;
    height: 22px;
    border-radius: 8.4px;
  }
  .symptom-card__arrow svg {
    width: 13px;
    height: 13px;
  }

  .reasons-section {
    padding: 70px 0;
  }
  .reasons-section__heading {
    margin-bottom: 45px;
  }
  .reason-item {
    grid-template-columns: 1fr;
    margin-bottom: 45px;
  }

  /* 写真を中央揃え */
  .reason-item__image,
  .reason-item--reverse .reason-item__image {
    grid-column: 1;
    grid-row: 1;
    width: 85%;
    justify-self: center;
  }

  /* 白いボックスを中央揃え */
  .reason-item__box,
  .reason-item--reverse .reason-item__box {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    justify-self: center;
    margin: -70px 0 0;
    padding: 36px 16px 17px;
    box-shadow: none;
  }

  .reason-item__box h3 {
    font-size: 20px;
  }

  .reason-item__box p {
    font-size: 16px;
  }

  .reasons-section__links {
    gap: 10px;
  }

  .voice-section {
    padding: 30px 0;
  }

  .voice-section__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* ① 見出し */
  .voice-section__heading {
    width: 100%;
    text-align: center;
  }

  /* ② お客様の声 */
  .voice-section__entries {
    display: grid;
    width: 100%;
    gap: 25px;
  }

  /* 1件ずつ縦並び */
  .voice-entry {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .voice-entry__copy {
    width: 100%;
  }

  /* 写真 */
  .voice-entry__photo {
    width: 100%;
    aspect-ratio: 1.3;
  }

  /* ③ もっと見る */
  .voice-section__more {
    align-self: center;
    margin-top: 0px;
  }

  .news-section {
    padding: 55px 0;
  }
  .news-section__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .news-section__heading {
    order: 1;
  }

  .news-section__entries {
    order: 2;
  }

  .news-section__more {
    order: 3;
    margin-top: 0;
    align-self: center;
  }

  .reason-item__image,
  .reason-item--reverse .reason-item__image {
    grid-column: 1;
    grid-row: 1;
    width: 115%;
  }

  .reason-item .reason-item__number {
    padding: 3px 17px;
    font-size: 38px;
    height: auto;
  }
  .voice-section__layout,
  .message-section__layout,
  .news-section__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .voice-entry__profile {
    margin-top: 10px;
    font-size: 18px;
  }
  .voice-entry__tags span {
    font-size: 14px;
    padding: 4px 11px;
  }
  .voice-entry__excerpt {
    font-size: 16px;
  }

  .contact .outline-link2 {
    margin: 0 auto;
  }
  .news-section__heading {
    text-align: center;
  }
  .news-section .section-en {
    font-size: 52px;
  }

  .message-section__copy {
    margin-top: 0px;
  }
}

/* ===== レスポンシブ (prefers-reduced-motion: reduce) ===== */
@media (prefers-reduced-motion: reduce) {
  .approach-circle__ring {
    animation: none;
  }
}
