:root {
    --advisor-teal: #58a29e;
    --advisor-green: #79b153;
    --advisor-pale: #f5f8f5;
    --advisor-ink: #4f5957;
    --advisor-yellow: #f7e5a1;
}

.advisorPage,
.advisorPage * { box-sizing: border-box; }

.advisorPage {
    width: 100%;
    overflow: hidden;
    padding-top: 0;
    background: #fff;
    color: var(--advisor-ink);
    font-family: "fot-tsukuardgothic-std", "Noto Sans JP", sans-serif;
}

/* SWELL's LP wrapper reserves the header height on #main_content. The
   reference hero starts at the viewport top and sits behind the header. */
#main_content.advisorPage { padding-top: 0 !important; }

.advisorPage svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advisorHero {
    position: relative;
    width: 100%;
    height: clamp(690px, 46vw, 885px);
}

.advisorHero__inner {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 42.3% 57.7%;
}

.advisorHero__copy {
    position: relative;
    z-index: 2;
    padding: clamp(180px, 13.2vw, 254px) 3vw 40px 10vw;
}

.advisorHero__eyebrow {
    margin: 0 0 clamp(30px, 2.8vw, 54px);
    color: #303936;
    font-size: clamp(13px, 1vw, 19px);
    font-weight: 700;
    letter-spacing: .18em;
}

.advisorHero h1 {
    margin: 0;
    color: var(--advisor-teal);
    font-size: clamp(40px, 3.35vw, 64px);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: .085em;
}

.advisorHero h1 span { display: block; white-space: nowrap; }

.advisorHero__copy > p:not(.advisorHero__eyebrow) {
    margin: clamp(30px, 3vw, 58px) 0 clamp(28px, 2.6vw, 50px);
    color: #555d5b;
    font-size: clamp(13px, .92vw, 17px);
    font-weight: 500;
    line-height: 1.95;
    letter-spacing: .08em;
}

.advisorHero__visual {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    clip-path: ellipse(100% 150% at 100% 0%);
}

.advisorHero__visual::after {
    content: "";
    position: absolute;
    right: -4%;
    bottom: -5.5%;
    width: 67%;
    height: 10%;
    border-radius: 52% 0 0 0 / 100% 0 0 0;
    background: #fff;
    transform: rotate(-1.5deg);
}

.advisorHero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 53% center;
}

