@charset "utf-8";

/* ====================================================================================
   Design System Variables
==================================================================================== */

:root {
    --color-text: #666;
    --color-text-strong: #333;
    --color-cta-coral: #f9a08c;
    --color-cta-teal: #87c1b9;
    --color-bg-light: #FAF8F5;
    --color-bg-table-header: #F0EAE4;
    --color-mobile-float: #f9e280;
    --color-marker: #ffcffb;
    --color-red: #ff0000;
    --color-white: #fff;

    --font-body: 'Zen Maru Gothic', sans-serif;
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-special: 'Zen Maru Gothic', sans-serif;

    --max-width: 100%;
    --padding-inner: 40px;
    --padding-inner-mobile: 5vw;
}

.no-wrap {
    white-space: nowrap;
}

table {
    white-space: nowrap;
}

/* ====================================================================================
   Basic Layout
==================================================================================== */

body {
    background-color: var(--color-bg-light);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 2.0;
    letter-spacing: 0.1em;
}

body * {
    box-sizing: border-box;
}

.zenmaru {
    font-family: var(--font-special);
}

img {
    max-width: 100%;
    width: auto;
    vertical-align: top;
    image-rendering: -webkit-optimize-contrast;
}

a {
    border: none;
    text-decoration: none;
    color: inherit;
    transition: all .3s;
}

a:hover {
    filter: brightness(110%);
}

a.pc_not_tel {
    pointer-events: none;
    cursor: default;
}

em {
    font-style: normal;
    font-weight: bold;
}

.red {
    font-size: 90%;
    color: var(--color-red);
}

/* ====================================================================================
   Visibility Utilities
==================================================================================== */

.pc_none {
    display: none;
}

.sp_none {
    display: inline;
}

img.sp {
    display: none;
}

/* ====================================================================================
   Text Decoration
==================================================================================== */

.marker {
    background-image: linear-gradient(var(--color-marker), var(--color-marker));
    background-size: 0 50%;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: 1.5s;
}

.marker.active {
    background-size: 100% 50%;
}

/* ====================================================================================
   Layout Utilities
==================================================================================== */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.flex_space-between {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.flex_center {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

/* ====================================================================================
   Content Container
==================================================================================== */

#contents section .inner,
#contents div .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-inner);
    position: relative;
}

#contents section .inner h3,
#contents div .inner h3 {
    margin: 0 0 60px;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
}

#contents section .inner h3 span,
#contents div .inner h3 span {
    font-size: 40px;
}

/* ====================================================================================
   Page Hero (Sub Pages)
==================================================================================== */

.page-hero {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5EFE9;
    background-size: cover;
    background-position: center center;
    border-bottom: 3px solid #f9a08c;
}

.page-hero h1,
.page-hero h2 {
    font-family: var(--font-body);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-align: center;
}

/* ====================================================================================
   Breadcrumb
==================================================================================== */

.breadcrumb {
    padding: 15px 0;
    background-color: var(--color-white);
}

.breadcrumb .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-inner);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-size: 13px;
    line-height: 1.5;
}

.breadcrumb ol li {
    color: var(--color-text);
}

.breadcrumb ol li+li::before {
    content: ">";
    margin: 0 8px;
    color: #999;
}

.breadcrumb ol li a {
    color: var(--color-cta-teal);
}

.breadcrumb ol li a:hover {
    text-decoration: underline;
}

/* ====================================================================================
   Mobile Responsive
==================================================================================== */

@media screen and (max-width: 768px) {
    body {
        font-size: clamp(14px, 3.5vw, 15px);
        line-height: 1.8;
    }

    .sp_none {
        display: none;
    }

    .pc_none {
        display: inline;
    }

    img {
        max-width: 100%;
        width: auto;
    }

    img.pc {
        display: none;
    }

    img.sp {
        display: inline;
    }

    a.pc_not_tel {
        pointer-events: auto;
        cursor: pointer;
    }

    #contents section .inner,
    #contents div .inner {
        max-width: inherit;
        padding: 0 var(--padding-inner-mobile);
    }

    #contents section .inner h3,
    #contents div .inner h3 {
        margin: 0 0 4vh;
        font-size: clamp(22px, 4.8vw, 28px);
    }

    #contents section .inner h3 span,
    #contents div .inner h3 span {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .page-hero {
        height: 150px;
    }

    .page-hero h1,
    .page-hero h2 {
        font-size: clamp(24px, 5.6vw, 30px);
    }

    .breadcrumb .inner {
        padding: 0 var(--padding-inner-mobile);
    }

    .breadcrumb ol {
        font-size: 2.8vw;
    }

    .mobile-fit-heading-lg {
        font-size: clamp(22px, 5.6vw, 28px) !important;
        line-height: 1.5 !important;
    }

    .mobile-fit-heading {
        font-size: clamp(20px, 5vw, 24px) !important;
        line-height: 1.5 !important;
    }

    .mobile-fit-subheading {
        font-size: clamp(17px, 4.3vw, 20px) !important;
        line-height: 1.6 !important;
    }

    .mobile-fit-body {
        font-size: clamp(14px, 3.6vw, 15px) !important;
        line-height: 1.9 !important;
    }

    .mobile-fit-caption {
        font-size: clamp(13px, 3.4vw, 14px) !important;
        line-height: 1.8 !important;
    }

    .mobile-fit-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .mobile-fit-card {
        padding: 20px 18px !important;
    }

    .mobile-fit-flow {
        gap: 16px !important;
    }

    .mobile-fit-flow-step {
        padding-top: 2px !important;
    }

    .mobile-fit-badge {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }

    .mobile-fit-divider {
        height: 18px !important;
        margin-left: 18px !important;
    }

    .mobile-fit-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .mobile-fit-table th,
    .mobile-fit-table td {
        min-width: 140px;
        font-size: 14px !important;
        line-height: 1.6 !important;
        white-space: normal;
    }
}
