/*
Theme Name: Funamoto Theme
Theme URI: https://funamoto-ryoko.jp/
Author: ryoko funamoto
Description: 船元りょうこ公式サイトのためのオリジナルテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: funamoto-theme
*/

body {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    /* スムーズに変化させる */
}

a:hover {
    color: F0EB45;
    /* お好きな色に */
}

.desktop {
    background-color: #FCF8F1;
}

.header {
    width: 100vw;
    height: auto;
}




.navbar {
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(to right, #2e6dd8, #25b785);
    z-index: 10;
}

.nav-menu {
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    font-size: 15px;
    display: flex;
    justify-content: flex-end;
    /* ← 右寄せ */
    align-items: center;
    /* ← 高さ中央揃え */
    height: 44px;
    background: linear-gradient(to right, #2e6dd8, #25b785);
    padding: 0 100px;
    /* ← 右端との余白調整 */


}

.nav-menu span {
    color: white;
    margin-left: 20px;
    /* ← 文字間の余白 */
    font-size: 16px;
    font-weight: bold;
}

.main-visual {
    width: 100%;
    height: auto;
}

img.main-visual-img {
    max-width: 100%;
}


.section-greeting {
    width: 800px;
    height: 350px;
    margin: 5% auto;
    background: #fff;
    padding: 3%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 13px #00000040;
}

.funamoto {
    position: relative;
    left: 550px;

}

.name {
    position: relative;
    left: 500px;
    top: -100px;

}

.section-mirai-box {
    width: 75vw;

}

h3 {
    font-size: 30px;
    font-weight: 600;
}

.section-mirai {

    height: auto;
    /* margin: 5% auto; */
    background: #fff;
    padding: 5% 10%;
}

.arrow-group {
    position: relative;
    display: inline-block;
}

.arrow-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
}

.arrow-title {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: bold;
    color: #1a306a;
    white-space: nowrap;
}

.arrow-img {
    top: 60px;
    left: -5px;
}


.section-profile {
    height: auto;
    /* margin: 5% auto; */
    padding: 5% 10%;
}


.section-profile-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.profile-text {
    flex: 1;
    min-width: 300px;
    font-size: 18px;
    line-height: 1.8;
}

.profile-image img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.profile-image img {
    border-radius: 8px;
}

.section-write {
    /* margin: 5% auto; */
    background: #fff;
    padding: 5% 10%;
}

.section-write {

    background-color: #fdf8f1;
    /* 背景色は任意 */
}

.kiji {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* カードの間隔 */
    flex-wrap: wrap;
    /* 画面が狭い時に折り返す */
}

.airticle {
    width: 280px;
    text-align: center;
    font-family: "A-OTF UD Shin Go Pr6N-L", sans-serif;
}

.thum img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    /* 中央から切り取り */
    object-position: center;
    border-radius: 8px;
    /* オプション：角丸 */
}

.kiji-title {
    margin-top: 12px;
    font-size: 16px;
    color: #000;
    line-height: 1.5;
}

.footer {
    background-color: #1a306a;
    /* 紺色背景 */
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 0;
    font-weight: bold;
}

.foter-sns {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.foter-sns-instagram,
.foter-sns-line {
    text-align: center;
}

.foter-sns-instagram img,
.foter-sns-line img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 10px;
}

.text-wrapper-14,
.text-wrapper-15 {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.copyright {
    margin-top: 30px;
    font-size: 10px;
    color: #ffffff;

}

/* ========== レスポンシブ対応 ========== */
@media screen and (max-width: 768px) {

    /* ヘッダーメニュー */
    .nav-menu {
        justify-content: center;
        padding: 0 20px;
        flex-wrap: wrap;
    }

    .nav-menu span {
        margin-left: 10px;
        font-size: 14px;
    }

    /* メインビジュアル */
    .main-visual-img {
        width: 100%;
        height: auto;
    }

    /* ご挨拶セクション */
    .section-greeting {
        width: 90%;
        height: auto;
        padding: 5%;
    }

    .name,
    .funamoto {
        position: static;
        display: block;
        margin: 20px auto 0;
        max-width: 80%;
    }

    /* みらいセクション */
    .section-mirai {
        padding: 10% 5%;
    }

    .arrow-title {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    /* プロフィール */
    .section-profile-box {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .profile-text {
        font-size: 16px;
        line-height: 1.6;
        width: 100%;
    }

    .profile-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    /* 最新記事（記事カード） */
    .kiji {
        flex-direction: column;
        align-items: center;
    }

    .airticle {
        width: 90%;
    }

    .thum img {
        width: 100%;
        height: auto;
    }

    /* フッター */
    .foter-sns {
        flex-direction: column;
        gap: 20px;
    }

    .footer p.copyright {
        font-size: 12px;
        margin-top: 20px;
    }
}