@charset "UTF-8";
/* =========================================================
   Responsive CSS
   - PC版のCSSは style.css に集約
   - ここでは「詰まり対策」「タブレット」「SP」の差分だけを管理
   - 大きな画面から順に下へ読む構成
========================================================= */
@media (max-width:1480px) {
  .download-btn{
    font-size: clamp(10.8px, 0.5vw, 16.2px);
  }
}
/* ---------- 1280px以下：PCを少し狭めた時の詰まり対策 ---------- */
@media (max-width:1280px) {
  .l-container {
    width: min(1008px, calc(100% - 36px));
  }

  .download-box {
    padding: 18px;
  }
  
  .site-header__inner {
    height: 79.2px;
    padding-right: 243px;
    gap: 19.8px;
  }
  
  .fv__brand {
    width: 229.5px;
  }
    
  .site-header__logo {
    width: clamp(225px, 25vw, 297px);
  }

  .site-header__nav {
    gap: clamp(14.4px, 2vw, 25.2px);
    font-size: clamp(11.7px, 1.2vw, 13.5px);
  }

  .fixed-contact {
    width: clamp(135px, 15vw, 198px);
    right: 19.8px;
    bottom: 19.8px;
  }

  .fv {
    padding-top: 79.2px;
  }

  .section-heading__ja {
    font-size: clamp(41.4px, 5.15vw, 59.4px);
  }

  .approaches__lead {
    font-size: clamp(22.5px, 2.5vw, 28.8px);
  }

  .program__panel {
    padding-inline: clamp(30.6px, 5vw, 57.6px);
  }

  .program__content {
    grid-template-columns: minmax(0, 1fr) minmax(324px, 44%);
    gap: clamp(25.2px, 4vw, 36px);
  }

  .program__concept-title {
    font-size: clamp(27.9px, 2.05vw, 36px);
  }


  .program-keyword {
    gap: 43.2px;
  }

  .program-keyword li {
    width: clamp(144px, 15vw, 180px);
  }

  .program-keyword li:not(:last-child)::after {
    right: -20%;
  }

  .office-grid,
  .flow-list {
    width: min(1008px, 100%);
  }

  .office-grid {
    gap: 30.6px;
  }

  .program-card h4 {
    font-size: clamp(16.2px, 1.7vw, 19.8px);
  }
}

/* ---------- 990px以下：ナビ・5列カードが詰まり始める領域 ---------- */
@media (max-width:1100px) {
  .site-header__inner {
    padding-right: 234px;
  }

  .site-header__nav {
    gap: 12.6px;
    font-size: 11.7px;
  }

  .program-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 41.4px 16.2px;
  }

  .program-card {
    min-height: 198px;
  }

  .office-grid {
    gap: 25.2px;
  }

  .office-card {
    padding: 21.6px;
  }

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 41.4px 23.4px;
  }

  .flow-card::after {
    display: none;
  }

  .footer-nav {
    right: 0;
    width: min(450px, 100%);
  }
}