.advisorButton {
    width: clamp(300px, 24.5vw, 470px);
    min-height: clamp(62px, 4.8vw, 92px);
    padding: 8px 12px 8px clamp(30px, 3.2vw, 62px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    background: var(--advisor-green);
    color: #fff !important;
    font-size: clamp(16px, 1.35vw, 25px);
    font-weight: 700;
    letter-spacing: .16em;
    text-decoration: none !important;
    box-shadow: 0 7px 20px rgba(83, 128, 54, .1);
    transition: transform .2s ease, background-color .2s ease;
}

.advisorButton i {
    width: clamp(44px, 3.6vw, 68px);
    height: clamp(44px, 3.6vw, 68px);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    color: var(--advisor-green);
    font-size: clamp(22px, 1.8vw, 34px);
    font-style: normal;
}

.advisorButton:hover { transform: translateY(-2px); background: #6ca549; }

.advisorDots {
    position: absolute;
    z-index: 1;
    width: clamp(150px, 17vw, 326px);
    height: clamp(155px, 16vw, 307px);
    opacity: .62;
    background-size: 24px 24px;
}

.advisorDots--blue {
    left: 5vw;
    bottom: -12vw;
    background-image: radial-gradient(#91d5df 3.6px, transparent 4px);
}

.advisorDots--yellow {
    right: 1.5vw;
    bottom: -11vw;
    background-image: radial-gradient(#eac84d 3.8px, transparent 4.2px);
}

.advisorProfile {
    position: relative;
    width: 100%;
    min-height: clamp(860px, 52vw, 1000px);
    padding: clamp(95px, 5.5vw, 106px) 0 clamp(145px, 12vw, 230px);
}

.advisorProfile::after {
    content: "";
    position: absolute;
    right: -5vw;
    bottom: 2vw;
    width: clamp(170px, 17vw, 330px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #faefc5;
    opacity: .85;
}

.advisorProfile__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 23.2% 51%;
    gap: 4%;
    align-items: start;
    padding-left: 17%;
}

.advisorProfile__portrait {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(20px, 2vw, 38px);
    background: #edf4ef;
}

.advisorProfile__portrait img {
    width: 100%;
    aspect-ratio: .96;
    display: block;
    object-fit: cover;
    object-position: center 20%;
}

.advisorProfile__content { min-width: 0; }

.advisorProfile__hello {
    margin: 2vw 0 1.5vw !important;
    color: var(--advisor-teal);
    font-size: clamp(23px, 2vw, 38px) !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
}

.advisorProfile__content > p {
    margin: 0 0 1.15vw;
    font-size: clamp(13px, .87vw, 17px);
    font-weight: 500;
    line-height: 2;
    letter-spacing: .055em;
}

.advisorProfile__bio { margin-top: clamp(30px, 3vw, 58px); }
.advisorProfile__role { margin: 0 0 8px !important; color: #4c5553; font-size: clamp(11px, .72vw, 14px) !important; font-weight: 700 !important; }
.advisorProfile__bio h2 { margin: 0 0 1.3vw; color: #424b49; font-size: clamp(22px, 1.55vw, 30px); font-weight: 700; letter-spacing: .1em; }
.advisorProfile__bio h2 small { font-size: .55em; }
.advisorProfile__bio > p:last-child { margin: 0; font-size: clamp(11px, .75vw, 14px); line-height: 1.9; letter-spacing: .035em; }

.advisorProfile__scene {
    position: absolute;
    width: 34%;
    left: -3.5%;
    bottom: 1%;
    margin: 0;
    overflow: hidden;
    border-radius: 0 49% 48% 0 / 0 54% 46% 0;
}

.advisorProfile__scene img {
    width: 100%;
    aspect-ratio: 1.25;
    display: block;
    object-fit: cover;
    object-position: center;
}

.advisorSectionTitle { width: 100%; padding: 0 4vw; text-align: center; }
.advisorSectionTitle > p { margin: 0 0 .7vw; color: var(--advisor-teal); font-size: clamp(14px, 1.25vw, 24px); font-weight: 700; letter-spacing: .17em; }
.advisorSectionTitle h2 { margin: 0; color: var(--advisor-teal); font-size: clamp(31px, 3vw, 58px); font-weight: 700; line-height: 1.45; letter-spacing: .095em; }
.advisorSectionTitle h2 strong { color: var(--advisor-green); font-size: 1.55em; line-height: .8; }
.advisorSectionTitle > span { display: block; margin-top: .8vw; color: #69726f; font-size: clamp(10px, .72vw, 14px); letter-spacing: .07em; }

.advisorConcerns {
    position: relative;
    width: 100%;
    height: clamp(700px, 43vw, 825px);
    padding-top: clamp(88px, 6.2vw, 120px);
    overflow: hidden;
    background: var(--advisor-pale);
}

.advisorConcerns::before {
    content: "";
    position: absolute;
    left: -3vw;
    top: -4vw;
    width: 13vw;
    height: 12vw;
    opacity: .4;
    background-image: radial-gradient(#91cdbb 3px, transparent 3.5px);
    background-size: 20px 20px;
    transform: rotate(-12deg);
}

.advisorConcerns__viewport { width: 100%; overflow: hidden; padding-top: clamp(45px, 4vw, 78px); }

.advisorConcerns__track {
    width: max-content;
    display: flex;
    will-change: transform;
    animation: advisor-concerns-marquee 34s linear infinite;
}

.advisorConcerns__group {
    display: flex;
    gap: clamp(26px, 2.6vw, 50px);
    padding-right: clamp(26px, 2.6vw, 50px);
}

.advisorConcernCard {
    width: clamp(245px, 15.3vw, 294px);
    height: clamp(300px, 18vw, 346px);
    flex: 0 0 auto;
    padding: clamp(27px, 2.2vw, 42px);
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto 1fr;
    gap: 28px 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(73, 96, 88, .045);
}

.advisorConcernCard:nth-child(even) { transform: translateY(clamp(34px, 3.3vw, 64px)); }
.advisorConcernCard > span { grid-column: 1 / -1; color: var(--advisor-teal); font-size: clamp(18px, 1.35vw, 26px); font-weight: 700; }
.advisorConcernCard > i { width: 62px; height: 62px; padding: 12px; display: block; align-self: start; border-radius: 50%; background: #f4f6f3; color: var(--advisor-teal); font-style: normal; }
.advisorConcernCard > p { margin: 0; color: var(--advisor-teal); font-size: clamp(12px, .78vw, 15px); font-weight: 700; line-height: 2; letter-spacing: .045em; }

@keyframes advisor-concerns-marquee { to { transform: translateX(-50%); } }

.advisorSteps {
    position: relative;
    width: 100%;
    padding: clamp(120px, 8.5vw, 165px) 3.5vw clamp(125px, 9vw, 175px);
    background: #fff;
}

.advisorSteps .advisorSectionTitle { margin-bottom: clamp(105px, 8vw, 154px); }
.advisorSteps__list { position: relative; width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.3vw; list-style: none; }
.advisorSteps__list::before { content: ""; position: absolute; left: 7%; right: 7%; top: -48px; border-top: 3px dotted #8abb62; }

.advisorStep {
    position: relative;
    min-width: 0;
    padding: clamp(50px, 4vw, 76px) .8vw clamp(26px, 2vw, 38px);
    border: 1px solid #e5e9e4;
    border-radius: 14px;
    text-align: center;
    background: #fff;
    box-shadow: 0 8px 24px rgba(55, 81, 71, .05);
}

.advisorStep:not(:last-child)::after { content: "›"; position: absolute; top: 58%; right: -1.9vw; z-index: 3; color: var(--advisor-green); font-size: clamp(28px, 2.5vw, 48px); font-weight: 500; transform: translate(50%, -50%); }
.advisorStep__badge { position: absolute; top: -81px; left: 50%; width: clamp(78px, 6vw, 115px); aspect-ratio: 1; display: grid; place-content: center; border-radius: 50%; background: var(--advisor-green); color: #fff; font-size: clamp(19px, 1.45vw, 28px); font-weight: 700; line-height: 1; transform: translateX(-50%); }
.advisorStep__badge small { margin-bottom: 5px; display: block; font-size: .48em; letter-spacing: .08em; }
.advisorStep h3 { min-height: 3.1em; margin: 0 0 1vw; color: #639a48; font-size: clamp(15px, 1.17vw, 22px); font-weight: 700; line-height: 1.55; }
.advisorStep__icon { width: clamp(48px, 3.7vw, 70px); height: clamp(48px, 3.7vw, 70px); margin: 0 auto 1.1vw; display: block; color: var(--advisor-green); }
.advisorStep figure { width: 100%; margin: 0 0 1vw; overflow: hidden; border-radius: 9px; aspect-ratio: 1.47; }
.advisorStep figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.advisorStep > p { margin: 0; color: #414a47; font-size: clamp(10px, .72vw, 14px); font-weight: 600; line-height: 1.7; }

.advisorBenefits { position: relative; width: 100%; padding: clamp(70px, 5vw, 96px) 3.2vw clamp(120px, 8vw, 154px); background: linear-gradient(180deg, #fff, #fbfcfa); }
.advisorBenefits .advisorSectionTitle { margin-bottom: clamp(68px, 5vw, 96px); }
.advisorBenefits__grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.9vw; }
.advisorBenefitCard { min-height: clamp(380px, 25vw, 480px); padding: clamp(27px, 2.2vw, 42px) clamp(22px, 1.8vw, 35px); border-radius: 20px; background: #fff; box-shadow: 0 8px 32px rgba(67, 89, 81, .075); }
.advisorBenefitCard > i { width: clamp(74px, 6vw, 115px); aspect-ratio: 1; padding: 18px; display: inline-block; vertical-align: middle; border-radius: 50%; background: #f0f6e7; color: var(--advisor-green); font-style: normal; }
.advisorBenefitCard > span { margin-left: 1vw; display: inline-block; vertical-align: middle; color: var(--advisor-green); font-size: clamp(28px, 2.25vw, 43px); font-weight: 700; border-bottom: 2px solid currentColor; }
.advisorBenefitCard h3 { margin: 2.2vw 0 1.5vw; color: #313936; font-size: clamp(17px, 1.3vw, 25px); font-weight: 700; line-height: 1.55; }
.advisorBenefitCard p { margin: 0; color: #4f5855; font-size: clamp(11px, .78vw, 15px); font-weight: 500; line-height: 1.9; }

.advisorFaq {
    position: relative;
    width: 100%;
    min-height: clamp(680px, 43vw, 825px);
    padding: clamp(90px, 7vw, 135px) 3.5vw clamp(100px, 7vw, 135px);
    display: grid;
    grid-template-columns: 23% 1fr;
    gap: 3%;
    overflow: hidden;
    border-radius: 55px 0 0 0;
    background: linear-gradient(100deg, #f5f8ef 0%, #f7f9f5 58%, #fff 100%);
}

.advisorFaq::before { content: ""; position: absolute; left: -3%; bottom: 7%; width: 24%; height: 37%; border-radius: 45% 55% 48% 52%; background: rgba(199, 222, 180, .34); transform: rotate(12deg); }
.advisorFaq__heading { position: relative; z-index: 1; padding-left: 1vw; }
.advisorFaq__heading > span { width: clamp(105px, 8vw, 154px); height: clamp(52px, 4vw, 77px); display: grid; place-items: center; border-radius: 999px; background: #81b955; color: #fff; font-size: clamp(18px, 1.45vw, 28px); font-weight: 700; }
.advisorFaq__heading h2 { margin: 1.2vw 0 0; color: #76a84f; font-size: clamp(31px, 2.6vw, 50px); font-weight: 700; letter-spacing: .08em; }
.advisorFaq__list { position: relative; z-index: 1; min-width: 0; margin: 0; }

.advisorFaqItem {
    min-height: clamp(80px, 5.3vw, 102px);
    margin-bottom: clamp(14px, 1vw, 19px);
    padding: 12px 2vw;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    border: 1px solid #cdd2cc;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(75, 94, 86, .08);
}

.advisorFaqItem dt { min-width: 0; margin: 0; padding-right: 1.8vw; display: grid; grid-template-columns: clamp(42px, 3.2vw, 61px) 1fr; align-items: center; gap: 1.2vw; }
.advisorFaqItem dt i { width: clamp(42px, 3.2vw, 61px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #eef4e4; color: #77aa50; font-size: clamp(18px, 1.4vw, 27px); font-style: normal; font-weight: 700; }
.advisorFaqItem dt span { font-size: clamp(12px, .9vw, 17px); font-weight: 600; line-height: 1.55; }
.advisorFaqItem dd { min-width: 0; margin: 0; padding: .5vw 0 .5vw 3vw; border-left: 2px solid var(--advisor-green); color: #77a84f; font-size: clamp(13px, 1vw, 19px); font-weight: 700; line-height: 1.55; }

@media (width <= 1180px) {
    .advisorHero__inner { grid-template-columns: 46% 54%; }
    .advisorHero__copy { padding-left: 6vw; }
    .advisorProfile__inner { grid-template-columns: 24% 61%; padding-left: 10%; }
    .advisorProfile__scene { width: 31%; }
    .advisorConcernCard { grid-template-columns: 60px 1fr; }
    .advisorSteps { padding-left: 2vw; padding-right: 2vw; }
    .advisorSteps__list { gap: 1.7vw; }
    .advisorStep { padding-left: .6vw; padding-right: .6vw; }
    .advisorBenefits { padding-left: 2vw; padding-right: 2vw; }
    .advisorBenefits__grid { gap: 1.3vw; }
}

@media (width <= 767px) {
    #main_content.advisorPage { padding-top: 70px !important; }
    .advisorHero { height: auto; padding-bottom: 0; }
    .advisorHero__inner { display: flex; flex-direction: column; }
    .advisorHero__copy { width: 100%; padding: 48px 23px 35px; }
    .advisorHero__eyebrow { margin-bottom: 22px; font-size: 12px; }
    .advisorHero h1 { font-size: clamp(31px, 9.4vw, 37px); line-height: 1.45; letter-spacing: .04em; }
    .advisorHero__copy > p:not(.advisorHero__eyebrow) { margin: 27px 0; font-size: 12px; }
    .advisorButton { width: 285px; min-height: 59px; padding-left: 30px; font-size: 15px; }
    .advisorButton i { width: 43px; height: 43px; }
    .advisorHero__visual { width: 100%; height: 335px; border-radius: 43% 0 0 0 / 27% 0 0 0; clip-path: none; }
    .advisorHero__visual::after { display: none; }
    .advisorDots { width: 120px; height: 120px; background-size: 14px 14px; }
    .advisorDots--blue { left: -12px; bottom: 250px; }
    .advisorDots--yellow { right: -25px; bottom: -55px; }

    .advisorProfile { min-height: 0; padding: 105px 22px 280px; }
    .advisorProfile::after { right: -80px; bottom: 140px; width: 180px; }
    .advisorProfile__inner { display: block; padding: 0; }
    .advisorProfile__portrait { width: 48%; margin: 0 auto 34px; border-radius: 20px; }
    .advisorProfile__hello { margin: 0 0 22px !important; font-size: 23px !important; }
    .advisorProfile__content > p { margin-bottom: 15px; font-size: 12px; line-height: 1.9; }
    .advisorProfile__bio { margin-top: 34px; }
    .advisorProfile__bio h2 { margin-bottom: 18px; font-size: 22px; }
    .advisorProfile__bio > p:last-child { font-size: 11px; }
    .advisorProfile__scene { width: 72%; left: -12%; bottom: 16px; }

    .advisorSectionTitle { padding: 0 18px; }
    .advisorSectionTitle > p { margin-bottom: 8px; font-size: 13px; }
    .advisorSectionTitle h2 { font-size: 27px; line-height: 1.55; letter-spacing: .045em; }
    .advisorSectionTitle > span { margin-top: 11px; font-size: 10px; }

    .advisorConcerns { height: 660px; padding-top: 75px; }
    .advisorConcerns::before { width: 130px; height: 130px; background-size: 15px 15px; }
    .advisorConcerns__viewport { padding-top: 44px; }
    .advisorConcerns__track { animation-duration: 28s; }
    .advisorConcerns__group { gap: 18px; padding-right: 18px; }
    .advisorConcernCard { width: 225px; height: 280px; padding: 25px 20px; grid-template-columns: 53px 1fr; gap: 24px 14px; border-radius: 18px; }
    .advisorConcernCard:nth-child(even) { transform: translateY(38px); }
    .advisorConcernCard > span { font-size: 18px; }
    .advisorConcernCard > i { width: 50px; height: 50px; padding: 10px; }
    .advisorConcernCard > p { font-size: 11px; line-height: 1.85; }

    .advisorSteps { padding: 90px 20px 100px; }
    .advisorSteps .advisorSectionTitle { margin-bottom: 90px; padding: 0; }
    .advisorSteps .advisorSectionTitle h2 { font-size: 27px; word-break: keep-all; }
    .advisorSteps__list { display: flex; flex-direction: column; gap: 78px; }
    .advisorSteps__list::before { top: 0; bottom: 0; left: 29px; right: auto; border-top: 0; border-left: 3px dotted #8abb62; }
    .advisorStep { width: calc(100% - 30px); margin-left: 30px; padding: 48px 18px 26px; }
    .advisorStep:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -62px; font-size: 28px; transform: translateX(50%); }
    .advisorStep__badge { top: -54px; left: 0; width: 78px; font-size: 19px; }
    .advisorStep h3 { min-height: 0; margin-bottom: 13px; font-size: 18px; }
    .advisorStep__icon { width: 58px; height: 58px; margin-bottom: 14px; }
    .advisorStep figure { margin-bottom: 15px; }
    .advisorStep > p { font-size: 12px; }

    .advisorBenefits { padding: 75px 18px 100px; }
    .advisorBenefits .advisorSectionTitle { margin-bottom: 46px; padding: 0; }
    .advisorBenefits__grid { grid-template-columns: 1fr; gap: 17px; }
    .advisorBenefitCard { min-height: 0; padding: 25px 22px 28px; }
    .advisorBenefitCard > i { width: 74px; padding: 13px; }
    .advisorBenefitCard > span { margin-left: 14px; font-size: 29px; }
    .advisorBenefitCard h3 { margin: 24px 0 13px; font-size: 18px; }
    .advisorBenefitCard p { font-size: 12px; }

    .advisorFaq { min-height: 0; padding: 65px 16px 82px; display: block; border-radius: 35px 0 0 0; }
    .advisorFaq::before { width: 190px; height: 170px; }
    .advisorFaq__heading { padding: 0 7px 35px; }
    .advisorFaq__heading > span { width: 88px; height: 46px; font-size: 17px; }
    .advisorFaq__heading h2 { margin-top: 12px; font-size: 31px; }
    .advisorFaq__list { margin: 0; }
    .advisorFaqItem { min-height: 0; padding: 16px; display: block; border-radius: 16px; }
    .advisorFaqItem dt { padding: 0 0 13px; grid-template-columns: 42px 1fr; gap: 12px; }
    .advisorFaqItem dt i { width: 42px; }
    .advisorFaqItem dt span { font-size: 12px; }
    .advisorFaqItem dd { padding: 13px 0 0 54px; border-top: 1px solid var(--advisor-green); border-left: 0; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .advisorConcerns__track { animation-play-state: paused; }
    .advisorButton { transition: none; }
}
