/* 基本設定と変数 */
:root {
    --fm-green: #00a33e;
    --fm-blue: #008cd6;
    --fm-dark: #333333;
    --fm-light: #f8fafc;
    --white: #ffffff;
    --text-gray: #4b5563;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --space-section: clamp(64px, 10vw, 120px);
    --space-container: clamp(16px, 5vw, 24px);
}
p{
    margin: 0;
}

/* --- ヒーローセクション --- */
.hero-section {
    position: relative;
    max-height: 90%;
    display: flex;
    padding-top: 5rem; /* pt-20 相当 */
}

.about-hero {
    position: relative;
    min-height: 500px;
    height: 70vh; /* 画面高に合わせる */
    max-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background-image: url('../image/policy-top.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.top-container{
    width: 100%;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    background-image: url('../image/image_3.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: block;
    height: 100%;
}



.hero-main-content {
    display: inline-table;
    height: 50%;
    backdrop-filter: blur(4px); /* backdrop-blur-md 相当 */
    padding: 2rem; /* p-8 相当 */
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-white);
    border-radius: 5%;
    max-width: 100%; /* md:w-full lg:w-11/12 xl:w-full を考慮し、レスポンシブで調整 */
    transform: translateY(1rem) scale(0.9);
}

@media (min-width: 768px) {
    .hero-content-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 相当 */
        gap: 3rem; /* gap-12 相当 */
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-white);
    border: 1px solid var(--fm-blue);
    color: var(--fm-blue);
    padding: 0.375rem 1rem; /* px-4 py-1.5 相当 */
    border-radius: 9999px;
    font-weight: bold;
    margin-bottom: 1.5rem; /* mb-6 相当 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm 相当 */
}

.hero-badge span {
    font-size: 17px;
}

.hero-title {
    font-size: 2.5rem; /* 3xl/5xl / style="font-size: 2.5rem;" */
    font-weight: 900; /* font-black 相当 */
    line-height: 1.5;
    margin-bottom: 1.5rem; /* mb-6 相当 */
    color: var(--color-gray-800);
}

.hero-title .text-highlight {
    color: var(--fm-green);
    background-color: #f0fff4; /* green-50 相当 */
    padding: 0 0.5rem; /* px-2 相当 */
}

.hero-subtitle {
    color: var(--color-gray-600);
    font-size: 1.125rem; /* text-lg 相当 */
    margin-bottom: 2rem; /* mb-8 相当 */
    line-height: 1.625; /* leading-relaxed 相当 */
}

.hero-action {
    display: flex;
    flex-direction: column; /* flex-col 相当 */
    gap: 1rem; /* gap-4 相当 */
}

@media (min-width: 640px) {
    .hero-action {
        flex-direction: row; /* sm:flex-row 相当 */
    }
}
.label-green-border {
    display: inline-block;
    border-bottom: 2px solid var(--fm-green);
    margin-bottom: 24px;
    padding-bottom: 4px;
}

.label-en {
    color: var(--fm-green);
    font-weight: bold;
    letter-spacing: 0.15em;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.page-title {
    /* 画面幅に応じて40px〜56pxに変化 */
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    word-break: keep-all;
    font-weight: bold;
    color: #374151;
}

.text-blue {
    color: var(--fm-blue);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 40px;
    fill: white;
}



/* プライバシーポリシー */
.policy-section{
    width: 100%;
    margin: auto;
    max-width: 1200px;
    display: grid;
    margin-bottom: clamp(3rem, 16vh, 8rem);
}

@media(max-width:1360px){
    .policy-section{
        width: 90%;
    }
}

/* 大見出し */
.policy-heading{
    display: block;
    font-size: clamp(26px,3.3vh,2.5rem);
    text-align: center;
    color: var(--fm-blue);
    font-weight: 700;
    line-height: 2.0;
    margin-top: clamp(9rem,28vh,16rem);
    margin-bottom: clamp(3rem,9vh,9rem);
}

/* 文字のひとかたまり */
.policy-textblock{
    margin: 1rem 0;
    line-height: 2.0;
}

/* 見出し */
.policy-textblock p{
    font-size: clamp(20px,1.8vh,1.4rem);
    font-weight: 700;
    margin-top: 2.5rem;
}

/* 線で囲まれてる見出し */
.policy-heading-block{
    border: 1px solid var(--fm-dark);
    margin: 0 auto;
    text-align: center;
    max-width: 842px;
}

/* 委託保険会社の一覧表 */
.policy-table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--fm-dark);
}

.policy-table td{
    padding: 0.5rem;
    border-collapse: collapse;
    border: 1px solid var(--fm-dark);
}

/* 表の見出し */
.policy-table-head{
    background-color: #B2B3B2;
    color: #fff;
    text-align: center;
}