/* ---------- 864px以下：タブレット。SPメニューへ切り替え ---------- */
@media (max-width:960px) {
  body {
    font-size: 15px;
  }

  .l-container {
    width: min(100% - 32px, 760px);
  }

  .site-header {
    position: fixed;
    height: 72px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
  }

  .site-header__inner {
    width: calc(100% - 28px);
    height: 72px;
    padding-right: 0;
  }

  .site-header__logo {
    position: relative;
    z-index: 55;
    width: clamp(180px, 34vw, 250px);
  }

  .site-header__menu {
    position: relative;
    z-index: 55;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2e900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
  }

  .site-header__menu::before {
    content: "MENU";
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    font-family: var(--font-en);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    color: #111;
  }

  .site-header__menu span {
    position: absolute;
    left: 15px;
    width: 24px;
    height: 2px;
    background: #111;
    border-radius: 999px;
    transition: top .25s ease, transform .25s ease, opacity .25s ease;
  }

  .site-header__menu span:nth-child(1) { top: 16px; }
  .site-header__menu span:nth-child(2) { top: 23px; }
  .site-header__menu span:nth-child(3) { top: 30px; }

  .is-menu-open .site-header__menu::before {
    content: "CLOSE";
  }

  .is-menu-open .site-header__menu span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
  }

  .is-menu-open .site-header__menu span:nth-child(2) {
    opacity: 0;
  }

  .is-menu-open .site-header__menu span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
  }

  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    height: 100svh;
    padding: 110px 28px 48px;
    background:
      radial-gradient(circle at right 14% top 12%, rgba(82, 195, 241, .22), transparent 34%),
      radial-gradient(circle at left 12% bottom 16%, rgba(239, 91, 97, .18), transparent 30%),
      #fff;
    font-size: clamp(22px, 6vw, 34px);
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity .35s ease, visibility .35s ease, transform .45s cubic-bezier(.22,1,.36,1);
  }

  .is-menu-open .site-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .site-header__nav-link {
    position: relative;
    display: block;
    padding: 17px 10px 17px 48px;
    border-bottom: 1px dashed rgba(17, 17, 17, .18);
    font-family: var(--font-title);
    line-height: 1.25;
    transform: translateX(26px);
    opacity: 0;
    transition: opacity .36s ease, transform .36s ease;
  }

  .is-menu-open .site-header__nav-link {
    transform: translateX(0);
    opacity: 1;
  }

  .is-menu-open .site-header__nav-link:nth-child(1) { transition-delay: .08s; }
  .is-menu-open .site-header__nav-link:nth-child(2) { transition-delay: .13s; }
  .is-menu-open .site-header__nav-link:nth-child(3) { transition-delay: .18s; }
  .is-menu-open .site-header__nav-link:nth-child(4) { transition-delay: .23s; }
  .is-menu-open .site-header__nav-link:nth-child(5) { transition-delay: .28s; }
  .is-menu-open .site-header__nav-link:nth-child(6) { transition-delay: .33s; }

  .site-header__nav-link::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
    background: url("../images/foot-icon.webp") center / contain no-repeat;
  }

  .site-header__nav-link::after {
    display: none;
  }

  .fixed-contact {
    display: block;
    width: clamp(110px, 13vw, 150px);
    right: clamp(12px, 2.8vw, 22px);
    bottom: clamp(12px, 2.8vw, 22px);
  }

  .fv {
    padding-top: 72px;
  }

  .fv__visual img {
    width: calc(100% - 24px);
  }

  .approaches {
    margin-inline: 12px;
  }

  .approaches__lead {
    font-size: clamp(20px, 3.4vw, 27px);
  }

  .approaches__text {
    font-size: clamp(15px, 1.8vw, 17px);
  }

  .program {
    padding-bottom: clamp(120px, 18vw, 210px);
  }

  .program__panel {
    padding: 46px 30px 46px;
  }

  .program__content {
    grid-template-columns: 1fr;
  }

  .program__photo {
    order: 2;
  }

  .program-keyword {
    gap: 18px;
  }

  .program-keyword li {
    width: calc(50% - 10px);
    max-width: 180px;
  }

  .office-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .office-card > img {
    height: auto;
    aspect-ratio: 640 / 360;
    object-fit: cover;
  }

  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-box__title {
    justify-self: center;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    justify-self: center;
    right: 0;
  }
}

@media (max-width:1000px) {
  .contact {
    padding: 82px 0 74px;
    background-size: auto 150px;
    background-position: top center;
  }

  .contact-form {
    margin-top: 32px;
    padding: 34px 18px 42px;
    border-radius: 12px;
  }

  .contact__lead {
    margin-bottom: 26px;
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px 0;
  }

  .form-head {
    grid-template-columns: max-content max-content;
    justify-content: start;
  }

  .form-label {
    font-size: 15px;
  }

  .form-field--inline {
    gap: 13px 18px;
  }

  .form-input,
  .form-select {
    height: 48px;
  }

  .form-privacy {
    margin-top: 28px;
    padding: 22px 14px;
  }

  .form-privacy p {
    font-size: 13px;
  }

  .radio,
  .checkbox {
    font-size: 15px;
  }

  .submit-button {
    font-size: 15px;
  }

  .confirm-modal__panel {
    padding: 28px 18px;
  }

  .confirm-list > div {
    grid-template-columns: 1fr;
  }
  
  main{
    width: 100vw;
    overflow: hidden;
  }
 
}

