@charset "utf-8";

/* ==========================================================================
   ACTION ページ専用スタイル
   ========================================================================== */

/* 1. 基本レイアウト設定
   -------------------------------------------------------------------------- */
main {
    position: relative;
    padding-top: 8rem; /* ヘッダー分の余白（PC） */
}

@media (max-width: 768px) {
    main {
        padding-top: 5rem; /* ヘッダー分の余白（SP） */
    }
}

/* 2. ACTION ページ FV (First View)
   -------------------------------------------------------------------------- */
.action-fv {
    /* 背景画像は適宜差し替えてください */
    background-image: url("../images/action-page-fv-pc.webp");
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media screen and (max-width: 736px) {
    .action-fv {
        background-image: url("../images/action-page-fv-sp.webp");
        height: 270px;
    }
}

.action-fv::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4); /* 背景を少し暗くして文字を読みやすく */
}

.action-fv-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.action-fv-en {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.action-fv-jp {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin-top: 0.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    letter-spacing: 0.05em;
}

@media screen and (max-width: 736px) {
    .action-fv-en {
        font-size: 3rem;
    }
    .action-fv-jp {
        font-size: 1.1rem;
    }
}

/* 3. セクション見出し・リード文
   -------------------------------------------------------------------------- */
.action-ttl {
    padding: 0 1.4rem;
}

.action-ttl h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 游明朝, YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", HG明朝E, "MS P明朝", "MS 明朝", serif;
    font-weight: bold;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .action-ttl h2 {
        text-align: center;
        font-size: 1.8rem !important;
    }
    .action-ttl p {
        text-align: center;
    }
}

.section-accent-line {
    width: 4rem;
    height: 4px;
    background-color: #a67c34;
    margin: 3rem auto 0;
}

/* 4. 取り組み内容（DX/リスキリング）用汎用スタイル
   ※今後コンテンツを追加する際に使いやすくするための枠です
   -------------------------------------------------------------------------- */

/* ラベル（「DX」や「リスキリング」などのタグ用） */
.action-label {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: #a67c34;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* 取り組みカード（横並びなどのレイアウト用） */
.action-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

/* 5. アニメーション（共通）
   -------------------------------------------------------------------------- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* セクションごとの背景設定 */
#dx-section {
    background-color: #f9fafb; /* 薄いグレー */
}

#reskilling-section {
    background-color: #ffffff; /* 白 */
}

/* 見出しの文字間隔を調整 */
h2 {
    letter-spacing: 0.15em;
}

/* 画像エリアの角丸と影 */
.bg-gray-200 {
    border-radius: 8px;
    overflow: hidden;
}

/* リストの行間などを整える */
.action-card ul li {
    line-height: 1.6;
    text-align: justify;
}

/* カード内のアイコンを見やすく */
.action-card i {
    display: inline-block;
    margin-bottom: 0.5rem;
}