.c-bg {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.c-bg--before,
.c-bg--after{
  position: relative;
}
.c-bg--before::before,
.c-bg--after::after{
  content: '';
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
.c-flex{
  display: flex;
  justify-content: space-between;
}
.c-highlight{
  display: inline-block;
  border-bottom: 1px solid var(--main);
  color: var(--main);
  line-height: 1.5;
}

.l-section {
    padding: 96px 0;
}

/* Component styling for Yoshida is appended below. */

.c-breadcrumb {
    width: min(calc(100% - 48px), var(--container));
    margin: 20px auto 0;
    font-size: 14px;
}

.c-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.c-breadcrumb li:not(:last-child)::after {
    margin-left: 8px;
    content: "/";
}

.c-heading {
    margin-bottom: 40px;
}

.c-heading h2 {
    font-size: clamp(28px, 3vw, 44px);
}

.c-heading p {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.p-contact-cta {
    padding: 80px 0;
    text-align: center;
    background: #f5f7f8;
}



.c-definition-list {
    border-top: 1px solid var(--border);
}

.c-definition-list > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid var(--border);
}

.c-definition-list dt,
.c-definition-list dd {
    padding: 20px 24px;
}

.c-definition-list dt {
    font-weight: 700;
    background: #f5f7f8;
}

.c-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.c-card {
    padding: 32px;
    border: 1px solid var(--border);
}

.c-load-error {
    padding: 16px;
    color: #b00020;
    background: #fff0f1;
}

@media (max-width: 767px) {
    :root {
        --side: 20px;
    }

    .l-section {
        padding: 64px 0;
    }

    .l-header__inner {
        width: calc(100% - 32px);
        min-height: 72px;
    }

    .l-header__menu-button {
        display: block;
    }

    .l-header__nav ul {
        display: block;
        padding: 20px;
    }

    .l-header__nav li {
        border-bottom: 1px solid var(--border);
    }

    .l-footer__inner {
        display: block;
    }

    .l-footer__nav {
        margin-top: 10px;
    }

    .c-definition-list > div {
        display: block;
    }

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


body.is-menu-open {
    overflow: hidden;
}

address {
    font-style: normal;
}

.c-skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    padding: 8px 16px;
    background: var(--white);
    transform: translateY(-150%);
}

.c-skip-link:focus {
    transform: translateY(0);
}

.l-header__nav a.is-current {
    color: var(--primary);
}

.c-card h3 {
    margin-bottom: 12px;
}

.c-form {
    display: grid;
    gap: 28px;
}

.c-form__row {
    display: grid;
    gap: 8px;
}

.c-form__row label {
    font-weight: 700;
}

.c-form input,
.c-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
}

/* ============================================
   YOSHIDA / COMMON TOKENS & SHARED COMPONENTS
============================================ */
:root {
    --primary: #0071bd;
    --main: #0071bd;
    --accent: #fe0000;
    --dark: #0a0b16;
    --white: #fff;
    --green: #06C755;
    --container: 1300px;
}

.c-skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 100;
    padding: 8px 16px;
    background: var(--white);
    color: var(--text);
}
.c-skip-link:focus { top: 10px; }

.c-button {
    display: inline-flex;
    position: relative;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 280px;
    min-height: 72px;
    padding: 16px 24px;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    border: 1px solid transparent;
    transition: all ease 0.4s;
}
.c-button--outline { border-color: var(--white); background: rgba(0,113,189,.08); }
.c-button--red { background: var(--accent); }
.c-button--blue { background: var(--primary); }
.c-button--green { background: var(--green); }
.c-button--green:hover{background: #02652a !important;}
.c-button--arrow::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 8px;
    height: 15px;
    transform: translateY(-50%);
    background: currentcolor;
    -webkit-mask: url(../images/common/ic-arr-right.svg) center / contain no-repeat;
    mask: url(../images/common/ic-arr-right.svg) center / contain no-repeat;
}
.c-button:hover{
    opacity: 1;
}
.c-button--outline:hover{
    background: var(--white);
    color: var(--primary);
}

