@charset "UTF-8";

/* ======== BASE / RESET ======== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Hiragino Kaku Gothic Pro", HiraKakuPro-W3, "ヒラギノ角ゴ Pro W3", "MS P ゴシック", sans-serif;
    color: #333;
}

body {
    background: #FCFFD0;
    line-height: 1.6;
    letter-spacing: 1px;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    color: #FF4392;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;   /* 黒丸や数字を消す */
}

ol {
    list-style: none;   /* 黒丸や数字を消す */
}

/* ======== WRAPPER ======== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ======== HEADER ======== */
header.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FF758C;
    padding: 10px 15px;
    flex-wrap: wrap;
    border-radius: 8px;
    background-image: url(images/kakusakura-m.gif);
}

header .logo img {
    max-height: 60px;
}

/* ======== MENU TOGGLE BUTTON ======== */
.menu-toggle {
    display: none;
    font-size: 24px;
    background-color: #FFA86B; /* 柔らかいオレンジ */
    border: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 10;
    border-radius: 8px; /* 角丸 */
    padding: 8px 16px; /* ボリューム感 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* 軽い立体感 */
    transition: all 0.2s ease-in-out;
}

.menu-toggle::after {
    content: "☰";
    display: inline-block;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.menu-toggle.active::after {
    transform: rotate(90deg);
}

/* ======== NAVIGATION ======== */
.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    max-height: 1000px; /* default for desktop */
    opacity: 1;
}

.main-nav ul li {
    margin: 0 10px;
}

.main-nav a {
    display: block;
    padding: 8px 12px;
    color: #222222;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background: #FF9A9A;
    color: #fff;
}

/* ======== MAIN CONTENT ======== */
#contents {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

#main {
    flex: 1 1 60%;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#sub {
    flex: 1 1 35%;
    padding: 15px;
    margin-left: 5%;
    background: #fff0f2;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ======== HEADINGS ======== */
h1, h2, h3, h4 {
    color: #f77be6;
    margin-bottom: 10px;
}

h2 {
    border-bottom: 2px solid #FF4392;
    padding-bottom: 5px;
}

/* ======== INFO / TEXT STYLING ======== */
.infobold {
    font-weight: bold;
    color: #000;
}

.infoboldpink {
    font-weight: bold;
    color: #FF4392;
    font-size: 1.1em;
}

/* ======== TABLES ======== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
}

table th {
    background: #ff758c;
    color: #fff;
    font-weight: 600;
}

table td {
    background: #fff0f2;
    border-top: 1px solid #ffd0d0;
}

.tb2 {
    width: 100%;
    border-collapse: collapse;
}

.tb2 th {
    background: #f5a59e;
}

.tb2 td {
    background: #fbeae6;
    border: 1px solid #f5a59e;
}

/* ======== FOOTER ======== */
footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8em;
    background: #ff758c;
    color: #fff;
    border-radius: 8px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    header.site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        margin-top: 10px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        max-height: 0;
        opacity: 0;
    }

    .main-nav.active ul {
        max-height: 500px; /* 展開時の高さ */
        opacity: 1;
    }

    #contents {
        flex-direction: column;
    }

    #sub {
        margin-left: 0;
        margin-top: 15px;
    }

    table, .tb2 {
        font-size: 0.9em;
    }
}

.qa-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.qa-table th,
.qa-table td {
    padding: 12px;
    border: 1px solid #ffd0d0;
    text-align: left;
}

.qa-table th {
    background-color: #f5a59e;
    color: #333;
    font-weight: bold;
}

.qa-table td {
    background-color: #fbeae6;
}

@media (max-width: 768px) {
    .qa-table th,
    .qa-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .qa-table tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 1px solid #ffd0d0;
    }

    .qa-table td {
        padding-left: 50%;
        position: relative;
    }

    .qa-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 12px;
        font-weight: bold;
    }
}

/* ヘッダー文章をカード風に */
.header-text {
    margin-left: 20px;
    flex: 1;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* マウスオーバーで軽く浮き上がる演出 */
.header-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* 強調文章 */
.header-text .highlight {
    color: #FF4392;
    font-weight: bold;
    font-size: 1.1em;
}

/* スマホ表示では非表示 */
@media (max-width: 768px) {
    .header-text {
        display: none;
    }
}

#sub .info-section ul {
    list-style: none; /* デフォルトのリストマーカーを削除 */
    padding: 0;
    margin: 0;
}

#sub .info-section ul li {
    margin-bottom: 10px; /* 項目間の余白 */
}

#sub .info-section ul li a {
    display: inline-block;
    padding: 8px 12px;
    background: #fff0f2; /* 柔らかい背景色 */
    border-radius: 6px; /* 角丸 */
    color: #FF4392; /* 文字色 */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 軽い立体感 */
}

#sub .info-section ul li a:hover {
    background: #FF9A9A; /* ホバー時に色を少し強調 */
    color: #fff;
}

/* ====== スマホ対応 ====== */
@media (max-width: 768px) {
    #sub .info-section ul li a {
        display: block;       /* 横幅いっぱいに広げる */
        width: 100%;          /* 親コンテナに合わせる */
        text-align: center;   /* 文字を中央寄せ */
    }
}
