/* --- Modern Normalize CDNはindex.html側で読み込み --- */

:root {
    /* Base Colors */
    --color-white: #FFFFFF;
    --color-text: #051D2C;
    --color-main: #0B2B50;
    --color-blue: #3C74B4;
    /* Typography */
    --font-base: "Noto Sans JP", sans-serif;
    --font-serif: "Shippori Mincho", serif;
    --font-eng: "Source Serif 4", serif;
}
.pc-hide {
    display: none;
}
@media (max-width: 960px) {
    .sp-hide {
        display: none;
    }
    .pc-hide {
        display: block;
    }
}
/* --- custom minimal reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    padding-left: 1.2em;
}

a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 960px) {
    body {
        font-size: 14px;
    }
}
/* --- bg_beige/bg_blue --- */
.bg-beige {
    background-color: #F4F2EE;
    position: relative;
    z-index: 0;
}

.bg-beige::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/bg_beige.jpg") repeat;
    opacity: 0.2;
    z-index: -1;
}

.bg-blue {
    background-color: #C3CBD4;
    position: relative;
    z-index: 0;
}

.bg-blue::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/bg_beige.jpg") repeat;
    opacity: 0.2;
    z-index: -1;
}

/* --- Layout --- */
.inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

hgroup {
    text-align: center;
}

hgroup h2 {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin: 0;
}

hgroup p {
    font-family: var(--font-eng);
    font-size: 1.9rem;
    margin: 0;
}
@media (max-width: 960px) {
    hgroup h2 {
        font-size: 2rem;
    }
    hgroup p {
        font-size: 1.5rem;
    }
}
/* --- Header --- */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: transform 0.25s ease;
    background: #F4F2EE;
}

.header.hide {
    transform: translateY(-100%);
}

.header .header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.logo {
    padding: 0;
    margin: 0;
}

.logo img {
    max-height: 72px;
    height: 100%;
}

.tel-btn,
.line-btn {
    position: relative;
    width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 40px;
    border-radius: 4px;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    transition: all linear 0.2s;
}

.tel-btn::before,
.line-btn::before {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    left: 52px;
    top: 50%;
    transform: translateY(-50%);
}

.tel-btn {
    border: 2px solid var(--color-blue);
    background: #3C74B4;
    color: #fff;
}
.tel-btn:hover {
    background: var(--color-white);
    color: #3C74B4;
}

.tel-btn::before {
    background: url("../img/phone_icon.png") center/contain no-repeat;
}
.tel-btn:hover::before {
    background: url("../img/phone_icon_hover.png") center/contain no-repeat;
}

.line-btn {
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
}
.line-btn:hover {
    background: #3C74B4;
    color: var(--color-white);
}

.line-btn::before {
    background: url("../img/line_icon.png") center/contain no-repeat;
}