/* ========================================================
   TYPOGRAPHY / ELEMENTS SHARED BETWEEN TOP SECTIONS
   Local p-* selectors only contain section-specific offsets or overrides.
======================================================== */
.c-section-en {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}
.c-section-en--line {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-left: 5px;
    color: #707070;
    font-size: 15px;
}
.c-section-en--line::before {
    content: '';
    flex: 0 0 20px;
    height: 1px;
    margin-bottom: 6px;
    background: currentColor;
}
.c-section-title {
    color: #111;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5;
}
.c-section-title--large { font-size: 38px; }
.c-section-title--rule::after {
    content: '';
    display: block;
    width: 42px;
    height: 2px;
    margin: 28px auto 0;
    background: var(--primary);
}
.c-section-lead {
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.9;
}
.c-body-text {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.875;
}
.c-body-text--large { font-size: 16px; }
@media (max-width: 767px) {
    .c-section-title {font-size: 24px !important;margin-top: 10px !important;}
    .c-section-lead { font-size: 14px; }
    .c-body-text { font-size: 14px; }
    .c-section-title--rule::after{
        margin-top: 15px !important;
        width: 30px !important;
        height: 1px !important;
    }
}

.c-section-heading { text-align: center; }
.c-section-action { display: flex; justify-content: center; }

