/* CSS Document */

/* 基本指定 */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', Meiryo, 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif;
    line-height: 1.8;
    color: #4A4A4A;
    background-color: #FDFBF8;
    text-align: center;
}

img { border: none; max-width: 100%; height: auto;}
a { color: #006A71; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #F4A261; text-decoration: underline; }

/* 全体ラッパー */
#wrapper {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ヘッダー */
#header {
    width: 100%;
    margin-bottom: 20px;
}
h1 {
    font-size: 12px;
    font-weight: normal;
    background-color: #006A71;
    color: #ffffff;
    padding: 8px 15px;
    text-align: right;
}
#head_img {
    line-height: 0; /* 画像下の余白を削除 */
}
#head_img img {
    width: 100%;
    height: auto;
}


/* コンテンツ */
#content {
    padding: 10px 20px;
}

.inner {
    background-color: #FDFBF8;
    border: 1px solid #e0f2f1;
    border-radius: 8px;
    padding: 20px 25px 25px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}
.inner h2, .inner h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #006A71;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #A8D8D3;
    text-indent: 0;
    background: none;
    height: auto;
    line-height: 1.4;
}
.inner h3 {
    font-size: 1.3rem;
}
.inner p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.content-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}
.img_r {
    flex-shrink: 0;
}
.yline {
    background: linear-gradient(transparent 60%, #A8D8D3 60%);
    font-weight: bold;
}
.link_r {
    text-align: right;
    margin-top: 20px;
    font-weight: bold;
}
.link_r a {
    display: inline-block;
    padding: 5px;
}


/* ボタン */
.bt_c {
    text-align: center;
    margin: 25px 0 10px;
}
.btn {
    display: inline-block;
    background-color: #006A71;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 106, 113, 0.3);
}
.btn:hover {
    background-color: #F4A261;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(244, 162, 97, 0.4);
    text-decoration: none;
}

/* フリースペース */
#space {
    background-color: #e0f2f1;
    color: #006A71;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
}
#space h4 {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* フッター */
#footer {
    padding: 20px;
    background-color: #4A4A4A;
    color: #f0f0f0;
}
.footer_nav {
    margin-bottom: 20px;
    word-wrap: break-word;
}
.footer_nav a {
    color: #A8D8D3;
    font-size: 0.9rem;
    margin: 0 5px;
}
.footer_nav a:hover {
    color: #fff;
}
address {
    font-style: normal;
    font-size: 0.8rem;
    color: #ccc;
}


/* レスポンシブ対応 (スマートフォン) */
@media screen and (max-width: 640px) {
    body {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
    }
    #wrapper {
        box-shadow: none;
    }

    #content { padding: 10px; }
    .inner { padding: 15px; }

    .content-flex {
        flex-direction: column;
    }
    .img_r {
        margin-bottom: 15px;
        text-align: center;
    }
    .img_r img {
        width: 100%;
        max-width: 300px;
    }
    .btn {
        padding: 12px 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer_nav a { display: inline-block; margin-bottom: 5px;}
}