/* 安全管理措置に関するご質問 */
.policy-textblock-indent{
    padding-left: 2rem;
    margin: 1.0rem 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.policy-textblock-indent p{
    font-weight: 700;
}

.policy-textblock-right{
    margin: 1.5rem 0;
    line-height: 1.5;
    text-align: right;
}

.site-policy-textblock h2{
    font-size: clamp(22px,2.4vh,2.0rem);
    text-align: center;
    font-weight: 700;
    line-height: 2.0;
    margin-top: clamp(3rem,9vh,6rem);
    margin-bottom: clamp(3rem,9vh,9rem);
}


/* 問合せ情報 */
.contact-about{
    width: calc(100% - 1rem);
    background-color: #98CBCC;
    padding: 0.5rem;
}

/* 問合せの親要素 */
.contact-about-flex{
    display: flex;
    width: 90%;
    margin: 2rem 5%;
}

/* 問合せ情報の左側 */
.contact-space-left{
    width: 50%;
}

/* 問合せ情報の左側 */
.contact-about-bike{
    background-color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
}

/* バイク保険の見出し */
.about-bike-heading{
    color: var(--fm-blue);
    font-size: clamp(17px,2.6vh,2.6rem);
    font-weight: 700;
    text-align: center;
}

/* 問い合わせ内容の見出し */
.about-bike-heading2{
    color: var(--fm-green);
    font-size: clamp(17px,2.3vh,2.3rem);
    font-weight: 700;
    margin: 2rem 0;
}

/* 連絡先の名称 */
.about-bike-heading3{
    font-size: clamp(16px,1.3vh,1.3rem);
    color: var(--fm-dark);
    font-weight: 700;
}

/* 電話番号 */
.about-bike-heading4{
    font-size: clamp(20px,4.0vh,4.0rem);
    line-height: 2.5;
    font-weight: 700;
}

/* 問い合わせ要素の右側の空間 */
.contact-space-right{
    width: 50%;
}

.about-contact-right{
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.about-contact-text1{
    font-size: clamp(23px,5.0vh,5.0rem);
    margin-top: 20%;
    color: var(--fm-light);
    margin-bottom: 0;
}

.about-contact-text2{
    font-size: clamp(16px,2.1vh,2.1rem);
    color: var(--fm-light);
    margin-top: 0;
}

.about-contact-text3{
    font-size: clamp(25px,6.0vh,6.0rem);
    color: var(--fm-dark);
    margin-bottom: 0;
}

.about-contact-text4{
    font-size: clamp(20px,2.0vh,2.0rem);
    color: var(--fm-dark);
}

.contact-form-link{
    display: flex;
    background-color: var(--fm-blue);
    max-width: 380px;
    margin: 3rem auto 0;
    font-size: clamp(15px,1.8vh,1.8rem);
    color: #fff;
}

.contact-form-link i{
    margin-right: 2rem;
}

.contact-form-link-flex{
    padding: 1rem 2rem;
    align-items: center;
}

@media (max-width:980px){
    .contact-about-flex{
        width: 95%;
        margin: 2rem 2.5%;
    }

    .contact-about-bike{
        padding: 2rem 0.5rem;
    }
}

@media (max-width:850px){

    .contact-about-flex{
        display: block;
    }

    .contact-space-left{
        width: 100%;
    }

    .contact-space-right{
        width: 100%;
    }

    .about-contact-text1{
        margin-top: 5rem;
    }
}

.policy-recruitment{
    padding: 10px 2rem;
    border: 1px solid #000;
}
.policy-ol{
    display: grid;
    gap: 20px;
}
.policy-recruitment p{
    margin-top: 20px;
    text-align: end;
}

.customer-policy .policy-textblock p{
    font-weight: 400;
    margin: 0;
    font-size: 1rem;
}

.customer-policy .policy-textblock .policy-textblock-title{
    font-size: 1.2rem;
}

/* PDFの改訂日や会社名の右寄せ用 */
.customer-policy  .policy-textblock p[style*="text-align: right"] {
    text-align: right;
    margin-top: 0.5rem;
}

/* 企業理念やKPI項目のインデント幅の微調整 */
.customer-policy  .policy-textblock-indent {
    padding-left: 2rem;
    margin: 1.0rem 0;
    line-height: 1.8;
    border: 1px solid #000;
}


/* リスト形式ではなくテキストとして再現するための余白 */
.customer-policy  .policy-textblock-indent p {
    margin-bottom: 0.5rem;
    font-weight: normal; /* 親要素の太字指定を解除 */
    
}


/* 右寄せの指定 */
.comparison-policy .policy-textblock p[style*="text-align: right"] {
    text-align: right;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* テーブル内のセル調整 */
.comparison-policy .policy-table td {
    width: 50%;
    vertical-align: top;
    padding: 1rem;
    font-size: 0.95rem;
}

.comparison-policy .policy-textblock p {
    font-size: 1rem;
    font-weight: 400;
}

.comparison-policy .policy-textblock .policy-textblock-title {
    font-size: 1.2rem;
}


.comparison-policy .policy-textblock-indent{
    border: 1px solid #000;
}

/* インデント部分のテキスト調整 */
.comparison-policy .policy-textblock-indent p {
    /* margin-bottom: 0.5rem; */
    margin: 0;
    font-size: 1rem;
}

/* 箇条書き（①〜⑨）などの細かなテキスト用 */
.comparison-policy .policy-textblock-indent p[style*="font-weight: normal"] {
    font-weight: 400;
}




/* リンクを改行させる（スマホ表示で表が画面からはみ出すため） */
.policy-table td a{
    word-break: break-all !important;
}

/* 票の一番左の列は縦書きに */
@media(max-width:680px){
.policy-table-title{
    writing-mode: vertical-rl;
    letter-spacing: 0.5em;
    text-align: center;
    vertical-align: middle;
}

@media(max-width:499px){
.policy-table-title{
    padding: 0 !important;
}

.policy-table{
    font-size: 15px;
}

}

}