.tel-btn span,
.line-btn span {
    padding-left: 22px;
}
@media (max-width: 960px) {
    .header {
        padding: 0 8px;
    }
    .headBtnWrap .tel-btn,
    .headBtnWrap .line-btn {
        width: 56px;
        height: 56px;
        font-size: 12px;
        padding: 0;
    }
    .headBtnWrap .tel-btn::before,
    .headBtnWrap .line-btn::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .headBtnWrap .line-btn::before {
        background: url("../img/line_icon_sp.png") center/contain no-repeat;
    }
    .headBtnWrap .tel-btn span,
    .headBtnWrap .line-btn span {
        padding-left: 0;
        margin-top: 1.3rem;
    }
    .tel-btn,
    .line-btn {
        width: 100%;
    }
    .tel-btn::before,
    .line-btn::before {
        width: 30px;
        height: 30px;
        top: 50%;
        left: 35%;
        transform: translate(-50%,-50%);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.btn.primary {
    background: #223A5E;
    color: var(--color-white);
}

.btn.line {
    background: #06C755;
    color: var(--color-white);
}

/* --- Hero --- */
.hero {
    position: relative;
    max-width: 1440px;
    width: 100%;
    min-height: 700px;
    padding-top: 180px;
    background: url("../img/heroimg.png") no-repeat right center;
    background-size: contain;
    margin: 0 auto;
}

.hero .inner {
    margin: 0 auto;
    padding: 0 20px;
}

.heroTxt {
    max-width: 700px;
}

.heroTxt h2 {
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
    color: var(--color-main);
    line-height: 1.5;
    margin: 0;
}

.marker {
    background-color: var(--color-main);
    color: var(--color-white);
    padding-top: 8px;
}

.number {
    font-style: italic;
    font-size: 1.2em;
    padding-left: 8px;
    padding-right: 12px;
}

.minutes {
    font-size: 0.9em;
}

.heroImg {
    display: none;
}

.hero p {
    font-weight: 700;
    color: var(--color-main);
}

.btnWrap {
    margin-top: 72px;
}

.hero p.hours {
    font-size: 15px;
}

@media (max-width: 960px) {
    .hero {
        padding-top: 0;
        background: none;
    }
    .heroTxt h2 {
        font-size: 32px;
        padding-top: 24px;
    }
    .heroImg {
        display: block;
    }
    .btnWrap {
        margin-top: 1.5rem;
    }
    .btnWrap .line-btn {
        margin-top: 1rem;
    }
}
/* --- Scroll Down Button --- */
.scroll-down {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
}

.scroll-down .circle {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    border-radius: 50%;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);*/
    animation: circle-pulse 3s infinite ease-in-out;
    z-index: 1;
}

.scroll-down .text,
.scroll-down .arrow {
    position: relative;
    z-index: 2;
    display: block;
    text-align: center;
}

.scroll-down .text {
    font-weight: 700;
    color: var(--color-main);
    margin-top: 18px;
    letter-spacing: 1px;
}

.scroll-down .arrow {
    width: 16px;
    height: 16px;
    margin: 0 auto;
    border-left: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
    transform: rotate(-45deg);
}

@keyframes circle-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
@media (max-width: 960px) {
    .scroll-down {
        display: none;
    }
}
/* --- Services --- */
.services {
    padding: 100px 160px;
}

.services h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.service-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc((100% - (20px * 2)) / 3);
    padding: 30px;
    border: 3px solid var(--color-main);
    border-radius: 4px;
    background: var(--color-white);
}

.service-item img {
    max-width: 136px;
    width: 100%;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px;
}

.service-item p {
    margin: 0;
}
@media (max-width: 960px) {
    .services {
        padding: 60px 20px;
    }
    .service-item {
        width: 100%;
    }
}
/* --- Price --- */
.price {
    padding: 100px 160px;
}

.price-note {
    font-weight: 700;
    text-align: center;
    margin-top: 50px;
}

.price-list {
    background-color: var(--color-white);
    padding: 60px;
    margin-top: 40px;
}

.price-list dt {
    background-color: var(--color-main);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    padding: 10px 20px;
}

.price-list dd {
    padding: 10px 20px 30px;
    margin: 0;
}

.price-list dd .price {
    font-size: 26px;
    font-weight: 700;
    padding-left: 6px;
    padding-right: 2px;
}

.price-list dd span {
    font-size: 15px;
    font-weight: 400;
}
@media (max-width: 960px) {
    .price {
        padding: 60px 20px;
    }
    .price-note {
        margin-top: 30px;
    }
    .price-list {
        padding: 60px 12px;
    }
    .price-list dt {
        font-size: 1.2rem;
    }
    .price-list dd .price {
        font-size: 1.5rem;
    }
}
/* --- Flow --- */
.flow {
    padding: 100px 0;
}

.flow-list {
    display: grid;
    gap: 20px;
    margin-top: 50px;
}

.flow-item {
    display: flex;
    max-width: 1120px;
    width: 100%;
    padding: 40px;
    border: 3px solid var(--color-main);
    border-radius: 4px;
    background: var(--color-white);
    margin: 0 auto;
}

.step-wrap {
    position: relative;
    width: 110px;
    height: 110px;
}

.step-circle {
    position: absolute;
    inset: 0;
    background: var(--color-main);
    border-radius: 50%;
    color: var(--color-white);
    z-index: 0;
}

.step-wrap .step,
.step-wrap .step-num {
    position: relative;
    display: block;
    color: var(--color-white);
    text-align: center;
    z-index: 2;
}

.step-wrap .step {
    font-size: 22px;
    line-height: 1.2;
    margin-top: 20px;
}

.step-wrap .step-num {
    font-size: 40px;
    line-height: 1;
}

.step-icon {
    max-width: 115px;
    width: 100%;
    margin: 0 40px;
}