/* Reusable item/card heading, with component-specific margins retained locally. */
.c-item-title { color: #111; font-size: 22px; font-weight: 700; line-height: 1.5; }
.c-item-title--large { font-size: 24px; }

/* Standard primary button; section rules only change spacing/layout. */
.c-button--primary {
    width: 320px;
    min-width: 320px;
    min-height: 72px;
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}
.c-button--primary.c-button--arrow::after { right: 14%; }
.c-button--primary:hover, .c-button--primary:focus-visible {
    background: var(--white);
    color: var(--primary);
}
@media (max-width: 767px) {
    .c-button--primary { min-width: 0; width: min(100%, 320px); }
}

/* ============================================
   HEADER / DESKTOP
============================================ */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 120px;
    background: var(--white);
}
.l-header__inner {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding-left: 49px;
}
.l-header__logo {
    display: block;
    flex-shrink: 0;
    width: 197px;
    line-height: 0;
}
.l-header__logo img { display: block; width: 100%; height: auto; }
.l-header__nav--inner{
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.l-header__nav {margin-left: auto;margin-right: 4.7%;padding-top: 8px;}
.l-header__nav-list { display: flex; align-items: center; gap: 59px; }
.l-header__nav-list a { display: inline-block; font-size: 18px; font-weight: 700; white-space: nowrap; }
.l-header__nav-list a:hover{
    opacity:1;
    color: var(--primary);
}
.l-header__nav-list a[aria-current="page"] { color: var(--primary); }
.l-header__nav-contact { display: none; }
.l-header__contacts {display: flex;flex-direction: column;flex-shrink: 0;justify-content: center;width: 463px;padding-top: 7px;margin-right: 28px;}
.l-header__contact-numbers { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.l-header__contact-number { display: flex; align-items: center; gap: 8px; font-family: Meiryo, sans-serif; font-size: 22px; font-weight: 700; white-space: nowrap; }
.l-header__contact-label {display: inline-flex;align-items: center;justify-content: center;width: 42px;height: 21px;color: var(--white);border-radius: 5px;font-size: 12px;font-weight: 700;margin-top: -3px;}
.l-header__contact-label.--tel { background: #004cb3; }
.l-header__contact-label.--fax { background: #93bc1e; }
.l-header__hours {display: flex;align-items: center;justify-content: space-around;gap: 6px;font-size: 12px;font-weight: 700;white-space: nowrap;width: max-content;margin: 5px auto 0;}
.l-header__hours::before, .l-header__hours::after { content: ""; width: 20px; flex-shrink: 0; border-top: 1px solid #111; }
.l-header__contact-button {
    flex-direction: column;
    gap: 12px;
    width: 120px;
    min-width: 120px;
    height: 120px;
    min-height: 120px;
    padding: 15px 4px;
    font-size: 16px;
    white-space: nowrap;
}
.l-header__contact-button:hover{
    background: var(--accent);
    opacity: 1;
}
.l-header__contact-button--line:hover{
    background: var(--blue);
}
.l-header__menu-button { display: none; }

/* ============================================
   FOOTER / DESKTOP
============================================ */
.l-footer { color: var(--white); background: var(--primary); }
.l-footer__background {
    background-color: var(--primary);
    background-image: linear-gradient(rgba(0,113,189,.92), rgba(0,113,189,.92)), url('../images/common/footer-bg.webp');
    background-size: cover;
    background-position: center top;
}
.l-footer__contact {display: flex;min-height: 240px;}
.l-footer__identity {
    display: flex;
    flex: 0 0 42.76%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: #111;
}
.l-footer__logo { display: block; width: 257px; line-height: 0; }
.l-footer__logo img { display: block; width: 100%; height: auto; }
.l-footer__lead {width: 257px;margin-top: 16px;font-size: 15px;font-weight: 700;line-height: 1.73;padding-left: 9px;}
.l-footer__contact-inner {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 20px;
    padding-top: 80px;
    min-width: 0;
    padding-left: clamp(35px, 4.5vw, 86px);
    padding-right: max(30px, calc((100vw - 1300px) / 2));
}
.l-footer__phone { flex-shrink: 0; }
.l-footer__phone-heading { margin-left: 55px; font-size: 16px; line-height: 1.5; }
.l-footer__phone-number { display: inline-flex; align-items: center; gap: 16px; font-size: 40px; line-height: 1.5; white-space: nowrap; }
.l-footer__phone-number img { width: 37px; height: 37px; filter: brightness(0) invert(1); }
.l-footer__hours { font-size: 15px; line-height: 1.75; white-space: nowrap; }
.l-footer__inquiry {flex-shrink: 0;}
.l-footer__inquiry-caption {margin-bottom: 16px;font-size: 15px;line-height: 1.5;white-space: nowrap;padding-left: 7px;}
.l-footer__inquiry-button { min-width: 300px; width: 300px; }
.l-footer__inquiry-button:hover{
    opacity: 1;
    background: var(--white);
    color: var(--text);
}
.l-footer__inquiry-button::before{
    content: '';
    background: currentcolor;
    -webkit-mask: url(../images/common/ic-mail.svg) center / contain no-repeat;
    mask: url(../images/common/ic-mail.svg) center / contain no-repeat;
    width: 24px;
    height: 20px;
}
.l-footer__body {/* min-height: 454px; */}
.l-footer__inner {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 0 84px;
    /* border-bottom: 1px solid rgba(255,255,255,.45); */
}
.l-footer__company {flex: 0 0 30.15%;padding: 0 20px 0 9%;}
.l-footer__address { display: flex; gap: 17px; font-size: 16px; font-style: normal; line-height: 2.25; white-space: nowrap; }
.l-footer__location-icon { flex-shrink: 0; margin-top: 1px; }
.l-footer__line {display: flex;align-items: center;gap: 16px;margin-top: 39px;font-size: 18px;}
.l-footer__line-label { display: inline-flex; align-items: center; gap: 16px; }
.l-footer__line-label::after { content: ""; width: 54px; height: 1px; background: var(--white); }
.l-footer__line-icon {display: inline-flex;align-items: center;justify-content: center;width: 60px;height: 60px;margin-bottom: -60px;margin-left: 8.6%;border: 1px solid var(--white);border-radius: 50%;}
.l-footer__line-icon::before {content:'';display: block;width: 20px;height: 20px;background: currentcolor;-webkit-mask: url(../images/common/ic-line.svg) center / contain no-repeat;mask: url(../images/common/ic-line.svg) center / contain no-repeat;transition: all ease 0.4s;}
.l-footer__nav { display: flex; flex: 1; min-width: 0; }
.l-footer__nav-group {flex: 1;width: 325px;min-height: 249px;padding: 0 10px 0 104px;border-left: 1px solid rgba(112,112,112,.5);}
.l-footer__nav-heading {display: inline-block;position: relative;padding-bottom: 14px;margin-bottom: 32px;font-size: 18px;white-space: nowrap;}
.l-footer__nav-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 42px; border-top: 1px solid var(--accent); }
.l-footer__nav-group ul { display: flex; flex-direction: column; gap: 13px; }
.l-footer__nav-group li { font-size: 15px; white-space: nowrap; }
.l-footer__copyright { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 20px; background: var(--dark); font-size: 15px; text-align: center; }

.l-footer__line-icon:hover{
    background: var(--white);
    opacity: 1;
    color: var(--primary);
}

main{
    margin-top: 120px;
}
/* ============================================
   LAPTOP / PC ADAPTATION
============================================ */
@media (min-width: 1025px) and (max-width: 1700px) {
    .l-header { height: 100px; }
    .l-header__inner {padding-left: 20px;}
    .l-header__logo {width: 130px;}
    .l-header__nav {margin: 0 20px;}
    .l-header__nav-list {gap: 20px;}
    .l-header__nav-list a {font-size: 13px;}
    .l-header__contacts { width: 390px; margin-right: 18px; }
    .l-header__contact-number {font-size: 15px;gap: 5px;}
    .l-header__contact-label { width: 35px; font-size: 10px; height: 18px; }
    .l-header__hours { font-size: 10px; }
    .l-header__hours-line { width: 12px; }
    .l-header__contact-button { width: 100px; min-width: 100px; height: 100px; min-height: 100px; font-size: 13px; }

    .l-footer__contact-inner { padding-right: 40px; gap: 20px; }
    .l-footer__phone-number { font-size: clamp(26px, 2.45vw, 40px); }
    .l-footer__phone-number img { width: 31px; height: 31px; }
    .l-footer__hours { font-size: 12px; }
    .l-footer__inquiry-caption { font-size: 12px; }
    .l-footer__inquiry-button { min-width: 220px; width: 220px; }
    .l-footer__company { padding-left: 40px; }
    .l-footer__nav-group { padding-left: clamp(25px, 4.5vw, 85px); }
    main{
        margin-top: 100px;
    }
}

/* ============================================
   TABLET / MOBILE MENU & FOOTER
============================================ */
@media (max-width: 1024px) {
    .l-header {height: 70px;}
    .l-header__inner {justify-content: space-between;padding-left: 24px;height: 100%;}
    .l-header__logo { width: 175px; }
    .l-header__contacts {/* display: none; */position: fixed;transition: all ease 0.4s;left: -100%;bottom: 100px;padding-left: 20px;padding-bottom: 20px;z-index: 999;display: block;margin-left: 0;margin-right: 0;}
    .l-header__contact-numbers,.l-header__hours{
        display: block;
        margin-left: 0;
        font-size: 11px;
    }
    .l-header__contact-label{
        font-size: 10px;
        width: 32px;
        height: 18px;
    }
    .l-header__contact-number{font-size: 18px;}
    .l-header__hours::before, .l-header__hours::after{display:none;}
    .l-header__nav {
        position: fixed;
        top: 70px;
        height: 100vh;
        left: -100%;
        z-index: 30;
        width: min(460px, 100%);
        margin: 0;
        overflow-y: auto;
        background: var(--white);
        box-shadow: 0 10px 18px rgba(0,0,0,.14);
        transition: all ease 0.4s;
    }

    .is-menu-open .l-header__nav {
    left: 0;
    }
    
    .l-header__nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 16px 25px 0; }
    .l-header__nav-list li { border-bottom: 1px solid #e7e7e7; }
    .l-header__nav-list a {display: block;padding: 19px 0;font-size: 17px;}
    .l-header__nav-contact {display: flex;flex-direction: column;gap: 7px;padding: 25px 33px 33px;font-size: 13px;}
    .l-header__nav-tel {color: var(--primary);font-size: 14px;}
    .l-header__nav-hours { line-height: 1.9; }
    .l-header__nav-contact .c-button { width: 100%; min-width: 0; }
    .l-header__menu-button {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 72px;
        height: 70px;
        margin-left: auto;
        border: 0;
        background: var(--white);
        cursor: pointer;
    }
    .l-header__menu-button span, .l-header__menu-button span::before, .l-header__menu-button span::after {
        display: block;
        width: 28px;
        height: 2px;
        background: #111;
        transition: transform .2s ease, opacity .2s ease;
    }
    .l-header__menu-button span { position: relative; }
    .l-header__menu-button span::before, .l-header__menu-button span::after { content: ''; position: absolute; left: 0; }
    .l-header__menu-button span::before { top: -8px; }
    .l-header__menu-button span::after { top: 8px; }
    .l-header__menu-button[aria-expanded="true"] span { background: transparent; }
    .l-header__menu-button[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
    .l-header__menu-button[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }
    .l-header__contact-button {width: 50%;height: 50px;min-height: auto;gap: 8px;font-size: 12px;position: fixed;left: 0;bottom: 0;z-index: 99;flex-direction: row;}
    .l-header__contact-button img {width: 16px;}
    body.is-menu-open::before {content: '';position: fixed;inset: 70px 0 0;z-index: 39;background: rgba(0,0,0,.38);}
    /* body.is-menu-open .l-header__contact-button, */
    body.is-menu-open .l-header__contacts{
        left: 0;
    }
    .l-header__contact-button.--line{
        /* bottom: 49px; */
        left: 50%;
    }
    
    .l-footer__contact {flex-wrap: wrap;min-height: auto;border-bottom: 1px solid var(--white);}
    .l-footer__identity { flex: 0 0 100%; min-height: 205px; }
    .l-footer__contact-inner { flex: 0 0 100%; justify-content: center; gap: 60px; padding: 46px 30px; }
    .l-footer__body, .l-footer__inner { min-height: auto; }
    .l-footer__inner { padding: 70px 0 55px; }
    .l-footer__company { flex: 0 0 32%; padding: 0 14px; }
    .l-footer__address { gap: 12px; font-size: 13px; }
    .l-footer__line { gap: 12px; font-size: 16px; }
    .l-footer__line-icon { width: 44px; height: 44px; margin-left: 0; }
    .l-footer__nav-group { min-height: 220px; padding-left: 22px; }
    .l-footer__nav-heading { font-size: 16px; }
    .l-footer__nav-group li { font-size: 13px; white-space: normal; }
    .l-footer__copyright { min-height: 85px; font-size: 12px; }
}

@media (max-width: 767px) {
    .c-button { min-height: 58px; min-width: 0; padding: 12px 26px; font-size: 15px; }
    .c-button--arrow::after { right: 18px; }

    .l-header { height: 70px; }
    .l-header__inner {padding-left: 15px;max-width: 100% !important;}
    .l-header__logo { width: 142px; }
    .l-header__menu-button {width: 58px;height: 67px;gap: 5px;}
    .l-header__menu-button span::before { top: -7px; }
    .l-header__menu-button span::after { top: 7px; }
    .l-header__menu-button[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
    .l-header__menu-button[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
    .l-header__contact-button img { width: 19px; } */
    .l-header__nav { max-height: calc(100dvh - 70px); }
    body.is-menu-open::before { top: 70px; }
    .l-footer__identity {min-height: 150px;}
    .l-footer__logo { width: 202px; }
    .l-footer__lead { width: 202px; margin-top: 12px; font-size: 12px; }
    .l-footer__contact-inner {flex-direction: column;gap: 28px;padding: 36px 20px;text-align: center;}
    .l-footer__phone-heading { margin-left: 0; font-size: 14px; }
    .l-footer__phone-number { justify-content: center; gap: 10px; font-size: 29px; }
    .l-footer__phone-number img { width: 28px; height: 28px; }
    .l-footer__hours { font-size: 12px; }
    .l-footer__inquiry { width: 100%; }
    .l-footer__inquiry-caption { margin-bottom: 14px; font-size: 13px; white-space: normal; }
    .l-footer__inquiry-button { min-width: 0; width: min(300px, 100%); }
    .l-footer__inner {flex-direction: column;gap: 42px;width: calc(100% - 40px);padding: 40px 0;}
    .l-footer__company {padding: 0;/* margin: auto; */}
    .l-footer__address { font-size: 14px; line-height: 2; }
    .l-footer__line {margin-top: 25px;}
    .l-footer__nav {flex-wrap: wrap;width: 100%;gap: 38px 0;margin: auto;}
    .l-footer__nav-group {flex: 0 0 50%;min-height: auto;padding: 0 0 0 15px;}
    .l-footer__nav-group:nth-child(odd) { border-left: 0; padding-left: 0; }
    .l-footer__nav-heading { padding-bottom: 15px; margin-bottom: 18px; font-size: 16px; }
    .l-footer__nav-group ul { gap: 15px; }
    .l-footer__nav-group li { font-size: 13px; }
    .l-footer__copyright { min-height: 70px; padding: 15px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .l-header__nav, .l-header__menu-button span { transition: none; }
}


/* SCROLLDOWN */
.c-scrolldown {
  position: fixed;
  background-color: #fff;
  border-radius: 100px;
  width: 100px;
  padding-top: 6px;
  height: 100px;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-content: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all ease 0.7s;
  z-index: 4;
}
.hide .c-scrolldown{
  right: -100%;
}
.c-scrolldown::before{
  background-image: url('../images/common/ic-arr-downb.png');
  width: 23px;
  height: 13px;
  margin-bottom: 10px;
  transition: all ease 0.4s;
}
.c-scrolldown span{
  display: block;
  width: 100%;
  color: #111;
  transition: all ease 0.4s;
  font-size: 12px;
}
.c-scrolldown.toTop::before{
  transform: rotate(180deg);
}
.c-scrolldown:hover{
	opacity: 1;
}
.c-scrolldown:hover span,
.c-scrolldown:hover::before{
	opacity: 0.5;
}
@media(max-width: 1024px){
  .c-scrolldown{
    width: 70px;
    height: 70px;
    right: 20px;
    bottom: 20px;
  }
  .c-scrolldown::before{
    width: 18px;
    height: 8px;
  }
}
@media(max-width: 767px){
  .c-scrolldown{
    display: none;
  }
}
/* END SCROLLDOWN */

/* ================================================
   YOSHIDA / TOP - BLOCK 6: GUIDE LINKS
   Design: 1920 x 428, 3 panels each 640 x 428
================================================ */
.p-top-guide-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 180px;
}

.p-top-guide-links__item {
    display: block;
    position: relative;
    min-width: 0;
    height: 428px;
    overflow: hidden;
    color: #fff;
    background-color: #333;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    transition: all ease 0.4s;
}
.p-top-guide-links__item figure{
    display: block;
    height: 100%;
    width: 100%;
}
.p-top-guide-links__item::after {
    position: absolute;
    inset: 0;
    content: '';
    background-color: rgba(17, 17, 17, .6);
    transition: background-color .35s ease;
}

.p-top-guide-links__content {
    position: absolute;
    z-index: 2;
    top: 166px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.p-top-guide-links__title { display: block; line-height: 30px; color: var(--white); }
.p-top-guide-links__item img{
    transform: scale(1);
    transition: all ease 0.4s;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 
/* Reuses common .c-button, .c-button--outline, .c-button--arrow. */
.p-top-guide-links__button {
    width: 280px;
    min-width: 0;
    height: 68px;
    min-height: 0;
    margin-top: 34px;
    padding: 14px 28px;
    border-color: #fff;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
}
.p-top-guide-links__item:hover .p-top-guide-links__button,
.p-top-guide-links__button:hover{
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.p-top-guide-links__item:hover {
    opacity: 1;
}
.p-top-guide-links__item:hover img{
    transform: scale(1.1);
} 

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .p-top-guide-links__item {
        height: 330px;
    }
    .p-top-guide-links__content {
        top: 110px;
    }
    .p-top-guide-links__title {
        font-size: 20px;
    }
    .p-top-guide-links__button {
        width: calc(100% - 32px);
        max-width: 280px;
        height: 64px;
        margin-top: 28px;
    }
}

@media screen and (max-width: 767px) {
    .p-top-guide-links {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 60px;
    }
    .p-top-guide-links__item {
        height: 290px;
    }
    .p-top-guide-links__content {
        top: 84px;
    }
    .p-top-guide-links__title {
        font-size: 22px;
    }
    .p-top-guide-links__button {
        width: min(280px, calc(100% - 40px));
        height: 62px;
        margin-top: 24px;
    }
}

/* ================================================
   YOSHIDA / TOP - BLOCK 5: LINE CONTACT
   Design: 1920 x 480 (Black5.svg)
   PC: centered 818.625 x 270 white panel
================================================ */
.p-top-line-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 480px; */
    margin-top: 122px;
    padding: 110px 24px 100px;
    background: #0071bd url('../images/common/contact-line-bg.png') center / cover no-repeat;
}

.p-top-line-contact__card {
    position: relative;
    width: 819px;
    max-width: 100%;
    height: 270px;
    background: #fff;
    overflow: hidden;
}

.p-top-line-contact__photo {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 497px;
    max-width: none;
    height: 270px;
    object-fit: fill;
    pointer-events: none;
}

.p-top-line-contact__content {
    position: absolute;
    z-index: 1;
    top: 49px;
    left: 385.625px;
    right: 32px;
    color: #111;
}

.p-top-line-contact__phone {
    display: inline-flex;
    align-items: center;
    gap: 0px 8px;
    font-family: Meiryo, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    flex-wrap: wrap;
}

.p-top-line-contact__phone img {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.p-top-line-contact__phone:hover {
    color: var(--primary, #0071bd);
    opacity: 1;
}

.p-top-line-contact__hours {
    margin-top: 1px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
    white-space: nowrap;
}

.p-top-line-contact__line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 279px;
    height: 42px;
    margin-top: 16px;
    color: #fff;
    background-color: #06c755;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.p-top-line-contact__line img {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* When the LINE URL is confirmed, this span can become an <a>. */
a.p-top-line-contact__line {
    transition: background-color .3s ease;
}


.p-top-line-contact__description {
    margin-top: 6px;
    line-height: 28px;
}

/* Desktop card remains proportional in tablet layout. */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .p-top-line-contact {
        min-height: 420px;
        padding: 75px 24px;
    }
    .p-top-line-contact__card {
        height: 270px;
    }
    .p-top-line-contact__photo {
        width: 61%;
    }
    .p-top-line-contact__content {
        left: 47%;
        right: 16px;
    }
    .p-top-line-contact__phone {
        font-size: clamp(21px, 2.5vw, 26px);
    }
    .p-top-line-contact__hours {
        font-size: 9px;
        letter-spacing: -.035em;
    }
    .p-top-line-contact__description {
        font-size: 13px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .p-top-line-contact {
        min-height: 0;
        padding: 55px 16px;
        background-position: center;
        margin-top: 60px;
    }
    .p-top-line-contact__card {
        width: min(320px, 100%);
        height: auto;
        padding: 0 !important;
    }
    .p-top-line-contact__photo {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .p-top-line-contact__content {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        padding: 19px 22px 30px;
    }
    .p-top-line-contact__phone {
        font-size: clamp(21px, 5.6vw, 26px);
    }
    .p-top-line-contact__hours {
        max-width: 100%;
        font-size: 10px;
        white-space: normal;
    }
    .p-top-line-contact__line {
        width: min(279px, 100%);
        margin-top: 20px;
        font-size: 20px;
    }
    .p-top-line-contact__description {
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.9;
    }
}


/* ============================================================
   YOSHIDA / TOP-only responsive shell (audited desktop unchanged)
============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    body.p-top main {margin-top: 70px;}
    body.p-top .l-header__nav { padding-top: 0; }
    body.p-top .l-header__inner { padding-right: 0; }
    body.p-top .l-footer__inner { width: calc(100% - 60px); }
    body.p-top .l-footer__company { flex: 0 0 34%; padding-left: 0; }
    body.p-top .l-footer__nav-group { padding-left: 16px; }
    body.p-top .l-footer__contact-inner { align-items: center; }
}
@media (max-width: 767px) {
    body.p-top main { margin-top: 70px; }
    body.p-top .l-header__nav {/* padding-top: 0; */}
    body.p-top .l-header__inner { padding-right: 0; }
    body.p-top .l-header__menu-button { flex: 0 0 58px; }
    body.p-top .l-footer__nav-group { min-width: 0; }
    body.p-top .l-footer__address { white-space: normal; }
    body.p-top .l-footer__line-icon { margin-bottom: 0; }
    body.p-top .l-footer__contact-inner { align-items: center; }
}