/* ---------- 768px以下：スマホ ---------- */
@media (max-width:768px) {
  .l-container {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    height: 64px;
  }

  .site-header__inner {
    height: 64px;
  }

  .site-header__logo {
    width: 176px;
  }

  .site-header__menu {
    width: 50px;
    height: 50px;
  }

  .site-header__menu span {
    left: 14px;
    width: 22px;
  }

  .site-header__nav {
    padding: 94px 24px 42px;
  }

  .fv {
    min-height: auto;
    padding-top: 64px;
  }

  .fv__visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
  }

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

  .fv__brand {
    right: 12px;
    top: 78px;
    width: min(270px, 62vw);
  }

  .fv__catch {
    top: auto;
    bottom: 24px;
    width: 86vw;
  }

  .section-heading__obj {
    width: 42px;
    margin-bottom: 8px;
  }

  .section-heading__en {
    font-size: 13px;
  }

  .section-heading__ja {
    font-size: 34px;
    line-height: 1.25;
  }

  .approaches {
    margin: 28px 12px 150px;
    padding: 62px 0 50px;    
    border-radius: 12px;
  }

  .approaches__decor--left {
    left: -150px;
    top: 330px;
    width: 300px;
  }

  .approaches__decor--right {
    right: -88px;
    top: 94px;
    width: 190px;
  }

  .approaches__body {
    margin-top: 34px;
  }

  .approaches__lead {
    font-size: 17px;
    line-height: 2.05;
  }

  .approaches__sublead {
    font-size: 14px;
  }

  .approaches__text {
    font-size: 15px;
    line-height: 2;
    text-align: left;
  }

  .approaches__logo-img {
    width: 245px;
    margin-top: 36px;
  }

  .therapy > .section-heading {
    padding-top: 70px;
    margin-bottom: -12px;
  }

  .program {
    padding: 92px 0 72px;
    background-size: auto 220px;
    background-position: top center;
  }

  .program-bg {
    top: -18vw;
  }

  .program__panel {
    padding: 34px 18px 36px;
    border-radius: 12px;
  }

  .program__label {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .program__logo {
    max-width: 280px;
    margin-bottom: 32px;
  }

  .program__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .program__photo {
    order: 0;
  }

  .program__concept-en {
    font-size: 13px;
  }

  .program__concept-title {
    font-size: 24px;
    line-height: 1.8;
  }

  .program__text {
    font-size: 15px;
    line-height: 2;
  }

  .program__thought {
    margin-top: 30px;
    padding: 26px 14px;
  }

  .program__thought-title {
    font-size: 16px;
  }

  .program-keyword {
    gap: 15px 20px;
  }

  .program-keyword li {
    width: 130px;
    border-width: 5px;
    font-size: 11px;
  }

  .program-keyword span {
    font-size: 22px;
  }

  .program__thought-text {
    font-size: 13px;
    text-align: left;
  }

  .program-list {
    margin-top: 48px;
  }

  .program-list__heading {
    font-size: 24px;
  }

  .program-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }

  .program-card {
    min-height: 190px;
    padding: 34px 12px 20px;
  }

  .program-card__num {
    width: 42px;
    height: 28px;
    font-size: 15px;
  }

  .program-card img {
    width: 56px;
  }

  .program-card h4 {
    font-size: 17px;
  }

  .program-card p {
    font-size: 13px;
  }

  .program-gallery {
    padding: 50px 0 64px;
  }

  .program-gallery__track img {
    width: 150px;
    height: 196px;
  }

  .office {
    margin: 0 12px;
    padding: 66px 0;
    border-radius: 12px;
  }

  .office-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 36px;
  }

  .office-card {
    padding: 20px 18px;
  }

  .office-card > img {
    height: 190px;
  }

  .office-card__logo {
    width: 58px;
  }

  .office-card h3 {
    font-size: 20px;
  }

  .office-card__address {
    font-size: 13px;
  }

  .office-card__contact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow {
    padding: 68px 0;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 38px;
  }

  .flow-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0 18px;
    text-align: left;
  }

  .flow-card::after {
    display: none;
  }

  .flow-card img {
    grid-row: 1/4;
    height: 96px;
  }

  .flow-card__num {
    width: 40px;
    height: 28px;
    margin: 0 0 6px;
    border-radius: 999px;
    font-size: 13px;
  }

  .flow-card h3 {
    font-size: 17px;
  }

  .flow-card p {
    font-size: 13px;
  }

  .download-box {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 18px;
    text-align: center;
  }

  .download-box__title {
    justify-self: center;
    font-size: 20px;
  }

  .download-box__buttons {
    display: grid;
    gap: 12px;
  }

  .download-btn {
    min-width: 0;
    width: 100%;
    font-size: 14px;
    padding-inline: 20px;
  }

  .cta {
    padding: 30px 12px 70px;
  }

  .cta__bg {
    height: 190px;
    border-radius: 12px;
  }

  .cta__inner {
    margin-top: -50px;
    padding: 34px 18px;
  }

  .cta__title {
    font-size: 28px;
  }

  .cta__text {
    font-size: 14px;
  }

  .cta__actions {
    gap: 12px;
  }

  .cta__button, .cta__tel {
    width: 100%;
    min-width: 0;
    font-size: 15px;
  }

  .cta__tel {
    font-size: 20px;
  }

  .company {
    padding: 64px 0 72px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    text-align: left;
  }

  .company-table th {
    padding-bottom: 0;
    background: #f5f5f5;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .site-footer__logo img {
    width: 150px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    font-size: 13px;
    display: inline-grid;
  }

  .footer-nav-wrap{
    text-align: center;
  }
  
  .footer-nav a::before {
    left: -30px;
    width: 20px;
    height: 20px;
  }

  .to-top {
    margin-inline: auto;
  }
}