.flow-itemTxt h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}
@media (max-width: 960px) {
    .flow {
        padding: 60px 20px;
    }
    .flow-list {
        gap: 2rem;
    }
    .flow-item {
        position: relative;
        flex-direction: column;
        align-items: center;
        padding: 1.3rem 1.5rem 1.5rem;
    }
    .step-wrap {
        position: absolute;
        top: -21px;
        left: 1.5rem;
        width: 78px;
        height: 78px;
    }
    .step-wrap .step {
        font-size: 1rem;
        margin-top: 1rem;
    }
    .step-wrap .step-num {
        font-size: 1.6rem;
    }
    .flow-itemTxt {
        padding-top: 0.5rem;
    }
    .flow-itemTxt h3 {
        font-size: 1.2rem;
        text-align: center;
    }
}
/* --- About --- */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.about-left {
    position: relative;
    padding: 60px 50px;
    color: var(--color-white);
    background: url(../img/about_bg.jpg) center/cover no-repeat;
}

.about-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 44, 84, 0.60);
    z-index: 1;
}

.about-left>* {
    position: relative;
    z-index: 2;
    font-size: 18px;
}

.about-left h2 {
    font-family: var(--font-serif);
    font-size: 48px;
}

.about-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 960px) {
    .about {
        grid-template-columns: 1fr;
    }
    .about-right {
        height: 320px;
    }
    .about-left {
        order: 2;
    }
    .about-left>* {
        font-size: 14px;
    }
    .about-left h2 {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
}

/* --- FAQ --- */
.faq {
    padding: 100px 160px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1120px;
    width: 100%;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.04);
}

.faq-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.faq-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.faq-badge-q {
    background: var(--color-main);
    color: var(--color-white);
}

.faq-badge-a {
    background: var(--color-white);
    border: 2px solid var(--color-main);
    color: var(--color-main);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 6px;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 4px;
}

.faq-divider {
    width: 100%;
    height: 1px;
    background: #d0d5da;
    margin: 16px 0;
}
@media (max-width: 960px) {
    .faq {
        padding: 60px 20px;
    }
    .faq-item {
        padding: 20px 12px;
    }
    .faq-row {
        align-items: center;
        gap: 1rem;
    }
    .faq-badge {
        padding-bottom: 4px;
    }
}
/* --- Area --- */
.area {
    padding: 100px 0;
}

.area-map {
    position: relative;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}
.area-map h2 {
    position: absolute;
    left: -16px;
    max-width: 420px;
    width: 100%;
    background-color: var(--color-main);
    border-radius: 4px;
    color: var(--color-white);
    padding: 10px 30px;
}
.area-txt {
    margin-top: 50px;
}
.area-txt h3 {
    font-size: 24px;
    margin: 0;
}
@media (max-width: 960px) {
    .area {
        padding: 60px 20px;
    }
    .area-map h2 {
        max-width: 250px;
        left: -8px;
    }
    .area-txt {
        margin-top: 40px;
    }
    .area-txt h3 {
        font-size: 1.2rem;
    }
}

/* --- Page Top --- */
#pagetop {
    position: fixed;
    right: 50px;
    bottom: 40px;
    z-index: 5500;
    display: block;
    width: 88px;
    height: 88px;
    cursor: pointer;
    background: var(--color-white);
    border-radius: 100vh;
    opacity: 0;
    transition: .5s;
}
#pagetop.visible {
    opacity: 1;
    pointer-events: auto;
}
#pagetop span {
    display: grid;
    place-content: center;
    margin-top: 40px;
}
#pagetop span::before {
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    display: block;
    width: 18px;
    height: 18px;
    content: "";
    border-top: 3px solid var(--color-main);
    border-right: 3px solid var(--color-main);
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    margin: 0 auto;
}
@media (max-width: 1020px) {
    #pagetop {
        position: fixed;
        right: 16px;
        bottom: 16px;
    }
}
@media (max-width: 640px) {
    #pagetop {
        display: none;
    }
}
/* --- Footer --- */
.footer {
    padding: 80px 0;
    text-align: center;
}
.footer-title {
    width: 200px;
    margin: 0 auto -20px;
}
.footer-sub {
    margin: 0;
}
.footer-info {
    font-style: normal;
    line-height: 2rem;
    margin-top: 40px;
}
.footer-buttons {
    margin-top: 40px;
}
.footer-copy {
    font-size: 12px;
    margin-top: 56px;
}
@media (max-width: 960px) {
    .footer {
        padding: 60px 20px;
    }
    .footer-buttons .line-btn {
        margin-top: 1rem;
    }
}