/* Mobile company card order */
@media (max-width:767px){.p-company__tel-cards>.p-company__tel-card:first-child{order:1;}.p-company__after-hours{order:2;}.p-company__map-card{order:3;}}
/* Company after-hours contact group */
.p-company__after-hours{grid-column:1/7;grid-row:2;padding:24px;border:2px solid var(--navy);border-radius:24px;background:#fff;}
.p-company__after-hours-text{margin-bottom:18px;color:var(--navy);text-align:center;font-weight:700;}
.p-company__after-hours-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
.p-company__after-hours-cards>.p-company__tel-card:first-child{background:#176343;}
.p-company__after-hours-cards>.p-company__tel-card:last-child{background:#631748;}
.p-company__after-hours-cards>.p-company__tel-card:first-child .p-company__card-label{background:#90e1bf;}
@media (max-width:1100px){.p-company__after-hours{grid-column:auto;grid-row:auto;}.p-company__after-hours-cards{grid-template-columns:1fr;}}
/*
Theme Name: Harada Car
Theme URI: https://haradacar.com/
Author: bitsigntechnos
Description: 原田自動車有限会社 オリジナルテーマ
Version: 1.0.0
Text Domain: haradacar
*/

/* Foundation
-------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body,h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
:root{--blue:#2196f3;--navy:#173663;--pale:#d2e9fb;--text:#333;--dark:#292d32;--white:#fff}
body{min-width:320px;color:var(--text);background:#fff;font-family:"Noto Sans JP","Yu Gothic",sans-serif;font-size:16px;line-height:2;letter-spacing:.035em;text-align:justify;text-justify:inter-character}
.c-heading__en,.p-hero__title span,.p-contact__tel{font-family:"Montserrat",sans-serif}

/* Layout
-------------------------------------------------- */
.l-header{position:sticky;z-index:40;top:0;background:#fff}
.l-header__inner{display:flex;align-items:center;justify-content:space-between;width:min(100% - 64px,1560px);min-height:100px;margin:auto;gap:40px}
.l-header__logo{flex:0 1 340px}
.l-header__nav-list{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2vw,38px)}
.l-header__nav-link{display:block;font-weight:700;white-space:nowrap;transition:color .25s}
.l-header__nav-link:hover{color:var(--blue)}
.l-header__nav-link--contact{padding:12px 31px;color:#fff!important;background:var(--blue);border-radius:50px}
.l-header__menu-toggle,.l-header__menu-button{display:none}
.l-main{overflow:hidden}
.l-section{position:relative}
.l-container{width:min(100% - 48px,1280px);margin-inline:auto}
.l-footer{background:var(--dark);color:#fff}

/* Object / Component
-------------------------------------------------- */
.c-logo{width:100%;max-width:340px}
.c-heading{font-weight:800;line-height:1.1}
.c-heading__ja{display:block;margin-bottom:8px;font-size:20px}
.c-heading__en{display:block;color:var(--navy);font-size:clamp(42px,5vw,64px);letter-spacing:.02em}
.c-heading--white .c-heading__en{color:#fff}
.c-heading--vertical{display:flex;align-items:flex-start;gap:12px}
.c-heading--vertical .c-heading__en{writing-mode:vertical-rl}
.c-button{display:inline-flex;align-items:center;gap:18px;font-weight:700}
.c-button i{position:relative;display:block;width:72px;height:72px;flex:0 0 72px;overflow:hidden;color:transparent;background:var(--blue);border-radius:50%;font-size:27px;font-style:normal;transition:box-shadow .3s}
.c-button i::before{position:absolute;left:10px;top:50%;color:#fff;content:"→";line-height:1;transform:translateY(-50%);transition:left .3s ease,transform .3s ease}
.c-button:hover i{box-shadow:0 0 0 8px rgba(33,150,243,.16),0 0 28px rgba(33,150,243,.65)}
.c-button:hover i::before{left:50%;transform:translate(-50%,-50%)}
.home .c-button i::before{left:50%;transform:translate(-50%,-50%)}
.home .c-button:hover i::before{left:calc(100% - 10px);transform:translate(-100%,-50%)}
.c-button--white{color:#fff}
.c-button--white i{color:transparent;background:#fff}
.c-button--white i::before{color:var(--blue)}
.c-button--white:hover i{box-shadow:0 0 0 8px rgba(255,255,255,.2),0 0 28px rgba(255,255,255,.85)}
.c-service-card{display:flex;min-height:260px;padding:28px 20px 22px;align-items:center;justify-content:flex-end;flex-direction:column;background:#fff;border-radius:30px;box-shadow:0 14px 34px rgba(33,150,243,.28);text-align:center}
.c-service-card__image{width:100%;height:170px;object-fit:contain}
.c-service-card__title{margin-top:12px;color:var(--blue);font-size:20px}
.c-news-list__item+.c-news-list__item{margin-top:20px}
.c-news-list__item a{display:grid;grid-template-columns:max-content max-content minmax(0,1fr);align-items:center;column-gap:20px;min-height:88px;padding:20px 30px;background:#fff;border-radius:30px;transition:transform .25s}
.c-news-list__item a:hover{transform:translateX(8px)}
.c-news-list__item time{width:max-content;justify-self:start}
.c-news-list__item span{padding:3px 10px;color:#fff;background:#d7d7d7;border-radius:6px;text-align:center;font-size:13px}
.c-news-list__item strong{font-weight:500}
.c-footer-nav{display:flex;align-content:flex-start;flex-direction:column;gap:4px;font-weight:700}
.c-footer-nav__row{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:center;gap:0 14px}
.c-footer-nav a{width:fit-content;height:fit-content;padding:8px 6px;align-self:start;line-height:1.4;white-space:nowrap;transition:color .45s ease}
.c-footer-nav a:hover{color:#83bcea}
.c-breadcrumb{padding:14px 0;color:#687787;background:#fff;font-size:13px;line-height:1.6}
.c-breadcrumb__inner{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px}
.c-breadcrumb a{color:var(--navy);transition:color .3s ease}
.c-breadcrumb a:hover{color:var(--blue)}

/* Object / Project
-------------------------------------------------- */
.p-hero{padding-left:6vw}
.p-hero__inner{position:relative;height:clamp(590px,47vw,800px);overflow:hidden;border-radius:0 0 0 250px}
.p-hero__slider,.p-hero__slider .splide__track,.p-hero__slider .splide__list,.p-hero__slider .splide__slide{height:100%}
.p-hero__image{width:100%;height:100%;object-fit:cover}
.p-hero__shade{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(8,22,42,.58),rgba(8,22,42,.04) 70%)}
.p-hero__content{position:absolute;z-index:2;left:7%;bottom:14%;color:#fff}
.p-hero__title{font-size:64px;line-height:1.1;letter-spacing:.05em}
.p-hero__title em{font-size:85px;font-style:normal}
.p-hero__title span{color:var(--blue);font-size:100px}
.p-emergency{position:fixed;z-index:30;right:0;bottom:120px;display:flex;width:190px;padding:24px 18px;align-items:center;flex-direction:column;color:#fff;background:var(--navy);border-radius:24px 0 0 24px;text-align:center;line-height:1.35;box-shadow:0 10px 25px rgba(0,0,0,.18);transform:translateX(calc(100% + 30px));opacity:0;visibility:hidden;transition:transform .9s cubic-bezier(.22,1,.36,1),opacity .65s ease,visibility 0s linear .9s}
.p-emergency--visible{transform:translateX(0);opacity:1;visibility:visible;transition-delay:0s}
.c-back-to-top{position:fixed;z-index:31;right:28px;bottom:28px;display:flex;width:62px;height:62px;padding:8px 0 7px;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#fff;background:var(--blue);border:0;border-radius:50%;box-shadow:0 10px 28px rgba(23,54,99,.25);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(20px);transition:opacity .4s ease,transform .4s ease,visibility 0s linear .4s,background-color .3s ease,box-shadow .3s ease}
.c-back-to-top__icon{display:block;width:11px;height:11px;border-top:2px solid currentColor;border-left:2px solid currentColor;transform:rotate(45deg)}
.c-back-to-top__label{font-family:"Montserrat",sans-serif;font-size:11px;font-weight:700;line-height:1;letter-spacing:.08em}
.c-back-to-top--visible{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}
.c-back-to-top:hover{background:var(--navy);box-shadow:0 12px 32px rgba(23,54,99,.4)}
.c-back-to-top:focus-visible{outline:3px solid rgba(33,150,243,.35);outline-offset:4px}
.p-emergency__label{font-weight:700}
.p-emergency__route{width:100%;margin:12px 0;padding:6px;background:var(--blue);border-radius:5px;font-size:13px}
.p-emergency__tel{display:flex;align-items:center;justify-content:center;gap:8px;font-family:"Montserrat",sans-serif;font-size:27px;line-height:1}
.p-emergency__tel img{width:25px;height:48px;flex:0 0 25px;object-fit:contain}
.p-emergency__tel span{display:block;text-align:left}
.p-about{padding:110px 0 80px}
.p-about__inner{position:relative;display:grid;grid-template-columns:calc(50% - 43px) calc(50% - 43px);align-items:center;gap:86px}
.p-about__images{height:650px}
.p-about__image{width:100%;height:100%;object-fit:cover;border-radius:0 325px 325px 0;box-shadow:0 24px 55px rgba(33,150,243,.18)}
.has-reveal-animation .p-about__image{opacity:0;transform:translateX(-80px);transition:opacity 1.8s ease,transform 1.8s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
.has-reveal-animation .p-about__image.p-about__image--visible{opacity:1;transform:translateX(0)}
.has-reveal-animation .p-company__image{opacity:0;transform:translateX(80px);transition:opacity 1.8s ease,transform 1.8s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
.has-reveal-animation .p-company__image.p-company__image--visible{opacity:1;transform:translateX(0)}
.has-reveal-animation .p-contact{opacity:0;transform:translateY(80px);transition:opacity 1.8s ease,transform 1.8s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
.has-reveal-animation .p-contact.p-contact--visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){.has-reveal-animation .p-about__image,.has-reveal-animation .p-company__image,.has-reveal-animation .p-contact{opacity:1;transform:none;transition:none}}
.p-about__content{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:auto auto;padding:71px 150px 85px 0;column-gap:clamp(24px,3vw,52px)}
.p-about__vertical{position:static;display:flex;grid-column:2;grid-row:1/3;align-self:start;align-items:flex-start;gap:14px;color:var(--navy);font:800 110px/1 "Montserrat",sans-serif}
.p-about__vertical-en{font-size:inherit}
.p-about__vertical-ja{font-family:"Noto Sans JP",sans-serif;font-size:20px;font-weight:700;line-height:1.6;letter-spacing:.08em}
.p-about__heading{position:relative;grid-column:1;width:100%;font-size:clamp(22px,2.3vw,44px);line-height:1.6;white-space:nowrap}
.p-about__body{grid-column:1;width:100%;max-width:none;margin:70px 0 0}
.p-about__text{margin-bottom:28px}
.p-about__body .c-button{display:flex;width:max-content;margin-left:auto}
.p-service{padding:100px 0 120px;background:var(--pale)}
.p-service__heading-wrap{display:grid;grid-template-columns:1fr auto;align-items:end}
.p-service__heading,.p-service__text{grid-column:1}
.p-service__text{max-width:760px;margin-top:32px}
.p-service__link{grid-column:2;grid-row:1/3}
.p-service__list{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-top:70px}
.p-company{padding:130px 0 110px}
.p-company__inner{display:grid;grid-template-columns:1fr 1.2fr;align-items:center}
.p-company__content{display:flex;max-width:600px;margin-left:auto;padding:40px 50px 40px 24px;gap:45px}
.p-company__heading .c-heading__ja{writing-mode:vertical-rl}
.p-company__body{align-self:center}
.p-company__text{margin-bottom:34px}
.p-company__body .c-button{display:flex;width:max-content;margin-left:auto}
.p-company__images{height:650px}
.p-company__image{width:100%;height:100%;object-fit:cover;border-radius:325px 0 0 325px;box-shadow:0 24px 55px rgba(33,150,243,.18)}
.p-company__cards{display:grid;grid-template-columns:1fr 2fr;align-items:stretch;gap:28px;margin-top:70px}
.p-company__tel-card{display:flex;height:100%;padding:20px;flex-direction:column;color:#fff;background:var(--navy);border-radius:24px;transition:transform .3s ease,box-shadow .3s ease}
.p-company__card-label{padding:4px 8px;color:var(--navy);background:var(--pale);border-radius:7px;text-align:center;font-weight:700;line-height:1.4}
.p-company__tel-row{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:10px;margin:auto 0 0}
.p-company__tel-row>b{display:grid;width:58px;height:58px;place-items:center;color:var(--navy);background:#fff;border-radius:50%;font-size:32px;line-height:1}
.p-company__tel-row>b img{width:31px;height:31px;object-fit:contain}
.p-company__tel-row span{display:flex;flex-direction:column;font-weight:700;line-height:1.35}
.p-company__tel-row strong{font:700 36px/1.3 "Montserrat",sans-serif}
.p-company__tel-row i{font-size:46px;font-style:normal}
.p-company__map-card{display:grid;height:auto;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;gap:12px;padding:20px;border:3px solid var(--navy);border-radius:24px;transition:transform .3s ease,box-shadow .3s ease}
.p-company__tel-card:hover,.p-company__tel-card:focus-visible,.p-company__map-card:hover,.p-company__map-card:focus-visible{transform:translateY(-4px);box-shadow:0 14px 30px rgba(23,54,99,.22)}
.p-company__access{display:grid;height:auto;grid-template-columns:55px 1fr;align-content:start;column-gap:10px}
.p-company__access-icon{width:48px;height:100%;min-height:0;align-self:stretch;object-fit:contain}
.p-company__access span{display:flex;flex-direction:column;line-height:1.35}
.p-company__access strong{font-size:24px;line-height:1.15}
.p-company__access em{position:relative;display:flex;grid-column:1/-1;margin-top:6px;padding:0 52px 0 14px;align-items:stretch;justify-content:space-between;color:var(--navy);background:var(--pale);border-radius:7px;text-align:center;font-style:normal;font-weight:700}
.p-company__access em>span{display:flex;padding:4px 0;align-items:center;justify-content:center;flex:1;flex-direction:column;line-height:1.3}
.p-company__access em i{position:absolute;right:18px;top:50%;display:block;width:20px;height:28px;overflow:hidden;color:transparent;font-size:0;font-style:normal;transform:translateY(-50%)}
.p-company__access em i::before{position:absolute;left:0;top:50%;width:16px;height:16px;border-top:4px solid var(--navy);border-right:4px solid var(--navy);content:"";transform:translateY(-50%) rotate(45deg);transform-origin:center}
.p-company__access small{display:block}
.p-company__map-wrap{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;border-radius:16px}
.p-company__map{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.p-topics{padding:100px 0;background:linear-gradient(180deg,#2196f3,#83bcea);color:#fff}
.p-topics__inner{display:grid;grid-template-columns:270px 1fr;gap:80px}
.p-topics__heading .c-button{margin-top:55px}
.p-topics__list{color:var(--text)}
.p-cars{padding:110px 0 270px}
.p-cars__heading{display:inline-block}
.p-cars__text{margin:38px 0}
.p-cars__links{display:flex;justify-content:center;gap:30px}
.p-cars__link{display:grid;width:234px;height:60px;place-items:center;border:1px solid #e61b23;color:#e61b23;background:#fff;font-size:31px;font-weight:800;transition:box-shadow .25s,transform .25s}
.p-cars__link img{max-width:90%;max-height:55px;object-fit:contain}
.p-cars__link--goonet{border:0}
.p-cars__link--goonet img{width:234px;height:60px;max-width:100%;max-height:100%;object-fit:contain}
.p-cars__link:hover,.p-cars__link:focus-visible{box-shadow:0 0 0 4px rgba(230,27,35,.22),0 8px 22px rgba(230,27,35,.35);transform:translateY(-2px)}
.p-cars__link:active{box-shadow:0 0 0 3px rgba(230,27,35,.3),0 3px 10px rgba(230,27,35,.4);transform:translateY(0)}
.p-contact{position:relative;z-index:2;margin-top:-180px}
.p-contact__inner{display:grid;grid-template-columns:1fr 1fr;min-height:340px;padding:58px clamp(45px,7vw,110px);align-items:center;overflow:hidden;color:#fff;background:linear-gradient(rgba(4,14,27,.63),rgba(4,14,27,.63)),url("./assets/images/contact-bg.webp") center/cover;border-radius:170px}
.p-contact__text{margin-top:20px;line-height:1.7}
.p-contact__actions{display:flex;align-items:center;flex-direction:column}
.p-contact__tel{display:flex;align-items:center;justify-content:center;gap:5px;font-size:clamp(34px,4vw,58px);font-weight:800;line-height:1.2}
.p-contact__tel img{width:.72em;height:.72em;filter:brightness(0) invert(1);object-fit:contain}
.p-contact__button{display:flex;width:min(100%,440px);margin-top:22px;padding:14px 18px 14px 34px;align-items:center;justify-content:space-between;color:#fff;background:var(--blue);border-radius:50px;font-size:20px;font-weight:700}
.p-contact__button i{display:grid;width:54px;height:54px;place-items:center;color:var(--blue);background:#fff;border-radius:50%;font-size:24px;font-style:normal;transition:transform .3s,box-shadow .3s}
.p-contact__button:hover i{transform:translateX(5px);box-shadow:0 0 0 8px rgba(255,255,255,.2),0 0 28px rgba(255,255,255,.85)}
.p-footer{margin-top:-170px;padding:240px 0 75px}
.p-footer__inner{display:flex;align-items:center;flex-direction:column;text-align:center}
.p-footer__nav{order:1;width:100%;margin-bottom:50px;align-items:center;justify-content:center;flex-direction:row;gap:0 14px}
.p-footer__brand{display:flex;order:2;align-items:center;flex-direction:column}
.p-footer__logo{width:340px}
.p-footer__info{margin-top:24px;font-weight:600;text-align:center}
.p-footer__copyright{order:3;margin-top:50px;text-align:center}

/* Object / Project - About page
-------------------------------------------------- */
.p-page-hero{padding-left:12vw}
.p-page-hero__inner{position:relative;height:300px;overflow:hidden;border-radius:0 0 0 130px}
.p-page-hero__image{width:100%;height:100%;object-fit:cover;object-position:center 48%}
.p-page-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,24,38,.55),rgba(13,24,38,.18))}
.p-page-hero__content{position:absolute;left:7%;top:50%;color:#fff;transform:translateY(-50%)}
.p-page-hero__ja{font-weight:700}
.p-page-hero__title{font:800 clamp(46px,5vw,68px)/1.15 "Montserrat",sans-serif;letter-spacing:.04em}
.p-about-message{padding:100px 0 120px}
.p-about-message__inner{position:relative;display:grid;grid-template-columns:58% 42%;align-items:center}
.p-about-message__visual{height:720px;overflow:hidden;border-radius:0 200px 200px 0;box-shadow:0 24px 55px rgba(33,150,243,.16)}
.p-about-message__visual img{width:100%;height:100%;object-fit:cover}
.p-about-message__card{position:relative;z-index:2;margin-right:100px;margin-left:-140px;padding:80px 90px;background:#fff;border-radius:100px;box-shadow:0 22px 55px rgba(33,150,243,.15);line-height:1.3;transform:translateY(140px)}
.p-about-message__card h2{margin-bottom:38px;font-size:clamp(30px,3vw,44px);line-height:1.3}
.p-about-message__card p{line-height:1.8;text-align:justify;text-justify:inter-character}
.p-about-message__card p+p{margin-top:12px}
.p-strengths{padding:20px 0 150px}
.p-strengths__heading{text-align:center}
.p-strengths__heading p{text-align:center;font-size:20px;font-weight:700}
.p-strengths__heading h2{color:var(--navy);font:700 clamp(42px,5vw,64px)/1.2 "Montserrat",sans-serif;text-align:center}
.p-strengths__list{display:flex;margin-top:80px;flex-direction:column;gap:110px}
.p-strength-card{display:grid;width:min(88%,1480px);min-height:500px;padding:70px max(5vw,70px);grid-template-columns:1fr 1fr;align-items:center;gap:80px;background:#fff;border-radius:0 110px 110px 0;box-shadow:0 24px 55px rgba(33,150,243,.15)}
.has-reveal-animation .p-strength-card{opacity:0;transition:opacity 1.8s ease,transform 1.8s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
.has-reveal-animation .p-strength-card--from-left{transform:translateX(-80px)}
.has-reveal-animation .p-strength-card--from-right{transform:translateX(80px)}
.has-reveal-animation .p-strength-card.p-strength-card--visible{opacity:1;transform:translateX(0)}
@media (prefers-reduced-motion:reduce){.has-reveal-animation .p-strength-card{opacity:1;transform:none;transition:none}}
.p-strength-card--reverse{margin-left:auto;border-radius:110px 0 0 110px}
.p-strength-card--reverse .p-strength-card__content{grid-column:2;grid-row:1}
.p-strength-card--reverse .p-strength-card__image{grid-column:1;grid-row:1}
.p-strength-card__content h3{display:flex;margin-bottom:24px;align-items:flex-end;gap:24px;color:var(--navy);font-size:clamp(29px,3vw,43px);line-height:1.2}
.p-strength-card__content h3 span{font:700 clamp(70px,7vw,110px)/1 "Montserrat",sans-serif;transform:translateY(8px)}
.p-strength-card__content h4{margin-bottom:28px;font-size:19px}
.p-strength-card__image{width:100%;height:340px;object-fit:cover;border-radius:70px;box-shadow:0 18px 42px rgba(33,150,243,.14)}
.p-contact--lower{margin-top:0}

/* Object / Project - Service page
-------------------------------------------------- */
.p-service-page{padding:90px 0 150px}
.p-service-page__intro{margin:0 auto;color:#333;font-size:16px;line-height:1.7;text-align:center}
.p-service-page__grid{display:grid;margin-top:80px;grid-template-columns:repeat(2,minmax(0,1fr));gap:55px 44px}
.p-service-detail{overflow:hidden;background:#fff;border-radius:32px;box-shadow:0 22px 50px rgba(33,150,243,.16)}
.has-reveal-animation .p-service-page__grid .p-service-detail{opacity:0;transform:translateY(65px);transition:opacity 1.8s ease,transform 1.8s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
.has-reveal-animation .p-service-page__grid .p-service-detail.p-service-detail--visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){.has-reveal-animation .p-service-page__grid .p-service-detail{opacity:1;transform:none;transition:none}}
.p-service-detail__photo{width:100%;height:360px;object-fit:cover}
.p-service-detail__body{display:grid;min-height:245px;padding:34px 38px;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:30px}
.p-service-detail__icon{width:125px;height:125px;object-fit:contain}
.p-service-detail__content{min-width:0;padding-left:30px;border-left:1px solid #c9d5e2}
.p-service-detail__title{margin-bottom:18px;color:#173663;font-size:clamp(24px,2vw,32px);line-height:1.3}
.p-service-detail__text{line-height:1.85;text-align:justify;text-justify:inter-character}

/* Object / Project - Company page
-------------------------------------------------- */
.p-company-page-heading__ja{color:#333;font-size:20px;font-weight:700}
.p-company-page-heading__en{color:var(--navy);font:700 clamp(44px,5vw,64px)/1.1 "Montserrat",sans-serif;letter-spacing:.02em}
.p-company-message{padding:100px 0 150px}
.p-company-message__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:80px}
.p-company-message__gallery{position:relative;min-height:720px}
.p-company-message__president{width:82%;height:500px;margin-left:auto;object-fit:cover;border-radius:30px}
.p-company-message__shop{position:absolute;left:0;bottom:30px;width:48%;height:270px;object-fit:cover;border-radius:30px}
.p-company-message__car{position:absolute;right:0;bottom:0;width:34%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:30px}
.p-company-message__text{margin-top:55px}
.p-company-message__text p{line-height:1.8;text-align:justify;text-justify:inter-character}
.p-company-message__text p+p{margin-top:24px}
.p-company-message__signature{text-align:right!important;font-weight:500}
.p-company-profile{padding:105px 0 125px;background:var(--pale)}
.p-company-profile__list{display:flex;margin-top:55px;flex-direction:column;gap:12px}
.p-company-profile__row{display:grid;min-height:88px;padding:24px 70px;grid-template-columns:200px 1fr;align-items:center;background:#fff;border-radius:20px}
.p-company-profile__row dt{font-weight:700}
.p-company-profile__row dd{min-width:0}
.p-company-profile__row a{text-decoration:underline;text-underline-offset:4px}
.p-company-access-page{padding:110px 0 200px}
.p-company-access-page__lead{margin-top:40px;font-weight:500;line-height:1.5}
.p-company-access-page__map{position:relative;display:block;margin-top:22px;overflow:hidden;border-radius:30px}
.p-company-access-page__map iframe{display:block;width:100%;height:400px;border:0}
.p-company-access-page__map>a{position:absolute;right:22px;bottom:20px;padding:13px 18px 13px 24px;color:#fff;background:var(--navy);border-radius:40px;font-weight:700}
.p-company-access-page__map i{display:inline-grid;width:34px;height:34px;margin-left:14px;place-items:center;color:var(--navy);background:#fff;border-radius:50%;font-style:normal;transition:transform .3s}
.p-company-access-page__map>a:hover i{transform:translateX(4px)}

/* Object / Project - Topics pages
-------------------------------------------------- */
.p-topics-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:70px}
.p-topics-layout__main{min-width:0}
.p-topics-page{padding:100px 0 200px}
.p-topics-page__title{margin-bottom:50px;color:var(--navy);font-size:clamp(28px,3vw,40px)}
.p-topics-page__list{border-top:1px solid #cbd7e2}
.p-topics-page__item{border-bottom:1px solid #cbd7e2}
.p-topics-page__item a{display:grid;min-height:105px;padding:25px 18px;grid-template-columns:max-content max-content minmax(0,1fr) 44px;align-items:center;gap:20px;transition:color .25s}
.p-topics-page__item a:hover{color:var(--blue)}
.p-topics-page__item time{width:max-content;font-family:"Montserrat",sans-serif}
.p-topics-page__item span,.p-topic-detail__meta span{padding:3px 12px;color:#fff;background:var(--blue);border-radius:6px;font-size:13px}
.p-topics-page__item strong{font-weight:500}
.p-topics-page__item i{display:grid;width:44px;height:44px;place-items:center;color:#fff;background:var(--blue);border-radius:50%;font-style:normal;transition:transform .25s}
.p-topics-page__item a:hover i{transform:translateX(4px)}
.p-topics-page__pagination{display:flex;margin-top:55px;align-items:center;justify-content:center;gap:12px}
.p-topics-page__pagination a{display:grid;width:46px;height:46px;place-items:center;color:var(--navy);border:1px solid var(--navy);border-radius:50%;font-family:"Montserrat",sans-serif;font-weight:700}
.p-topics-page__pagination a.is-current,.p-topics-page__pagination a:hover{color:#fff;background:var(--navy)}
.p-topic-detail{padding:100px 0 200px}
.p-topic-detail__inner{width:100%}
.p-topic-detail__header{padding-bottom:38px;border-bottom:1px solid #cbd7e2}
.p-topic-detail__meta{display:flex;margin-bottom:20px;align-items:center;gap:20px}
.p-topic-detail__header h2{color:var(--navy);font-size:clamp(28px,3.2vw,44px);line-height:1.45}
.p-topic-detail__body{padding:55px 0}
.p-topic-detail__body p{line-height:2;text-align:justify;text-justify:inter-character}
.p-topic-detail__body p+p{margin-top:28px}
.p-topic-detail__back{display:flex;width:max-content;margin-left:auto}
.p-topic-detail__back i::before{content:"←"}
.p-topics-sidebar{display:flex;flex-direction:column;gap:30px}
.p-topics-sidebar__block{padding:28px 25px;background:var(--pale);border-radius:24px}
.p-topics-sidebar__block h2{margin-bottom:20px;padding-bottom:12px;color:var(--navy);border-bottom:2px solid var(--blue);font-size:20px}
.p-topics-sidebar__block li+li{border-top:1px solid rgba(23,54,99,.18)}
.p-topics-sidebar__block li>a{display:flex;padding:14px 2px;flex-direction:column;line-height:1.6;transition:color .25s}
.p-topics-sidebar__block li>a:hover{color:var(--blue)}
.p-topics-sidebar__block time{color:#64778d;font:600 12px/1.4 "Montserrat",sans-serif}
.p-topics-sidebar__block li>a>span{margin-top:4px}
.p-topics-sidebar__links li>a{align-items:center;justify-content:space-between;flex-direction:row}
.p-topics-sidebar__links li>a>span{display:grid;min-width:28px;height:28px;margin:0;place-items:center;color:#fff;background:var(--blue);border-radius:50%;font-size:12px}

/* Object / Project - Privacy policy
-------------------------------------------------- */
.p-policy{padding:100px 0 200px}
.p-policy__content{width:min(100%,1000px);margin-inline:auto}
.p-policy__content>h2{margin-bottom:28px;color:var(--navy);font-size:clamp(30px,3.5vw,44px)}
.p-policy__content>p{line-height:2}
.p-policy__section{margin-top:55px}
.p-policy__section h3{margin-bottom:20px;padding:14px 20px;color:var(--navy);background:var(--pale);border-left:6px solid var(--blue);border-radius:0 12px 12px 0;font-size:22px}
.p-policy__section p,.p-policy__section li{line-height:2;text-align:justify;text-justify:inter-character}
.p-policy__section ol{margin:14px 0 0;padding-left:1.7em}
.p-policy__section ol>li{padding-left:.35em}
.p-policy__section ol>li+li{margin-top:10px}
.p-policy__section ol ol{margin-top:10px}
.p-policy__section address{margin-top:18px;padding:24px 28px;background:#f4f8fb;border-radius:18px;font-style:normal;line-height:2}
.p-policy__section address a{color:var(--blue);font-family:"Montserrat",sans-serif;font-weight:700;text-decoration:underline;text-underline-offset:4px}

/* Object / Project - Contact page
-------------------------------------------------- */
.p-contact-page{padding:100px 0 150px}
.p-contact-page__inner{width:min(100% - 48px,1000px)}
.p-contact-page__intro{text-align:center}
.p-contact-page__intro h2{color:var(--navy);font-size:clamp(30px,3.5vw,44px)}
.p-contact-page__intro>p{margin-top:24px;text-align:center;line-height:2}
.p-contact-page__numbers{display:grid;margin-top:45px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.p-contact-page__tel{display:flex;min-width:0;padding:25px 24px;align-items:center;justify-content:center;flex-direction:column;color:#fff;background:var(--navy);border-radius:24px}
.p-contact-page__tel span{font-weight:700}
.p-contact-page__tel a,.p-contact-page__tel strong{display:flex;align-items:center;justify-content:center;gap:14px;font:800 clamp(28px,3vw,40px)/1.3 "Montserrat",sans-serif;white-space:nowrap}
.p-contact-page__tel a img,.p-contact-page__tel strong img{width:32px;height:32px;filter:brightness(0) invert(1);object-fit:contain}
.p-contact-page__tel small{text-align:center}
.p-contact-page__form{margin-top:75px}
.p-footer--standalone{margin-top:0;padding-top:75px}

/* Object / Utility
-------------------------------------------------- */
.u-text-center{text-align:center}
.u-text-vertical{writing-mode:vertical-rl;font-family:"Montserrat",sans-serif}
.u-text-blue{color:var(--blue)}
.u-hidden-pc{display:none!important}

@media (min-width:1101px) and (max-width:1500px){
  .l-header__inner{gap:20px}
  .l-header__logo{flex-basis:290px}
  .l-header__nav-list{gap:16px}
  .l-header__nav-link{font-size:14px}
  .l-header__nav-link--contact{padding:11px 22px}
  .p-about__content{padding-right:clamp(90px,10vw,150px);column-gap:clamp(18px,2.2vw,32px)}
  .p-about__vertical{gap:12px;font-size:clamp(70px,7vw,95px)}
  .p-about__vertical-ja{font-size:18px}
  .p-about__heading{font-size:clamp(21px,2.1vw,28px)}
}

@media (max-width:1100px){
  .l-header__inner{width:min(100% - 32px,1000px);padding-block:18px;align-items:flex-start;flex-direction:column;gap:12px}
  .l-header__logo{flex:auto;width:280px}
  .l-header__nav{width:100%;overflow-x:auto}
  .l-header__nav-list{justify-content:flex-start;gap:22px}
  .l-header__nav-link{font-size:14px}
  .p-about__inner{grid-template-columns:calc(50% - 43px) calc(50% - 43px)}
  .p-about__content{padding:60px clamp(24px,5vw,70px) 60px 0;column-gap:clamp(12px,2vw,24px)}
  .p-about__vertical{font-size:52px}
  .p-about__vertical-ja{font-size:17px}
  .p-about__heading{font-size:clamp(18px,2.25vw,25px)}
  .p-about__body{margin-right:0}
  .p-service__list{gap:20px}
  .p-company__content{gap:22px}
  .p-company__cards{grid-template-columns:1fr}
  .p-about-message__card{margin-left:-90px;padding:60px 55px;border-radius:70px;transform:translateY(90px)}
  .p-strength-card{gap:45px;padding:55px}
  .p-service-detail__photo{height:300px}
  .p-service-detail__body{padding:28px 24px;grid-template-columns:105px minmax(0,1fr);gap:22px}
  .p-service-detail__icon{width:105px;height:105px}
  .p-service-detail__content{padding-left:22px}
  .p-company-message__inner{gap:45px}
  .p-company-message__gallery{min-height:650px}
  .p-company-message__president{height:450px}
  .p-company-message__text{margin-top:40px}
  .p-company-profile__row{padding-inline:45px;grid-template-columns:175px 1fr}
}

@media (max-width:767px){
  body{font-size:14px;line-height:1.85}
  .l-header__inner{position:relative;width:100%;min-height:68px;padding:8px 18px;align-items:center;justify-content:space-between;flex-direction:row;gap:16px}
  .l-header__logo{width:200px;max-width:200px;flex:0 0 200px}
  .l-header__menu-toggle{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
  .l-header__menu-button{display:flex;width:38px;height:38px;flex:0 0 38px;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:var(--blue);cursor:pointer}
  .l-header__menu-button span{display:block;width:28px;height:3px;background:currentColor;border-radius:3px;transition:transform .3s,opacity .3s}
  .l-header__nav{position:absolute;top:100%;left:0;width:100%;max-height:0;overflow:hidden;background:#fff;box-shadow:0 14px 24px rgba(23,54,99,.14);transition:max-height .35s ease}
  .l-header__nav-list{padding:18px;align-items:stretch;flex-direction:column;gap:0}
  .l-header__nav-item{border-bottom:1px solid #dce7f0}
  .l-header__nav-item:last-child{border-bottom:0}
  .l-header__nav-link{padding:13px 8px;color:var(--blue)}
  .l-header__nav-link--contact{margin-top:10px;padding:9px 18px;text-align:center}
  .l-header__menu-toggle:checked~.l-header__nav{max-height:460px}
  .l-header__menu-toggle:checked+.l-header__menu-button span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .l-header__menu-toggle:checked+.l-header__menu-button span:nth-child(2){opacity:0}
  .l-header__menu-toggle:checked+.l-header__menu-button span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
  .l-container{width:min(100% - 36px,600px)}
  .c-heading__ja{font-size:16px}
  .c-heading__en{font-size:38px}
  .c-button i{width:58px;height:58px;flex-basis:58px}
  .c-service-card{min-height:175px;padding:18px 10px;border-radius:24px}
  .c-service-card__image{height:105px}
  .c-service-card__title{font-size:15px}
  .c-news-list__item a{width:100%;grid-template-columns:max-content max-content 1fr;padding:18px 20px;column-gap:20px;row-gap:8px;justify-content:stretch;justify-items:start;border-radius:24px;text-align:left}
  .c-news-list,.c-news-list__item{width:100%}
  .c-news-list__item time{grid-column:1;width:max-content;justify-self:start;text-align:left}
  .c-news-list__item span{grid-column:2;width:max-content;justify-self:start;text-align:left}
  .c-news-list__item strong{grid-column:1/-1}
  .p-hero{padding-left:18px}
  .p-hero__inner{height:570px;border-radius:0 0 0 120px}
  .p-hero__image{object-position:60% center}
  .p-hero__slider .splide__slide:nth-child(2) .p-hero__image,
  .p-hero__slider .splide__slide:nth-child(3) .p-hero__image{object-position:left center}
  .p-hero__content{left:7%;bottom:12%}
  .p-hero__title{font-size:29px}
  .p-hero__title em{font-size:1.2em}
  .p-hero__title span{font-size:1.7em}
  .p-emergency{top:auto;bottom:0;width:100%;height:68px;padding:8px 16px;align-items:center;justify-content:center;flex-direction:row;border-radius:0;gap:12px;transform:none;opacity:1;visibility:visible;transition:none}
  .c-back-to-top{right:16px;bottom:84px;width:54px;height:54px}
  .c-back-to-top__icon{width:10px;height:10px}
  .c-back-to-top__label{font-size:10px}
  .p-emergency__label{font-size:16px;line-height:1.35}
  .p-emergency__route{display:none}
  .p-emergency__tel{font-size:26px;white-space:nowrap}
  .p-emergency__tel br{display:none}
  .p-about{padding:75px 0 55px}
  .p-about__inner{display:block}
  .p-about__images{width:88%;height:350px}
  .p-about__image{border-radius:0 175px 175px 0}
  .p-about__content{display:block;margin:-35px 18px 0 40px;padding:65px 24px 55px}
  .p-about__vertical{margin-bottom:20px;align-items:flex-end;writing-mode:horizontal-tb;font-size:38px}
  .p-about__vertical .u-text-vertical{writing-mode:horizontal-tb}
  .p-about__vertical-ja{font-size:16px;line-height:1.5}
  .p-about__heading{font-size:25px}
  .p-about__body{margin:26px 0 0}
  .p-about__body .c-button{margin-left:auto}
  .p-service{padding:70px 0}
  .p-service__heading-wrap{display:block}
  .p-service__text{margin-top:22px}
  .p-service__link{margin-top:24px}
  .p-service__list{grid-template-columns:repeat(2,1fr);gap:14px;margin-top:45px}
  .p-company{padding:75px 0 70px}
  .p-company__inner{display:flex;flex-direction:column}
  .p-company__content{width:100%;padding:0 18px 45px;flex-direction:column;gap:20px}
  .p-company__heading{display:block}
  .p-company__heading .c-heading__ja,.p-company__heading .c-heading__en{writing-mode:horizontal-tb}
  .p-company__text{margin-bottom:24px}
  .p-company__images{width:90%;height:350px;margin-left:auto}
  .p-company__image{border-radius:175px 0 0 175px}
  .p-company__cards{margin-top:38px;gap:18px}
  .p-company__tel-row{grid-template-columns:48px minmax(0,1fr) 20px;gap:8px}
  .p-company__tel-row>b{width:48px;height:48px}
  .p-company__tel-row>b img{width:27px;height:27px}
  .p-company__tel-row strong{font-size:35px;white-space:nowrap}
  .p-company__tel-row i{position:relative;display:block;width:20px;height:28px;overflow:hidden;color:transparent;font-size:0}
  .p-company__tel-row i::before{position:absolute;left:0;top:50%;width:16px;height:16px;border-top:4px solid #fff;border-right:4px solid #fff;content:"";transform:translateY(-50%) rotate(45deg);transform-origin:center}
  .p-company__map-card{grid-template-columns:1fr;padding:16px}
  .p-company__map-wrap{min-height:150px}
  .p-topics{padding:70px 0}
  .p-topics__inner{grid-template-columns:1fr;gap:40px}
  .p-topics__heading{display:flex;align-items:end;justify-content:space-between}
  .p-topics__heading .c-button{margin-top:0}
  .p-cars{padding:75px 0 190px}
  .p-cars__links{align-items:center;flex-direction:column;gap:16px}
  .p-cars__link{width:min(100%,234px);height:60px}
  .p-cars__link--goonet img{width:100%;height:100%}
  .p-contact{margin-top:-130px}
  .p-contact__inner{grid-template-columns:1fr;min-height:520px;padding:70px 36px;border-radius:50px;gap:30px}
  .p-contact__actions{align-items:flex-start}
  .p-contact__button{font-size:16px}
  .p-footer{margin-top:-130px;padding:180px 0 100px}
  .p-footer__inner{gap:0;text-align:center}
  .p-footer__nav{margin-bottom:40px}
  .p-footer__brand{display:flex;align-items:center;flex-direction:column}
  .p-footer__logo{width:280px}
  .p-footer__info{text-align:center}
  .p-footer__nav{display:flex;width:100%;max-width:390px;align-items:center;justify-content:center;flex-flow:row wrap;gap:4px 10px}
  .p-footer__nav .c-footer-nav__row{display:contents}
  .p-footer__copyright{margin-top:50px;text-align:center}
  .p-page-hero{display:block;padding-left:18px}
  .p-page-hero__inner{height:210px;border-radius:0 0 0 90px}
  .p-page-hero__content{left:8%}
  .p-page-hero__title{font-size:42px}
  .p-page-hero__title--policy{font-size:30px}
  .p-about-message{padding:70px 0 85px}
  .p-about-message__inner{display:block}
  .p-about-message__visual{width:92%;height:390px;border-radius:0 100px 100px 0}
  .p-about-message__card{width:calc(100% - 36px);margin:-55px 18px 0;padding:50px 28px;border-radius:55px;transform:none}
  .p-about-message__card h2{margin-bottom:25px;font-size:25px}
  .p-strengths{padding-bottom:100px}
  .p-strengths__heading h2{font-size:34px}
  .p-strengths__list{margin-top:50px;gap:60px}
  .p-strength-card,.p-strength-card--reverse{display:flex;width:calc(100% - 18px);min-height:0;margin:0;padding:45px 24px;flex-direction:column;gap:30px;border-radius:0 55px 55px 0}
  .p-strength-card--reverse{margin-left:18px;border-radius:55px 0 0 55px}
  .p-strength-card--reverse .p-strength-card__content,.p-strength-card--reverse .p-strength-card__image{grid-column:auto;grid-row:auto}
  .p-strength-card__content h3{gap:14px;font-size:25px}
  .p-strength-card__content h3 span{font-size:62px;transform:translateY(5px)}
  .p-strength-card__content h4{font-size:16px}
  .p-strength-card__image{height:240px;border-radius:42px}
  .p-service-page{padding:65px 0 100px}
  .p-service-page__intro{font-size:16px;text-align:left}
  .p-service-page__grid{margin-top:45px;grid-template-columns:1fr;gap:35px}
  .p-service-detail{border-radius:24px}
  .p-service-detail__photo{height:240px}
  .p-service-detail__body{min-height:0;padding:25px 20px;grid-template-columns:100px minmax(0,1fr);gap:18px}
  .p-service-detail__icon{width:100px;height:100px}
  .p-service-detail__content{padding-left:18px}
  .p-service-detail__title{margin-bottom:10px;font-size:23px}
  .p-service-detail__text{line-height:1.75}
  .p-company-page-heading__ja{font-size:16px}
  .p-company-page-heading__en{font-size:39px}
  .p-company-message{padding:70px 0 90px}
  .p-company-message__inner{display:flex;flex-direction:column;gap:55px}
  .p-company-message__content{order:1}
  .p-company-message__gallery{order:2}
  .p-company-message__gallery{width:100%;min-height:500px}
  .p-company-message__president{width:88%;height:350px}
  .p-company-message__shop{bottom:20px;width:50%;height:195px}
  .p-company-message__car{width:34%;height:auto;aspect-ratio:1/1}
  .p-company-message__text{margin-top:32px}
  .p-company-message__text p+p{margin-top:18px}
  .p-company-profile{padding:70px 0 85px}
  .p-company-profile__list{margin-top:35px;gap:9px}
  .p-company-profile__row{display:grid;min-height:0;padding:20px 22px;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:14px;border-radius:15px}
  .p-company-profile__row dt{margin-bottom:0;color:var(--navy)}
  .p-company-profile__row dd{margin-inline-start:0}
  .p-company-access-page{padding:75px 0 100px}
  .p-company-access-page__lead{margin-top:28px}
  .p-company-access-page__map{border-radius:22px}
  .p-company-access-page__map iframe{height:270px}
  .p-company-access-page__map>a{right:12px;bottom:12px;padding:10px 12px 10px 18px;font-size:13px}
  .p-topics-page{padding:70px 0 135px}
  .p-topics-layout{grid-template-columns:1fr;gap:60px}
  .p-topics-page__title{margin-bottom:30px;font-size:27px}
  .p-topics-page__item a{min-height:0;padding:22px 8px;grid-template-columns:max-content max-content 1fr;gap:8px 16px}
  .p-topics-page__item strong{grid-column:1/-1}
  .p-topics-page__item i{display:none}
  .p-topics-page__pagination{margin-top:40px}
  .p-topic-detail{padding:70px 0 135px}
  .p-topic-detail__inner{width:100%}
  .p-topic-detail__header{padding-bottom:28px}
  .p-topic-detail__meta{margin-bottom:15px}
  .p-topic-detail__header h2{font-size:26px}
  .p-topic-detail__body{padding:38px 0}
  .p-topic-detail__body p+p{margin-top:22px}
  .p-topics-sidebar{width:100%;gap:22px}
  .p-topics-sidebar__block{padding:24px 20px;border-radius:20px}
  .p-policy{padding:70px 0 135px}
  .p-policy__content>h2{margin-bottom:22px;font-size:27px}
  .p-policy__section{margin-top:42px}
  .p-policy__section h3{margin-bottom:16px;padding:12px 14px;border-left-width:5px;font-size:18px}
  .p-policy__section ol{padding-left:1.45em}
  .p-policy__section address{padding:20px 18px;border-radius:15px}
  .p-contact-page{padding:70px 0 100px}
  .p-contact-page__inner{width:min(100% - 36px,600px)}
  .p-contact-page__intro h2{font-size:27px}
  .p-contact-page__intro>p{margin-top:18px;text-align:left}
  .p-contact-page__intro>p br{display:none}
  .p-contact-page__numbers{margin-top:32px;grid-template-columns:1fr;gap:16px}
  .p-contact-page__tel{padding:22px 18px;border-radius:20px}
  .p-contact-page__tel a,.p-contact-page__tel strong{font-size:30px}
  .p-contact-page__tel a img,.p-contact-page__tel strong img{width:27px;height:27px}
  .p-contact-page__form{margin-top:50px}
  .p-footer--standalone{margin-top:0;padding-top:75px}
  .p-contact--lower{margin-top:0}
  .u-hidden-sp{display:none!important}
  .u-hidden-pc{display:block!important}
}

.p-contact-page__notes{margin-top:32px;color:#555;font-size:14px;line-height:1.8}
.p-contact-page__notes p+p{margin-top:16px}

/* Representative message single-image layout */
.p-company-message__inner{align-items:center}
.p-company-message__gallery{display:flex;min-height:0;align-items:center;justify-content:center}
.p-company-message__president{width:100%;height:500px;margin-left:0;object-fit:cover}
@media (min-width:768px) and (max-width:1023px){.p-company-message__president{height:450px}}
@media (max-width:767px){.p-company-message__gallery{width:100%;min-height:0}.p-company-message__president{width:100%;height:350px}}

/* Company history gallery */
.p-company-message__history{display:grid;margin-top:80px;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.p-company-message__history img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:20px}
@media (max-width:767px){.p-company-message__history{margin-top:55px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.p-company-message__history img{border-radius:14px}}

/* About message card overlap */
@media (min-width:1024px){.p-about-message__card{margin-left:-90px}}


/* Company emergency cards layout */
.p-company__cards{grid-template-columns:repeat(3,minmax(0,1fr));}
.p-company__map-card{grid-column:1/-1;}
@media (max-width:1100px){.p-company__cards{grid-template-columns:1fr;}}

/* Company phone cards row */
.p-company__cards{grid-template-columns:1fr;}
.p-company__tel-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
@media (max-width:1100px){.p-company__tel-cards{grid-template-columns:1fr;}}

/* Company phone card colors */
.p-company__tel-cards>.p-company__tel-card:nth-child(2){background:#176343;}
.p-company__tel-cards>.p-company__tel-card:nth-child(3){background:#631748;}

/* Company map access single line */
.p-company__map-card .p-company__access strong{white-space:nowrap;}

/* Middle company phone card label */
.p-company__tel-cards>.p-company__tel-card:nth-child(2) .p-company__card-label{background:#90e1bf;}

/* Restore company map access wrapping */
.p-company__map-card .p-company__access strong{white-space:normal;}

/* Company cards two-row layout */
.p-company__cards{grid-template-columns:repeat(6,minmax(0,1fr));}
.p-company__tel-cards{display:contents;}
.p-company__tel-cards>.p-company__tel-card:nth-child(1){grid-column:1/3;grid-row:1;}
.p-company__tel-cards>.p-company__tel-card:nth-child(2){grid-column:1/4;grid-row:2;}
.p-company__tel-cards>.p-company__tel-card:nth-child(3){grid-column:4/7;grid-row:2;}
.p-company__map-card{grid-column:3/7;grid-row:1;}
@media (max-width:1100px){.p-company__cards{grid-template-columns:1fr;}.p-company__tel-cards>.p-company__tel-card,.p-company__map-card{grid-column:auto;grid-row:auto;}}

/* After-hours card labels */
.p-company__after-hours-cards .p-company__card-label{background:#fff;}

.p-company__after-hours-cards>.p-company__tel-card:first-child .p-company__card-label,.p-company__after-hours-cards>.p-company__tel-card:last-child .p-company__card-label{background:#fff;}

/* Primary company phone card label */
.p-company__tel-cards>.p-company__tel-card:first-child .p-company__card-label{background:#fff;}

/* Restore primary phone card label color */
.p-company__tel-cards>.p-company__tel-card:first-child .p-company__card-label{background:var(--pale);}

/* Mobile company card order enforcement */
@media (max-width:767px){.p-company__tel-cards>.p-company__tel-card:first-child,.p-company__after-hours,.p-company__map-card{grid-column:auto!important;grid-row:auto!important;}.p-company__tel-cards>.p-company__tel-card:first-child{order:1!important;}.p-company__after-hours{order:2!important;}.p-company__map-card{order:3!important;}}

/* After-hours contact icons */
.p-company__after-hours-cards .p-company__tel-row>b img{width:42px;height:42px;object-fit:contain;}

/* Mobile company card label gap */
@media (max-width:767px){.p-company__tel-card .p-company__card-label{margin-bottom:12px;}}

/* Mobile after-hours padding */
@media (max-width:767px){.p-company__after-hours{padding:16px;}}


/* After-hours contact row alignment */
.p-company__after-hours-cards .p-company__tel-row{
  grid-template-columns:64px max-content 24px;
  justify-content:center;
  align-items:center;
}
.p-company__after-hours-cards .p-company__tel-row>b{
  width:64px;
  height:64px;
}
.p-company__after-hours-cards .p-company__tel-row>b img{
  width:48px;
  height:48px;
}
@media (max-width:767px){
  .p-company__after-hours-cards .p-company__tel-row{
    grid-template-columns:56px minmax(0,1fr) 20px;
  }
  .p-company__after-hours-cards .p-company__tel-row>b{
    width:56px;
    height:56px;
  }
  .p-company__after-hours-cards .p-company__tel-row>b img{
    width:42px;
    height:42px;
  }
}


/* After-hours card bottom padding */
.p-company__after-hours .p-company__tel-card{padding-bottom:10px}


/* Phone consultation card bottom padding */
.p-company__cards>.p-company__tel-card:first-child{padding-bottom:15px}


/* Phone consultation card bottom padding wrapper fix */
.p-company__tel-cards>.p-company__tel-card:first-child{padding-bottom:15px}


/* Mobile after-hours phone number fit */
@media (max-width:767px){
  .p-company__after-hours-cards .p-company__tel-row span{min-width:0}
  .p-company__after-hours-cards .p-company__tel-row strong{font-size:clamp(20px,6.5vw,28px);letter-spacing:-.02em}
}


/* Sompo Japan after-hours heading */
.p-company__after-hours-heading{
  margin-bottom:8px;
  color:var(--navy);
  text-align:center;
  font-size:24px;
  font-weight:700;
  line-height:1.4;
}
@media (max-width:767px){
  .p-company__after-hours-heading{font-size:20px}
}

/* Topics spacing while cars section is hidden */
.p-topics{padding-bottom:280px}
@media (max-width:767px){.p-topics{padding-bottom:200px}}