.sp{
  display: none;
}
/* ---------- 768px以下：スマホ ---------- */
@media (max-width:768px) {
  body {
    font-size: 14px;
    line-height: 1.85;
  }
  
  .fv__brand{
    padding: 20px;
    left: 50%;
    top: 193px;
    transform: translateX(-50%) !important;
    z-index: 1;
    border-radius: 20px;
    width: 87%;
  }

  .l-container {
    width: calc(100% - 28px);
  }

  .fixed-contact {
    display: block;
    width: clamp(110px, 24vw, 112px);
    right: 10px;
    bottom: 10px;
  }

  .section-heading__ja {
    font-size: clamp(30px, 9vw, 34px);
  }

  .approaches__text br,
  .program__concept-title br {
    display: none;
  }

  .program-card-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 0;
  }

  .program-keyword {
    justify-content: center;
  }

  .flow-card {
    grid-template-columns: 108px 1fr;
    gap: 0 14px;
    padding-top: 35px;
  }

  .flow-card h3 {
    margin-top: 0;
  }
  
  .flow-card img {
    height: 84px;
  }

  .footer-nav {
      width: max-content;
      max-width: 100%;
      grid-template-columns: 1fr;
      text-align: left;
      margin: 80px auto;
      font-size: 16px;
  }
  
  .approaches__decor--left {
      width: 170px;
      top: initial;
      left: -20px;
      bottom: -220px;
  }
  
    section[id] {
    scroll-margin-top: 40px;
  }
  
  .approaches__decor--right {
      right: -18px;
      top: -76px;
      width: 130px;
    }
  
.form-select-wrap {
    width: 100%;
}
  
.submit-button {
    min-width: 100%;
  }
  

  
  .program-bg {
    width: 150%;
  }
  
  .program {
    margin-top: 0;
  }
  
  .section-heading__ja img{
    width: 32px;
  }
  
  .program__label img{
    width: 8px;
  }
  
    .program-keyword li:not(:last-child)::after {
        right: -33%;
    }
  
      .program-card__num {
        top: -10px;
    }
  
    .program-card {
        padding: 34px;
    }
  
