@charset "utf-8";

/* ====================================================
   ハラスメントに関する方針・取り組み 専用CSS
==================================================== */

/* --- 全体を囲むエリア --- */
.harassment-mainbox {
	background-color: #fbecee;
	padding: 60px 20px;
	border-radius: 30px;
}

/* --- ピンクの背景エリア --- */
.harassment-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #333;
}

/* --- タイトルの装飾 --- */
.harassment-title {
    font-size: 20px;
    color: #0054a7;
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: 'GothamBook', "Noto Sans JP", sans-serif;
    font-weight: 400;
}
.harassment-title span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0054a7;
    margin-top: 4px;
    font-weight: 600;
}

/* --- 導入テキスト --- */
.harassment-description {
    font-size: clamp(0.938rem, 0.75rem + 0.83vw, 1.125rem);
    color: #0054a7;
    font-weight: 600;
    text-align: center;
    line-height: 1.9;
    margin: 0 auto 60px;
    max-width: 860px; 
}

/* --- リンクをまとめる枠 --- */
.policy-list {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 30px; 
    margin: 30px 0px 60px 0px;
}

/* --- ボタンの親要素の幅を制限 --- */
.policy-list > div {
    width: 100%;
    max-width: 860px; 
}

/* --- リンクボタン本体 --- */
.policy-link {
    --blue: #0054a7;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 8rem; 
    padding: 40px 80px 40px 40px;
    border-radius: 18px;
    background: #fff;
    color: var(--blue);
    text-align: left;
    font-weight: 700;
    font-size: clamp(0.875rem, 0.768rem + 0.48vw, 1.125rem);
    line-height: 1.6;
    transition: background-color .25s ease, color .25s ease;
    height: 100%;
    text-decoration: none;
}

/* --- 矢印アイコンの円 --- */
.policy-link .policy-icon {
    --chev-size: 11px;
    --chev-gap: 3px;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    pointer-events: none;
    transition: background-color .25s ease, color .25s ease;
}

/* --- 矢印の描画 --- */
.policy-link .policy-icon::before,
.policy-link .policy-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--chev-size);
    height: var(--chev-size);
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
}
.policy-link .policy-icon::before{
    transform: translate(calc(-50% - var(--chev-gap) - 2px), -50%) rotate(45deg);
}
.policy-link .policy-icon::after{
    transform: translate(calc(-50% + var(--chev-gap) - 2px), -50%) rotate(45deg);
}

/* --- マウスホバー・フォーカス時の動き --- */
.policy-link:hover,
.policy-link:focus-visible {
    background: var(--blue);
    color: #fff;
    outline: none;
}
.policy-link:hover .policy-icon,
.policy-link:focus-visible .policy-icon {
    background: #fff;
    color: var(--blue);
}
.policy-link:focus-visible {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0,84,167,.35);
}


.policy-title {
    width: 100%;
    border: 1px solid #0054a7;
    border-radius: 9999px;
    display: block;
    padding: 6px 30px;
    font-size: clamp(1rem, 0.786rem + 0.95vw, 1.5rem);
    color: #0054a7;
    margin-bottom: 20px;
}

.policy-title > span {
    display: block;
    margin-top: 1em;
    color: #333;
}

.policy-description{
    font-weight: 600;
    line-height: 2.3;
    line-height: 1.9;
    font-size: clamp(0.818rem, 0.766rem + 0.23vw, 0.938rem);
}

.policy-description > p {
    font-size: clamp(0.875rem, 0.821rem + 0.24vw, 1rem);
}

.normalDotList > li {
    text-align: start;
    font-weight: 600;
    max-width: 860px;
    padding-left: 1.6rem;
    position: relative;
    font-size: clamp(0.818rem, 0.766rem + 0.23vw, 0.938rem);
}

.normalDotList > li::before {
    content: "";
    background-color: currentColor;
    border-radius: 50%;
    width: 0.3rem;
    height: 0.3rem;
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
}

.headline-tab {
    display: flex;
    justify-content: center;
    background: transparent;
    padding: 30px 30px 20px;
    position: relative;
    overflow: hidden;
    margin-left: -35px;
    margin-right: -35px;
}

.sp-only {
    display: none;
}

/* ====================================================
   レスポンシブ（タブレット・スマホ対応）
==================================================== */

@media (max-width: 640px) {
    
    .sp-only {
        display: inline;
    }
    
    /* リンクボタンの余白と高さをスマホ用に調整 */
    .policy-link {
        min-height: 0;
        padding-top: 36px;
        padding-bottom: 36px;
        padding-left: 25px;
        /* 右側にアイコン用の余白が必要な場合は padding-right: 70px; などを足してください */
    }
    
    /* 矢印アイコンのサイズと位置をスマホ用に縮小 */
    .policy-link .policy-icon {
        right: 25px;
        width: 32px;
        height: 32px;
        --chev-size: 9px;
        --chev-gap: 3px;
    }
    
    /* イラスト画像の余白と最大幅 */
    .policy-illust {
        margin-top: 40px;
        max-width: 480px;
    }
}

@media (max-width: 480px) {
    main.harassment-main {
        padding: 0;
    }
    
    .harassment-mainbox {
        padding: 0;
        border-radius: 0;
    }
     .harassment-wrapper {
        padding: 60px 25px 40px;
    }
}