@charset "UTF-8";
/* ==========================================
   ベース設定・共通クラス
   ========================================== */
:root {
    --primary-color: #1a423f;
    --accent-color: #80cbc4;
    --text-main: #333333;
    --text-light: #555555;
    --bg-light: #f9fcfb;
    --white: #ffffff;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    background: var(--bg-light);
}

/* ==========================================
   ファーストビューセクション
   ========================================== */
/* FVセクション全体の設定 */
.hero-section {
    width: 100%;
    height: 500px;
    background-image: url('https://www.shuraku.co.jp/akr/images/fv_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* コンテンツの幅や余白を調整するコンテナ */
.hero-section .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4% 0 0;
    box-sizing: border-box;
}

/* テキストを囲むブロック */
.hero-content {
    text-align: left;
}

/* 見出しの設定 */
.hero-title {
    color: var(--primary-color);
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 24px;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.9), 
                 -1px -1px 4px rgba(255, 255, 255, 0.9),
                  0px 0px 6px rgba(255, 255, 255, 1);
}

/* 本文（pタグ）の設定 */
.hero-content p {
    color: #1F1F1F;
    font-size: 19px;
    line-height: 1.8;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 16px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), 
                 -1px -1px 3px rgba(255, 255, 255, 0.9),
                  0px 0px 5px rgba(255, 255, 255, 1);
}

/* 最後のpタグの余白を消す */
.hero-content p:last-child {
    margin-bottom: 0;
}

/* スマホ閲覧時（画面幅768px以下）のサイズ調整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 20px;
    }
    .hero-content p {
        font-size: 14px;
    }
}

/* ==========================================
   AKRセクション (3カラムのアンカーリンク部分)
   ========================================== */
/* 全体のスコープ設定 */
.three-akr-section {
    padding: 40px 0 10px;
    background-color: #dcf2f0;
}
.three-akr-section .akr-section {
    max-width: 1100px;
    margin: 0 auto;
}

/* 各カードのラッパー */
.akr-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* 各カード */
.akr-section .akr-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 28px 36px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: calc(33.333% - 20px);
    min-width: 250px;
    
    /* ↓追加・変更（リンク対応とドロップシャドウ）↓ */
    border-top: 4px solid #388c84; /* グリーン系のライン */
    text-decoration: none; /* リンクの下線を消す */
    position: relative; /* しっぽの基準位置 */
    filter: drop-shadow(0 6px 15px rgba(26, 66, 63, 0.08));
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* リンクにホバーした時のアクション（フワッと浮く） */
.akr-section .akr-card:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 12px 25px rgba(26, 66, 63, 0.15));
}

/* センター寄せの下向きのしっぽ（▼） */
.akr-section .akr-card::after {
    content: "";
    position: absolute;
    bottom: -15px; /* 三角形の高さ分だけ下にずらす */
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px; /* 逆三角形を作る */
    border-color: #ffffff transparent transparent transparent; /* カード本体と同じ白色 */
}

/* 丸型アイコン枠 */
.akr-section .akr-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #80cbc4; /* アイコン背景を明るいグリーンに */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* アイコン内のアルファベット */
.akr-section .akr-alphabet {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a423f;
    line-height: 1;
}

/* カード見出し */
.akr-section .akr-card-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a423f;
    margin: 0;
    line-height: 1.5;
}

/* 英語サブタイトルの文字サイズ調整 */
.akr-section .akr-card-title span {
    display: inline-block;
    color: #388c84;
    margin-right: 0px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .akr-section .akr-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* ==========================================
   AKR詳細セクション (各項目の詳細解説部分)
   ========================================== */
.in-akr-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.in-akr-section .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
	padding: 0;
}

.in-akr-section .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 50px;
background-color: #388c84;
}

/* カード全体のベース設定（縦並びベース） */
.in-akr-section .akr-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ＝＝＝ 上部エリア（画像 ＋ 導入テキスト） ＝＝＝ */
.in-akr-section .card-top-wrap {
    display: flex;
    align-items: stretch;
}

/* 反転クラス（.reverse）がついた場合は左右を入れ替え */
.in-akr-section .akr-card.reverse .card-top-wrap {
    flex-direction: row-reverse;
}

/* 画像エリア */
.in-akr-section .card-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.in-akr-section .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* 導入テキストエリア */
.in-akr-section .card-top-content {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* カード内の見出し */
.in-akr-section .akr-card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.5;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 12px;
}

.in-akr-section .akr-card-title i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* 導入テキスト */
.in-akr-section .intro-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
    color: #444;
}

/* ＝＝＝ 下部エリア（1カラムの詳細部分） ＝＝＝ */
.in-akr-section .card-bottom-wrap {
    padding: 0 0 10px;
    margin-top: 30px;
}

/* 詳細部分のハイライト枠 */
.in-akr-section .akr-detail {
    background-color: #f4f9f8;
    padding: 20px 30px;
    border-radius: 6px;
}

.in-akr-section .detail-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.in-akr-section .akr-detail p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

/* スマホ閲覧時（画面幅768px以下）のサイズ調整 */
@media (max-width: 768px) {
    .in-akr-section {
        padding: 40px 0;
    }

    .in-akr-section .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .in-akr-section .card-top-wrap,
    .in-akr-section .akr-card.reverse .card-top-wrap {
        flex-direction: column;
    }

    .in-akr-section .card-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .in-akr-section .card-image img {
        max-height: 250px;
    }

    .in-akr-section .card-top-content {
        padding: 25px 20px 15px;
    }

    .in-akr-section .card-bottom-wrap {
        padding: 0 20px 25px;
        margin-top: 15px;
    }

    .in-akr-section .akr-card-title {
        font-size: 18px;
    }

    .in-akr-section .intro-text {
        font-size: 15px;
    }
}