.program-b-bg, .program-last, .contact-bg {
    position: absolute;
    bottom: -15vw;
    width: 150%;
}
  
.office-card__info {
    display: block;
}
  
.download-box__title:after {
    display: none;
  }
  
  .download-box__buttons {
        display: grid;
        gap: 12px;
        grid-template-columns: 1fr;
    }
  
  .download-btn {
        min-width: 100%;
        width: 100%;
        font-size: 12px;
        padding-inline: 20px;
        max-width: 100%;
        display: block;
        padding-right: 70px;
    }
  
.site-footer__logo img {
        width: 270px;
    }
  
  .site-header__nav span.sp.pt01{
    font-size: 16px;
    font-family: var(--font-ja);
    color:#999999;
    display: inline-block;
  } 

  
.program-keyword li:not(:last-child):after {
  display: none;
  }
  
  .sp{
    display: block;
  }
  
  .pc{
    display: none;
  }
}

@media (max-width:480px) {
  .fixed-contact {
    width: clamp(110px, 22vw, 92px);
    right: 8px;
    bottom: 8px;
  }
}

/* =========================================================
   Thanks Page Responsive
========================================================= */
@media (max-width:960px) {
  .thanks-page .thanks-header__inner {
    height: 72px;
  }
  .thanks-page .thanks-header__logo {
    width: clamp(210px, 42vw, 300px);
  }
  .thanks-main {
    min-height: 100svh;
    padding: 128px 16px 70px;
  }
  .thanks-card {
    padding: 54px 34px 58px;
    border-radius: 18px;
  }
  .thanks-card::before {
    left: 20px;
    top: 20px;
    width: 54px;
    height: 54px;
  }
  .thanks-card::after {
    right: 18px;
    bottom: 18px;
    width: 66px;
    height: 66px;
  }
  .thanks-card__en {
    font-size: 16px;
  }
  .thanks-card__title {
    font-size: clamp(34px, 7vw, 46px);
  }
  .thanks-card__lead {
    font-size: clamp(18px, 3.4vw, 22px);
  }
  .thanks-card__text {
    font-size: 15px;
  }
}
@media (max-width:768px) {
  .thanks-page .thanks-header__inner {
    height: 64px;
  }
  .thanks-page .thanks-header__logo {
    width: 210px;
  }
  .thanks-main {
    padding: 104px 14px 52px;
  }
  .thanks-bg {
    width: 150vw;
    height: 72vw;
    opacity: .5;
  }
  .thanks-main::before {
    right: -90px;
    top: 104px;
    width: 180px;
    height: 180px;
  }
  .thanks-main::after {
    left: -86px;
    bottom: 44px;
    width: 170px;
    height: 170px;
  }
  .thanks-card {
    padding: 44px 18px 48px;
    border-width: 2px;
    border-radius: 16px;
  }
  .thanks-card::before {
    width: 42px;
    height: 42px;
  }
  .thanks-card::after {
    width: 48px;
    height: 48px;
  }
  .thanks-card__en {
    margin-bottom: 12px;
    font-size: 13px;
  }
  .thanks-card__title {
    font-size: 32px;
    line-height: 1.42;
  }
  .thanks-card__lead {
    margin-top: 24px;
    font-size: 17px;
  }
  .thanks-card__text {
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }
  .thanks-card__actions {
    margin-top: 32px;
  }
  .thanks-card__button {
    min-width: min(280px, 100%);
    height: 64px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
    .fv__catch {
        top: 50%;
    }
}

@media (max-width:1600px) and (min-width: 1000px){
  .fv__visual img,
  .site-header__inner{
    width: calc(100% - 100px);
  }
  
  .approaches {
    margin: 60px 50px 0;
  }
  
  .approaches__decor--right {
    right: -58px;
  }
  
  .l-container {
    width: min(1332px, calc(100% - 100px));
  }
  
  .site-footer {
    width: calc(100% - 100px);
  }
  
}