:root {
    --color-tytle: #246ea2;       /* 見出し・アイコン */
    --color-hover: #175a89;       /* ホバー用 */
    --color-main: #174A6E;       /* 基本の紺 */
    --color-text: #1d4568;       /* 本文 */
    --color-light: #e9f3f8;      /* 薄水色の背景 */
    --color-accent: #4F91B5;     /* メールボタンなど */
    --color-accent-hover: #3F7F9F;/* メールボタンのホバー */
    --color-line: #D9E8F0;       /* 枠線など */
    --color-bg: #F8FAFB;         /* ごく薄い全体背景 */
    --color-cream: #faf7ef;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    color: var(--color-text);
    background-color: var(--color-bg);
    scroll-behavior: smooth;
}
img{
    border-radius: 5px;
}
a:link{
    color: var(--color-tytle);
    text-decoration: none;
}
a:visited{
    color: var(--color-tytle);
    text-decoration: none;
}
a:hover{
    color: var(--color-hover);
    text-decoration: none;
}
a:active{
    color: var(--color-main);
    text-decoration: none;
}
h1{
    font-size: 40px;
    font-family: serif;
}
li{
    list-style-type: none;
    padding: 0;
}
h2,h3{
    font-family: serif;
}
/*header*/
header{
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin: 0 25px;
}
.pc-nav{
    display: block;
}
.mobile-nav,.hamburger-menu{
    display: none;
}
.header-name{
    font-family: serif;
    font-size: 20px;
    display: flex;
    align-items: center;
}
header ul{
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 10px 0;
}
/*main*/
.hero{
    position: relative;
}
picture img{
    width: 100%;
    height: auto;
}
.hero-content{
    width: fit-content;
    padding: 10px 15px;
    background-color: rgba(233, 243, 248,0.6);
    position: absolute;
    top: 6vw;
    left: 13vw;
}


/*footer*/
footer{
    display: flex;
    justify-content: space-between;
    background-color: var(--color-light);
    margin-top: 35px;
}
.footer-name{
    font-family: serif;
    font-size: 20px;
}
footer nav{
    width: 400px;
}
footer nav ul{
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}
footer li{
    margin: 15px 0;
}
footer div{
    margin: 0 40px;
    display: flex;
    align-items: center;
}

section{
    margin-bottom: 30px;
}
section>p{
    margin-bottom: 20px;
}
.section-wrapper{
    width: 90%;
    margin: 0 auto;
}
.separator{
    display: block;
    width: 100%;
    background-color: var(--color-light);
    height: 1px;
    margin: 25px auto;
}

/*----aboutページのCSS--------------------------------------*/
/*01profile*/
.profile{
    display: flex;
    gap: 55px;
}
.profile img{
    width: 500px;
}
.section-heading{
    display: flex;
    gap: 35px;
}
.section-heading-words>p{
    white-space: nowrap;
}
.profile-introduction p{
    font-size: 18px;
    margin-top: 55px;
}
/*02value*/
.value-card-box div img{
    background-color: var(--color-cream);
    width: 200px;
    border: 2px solid var(--color-line);
    border-radius: 50%;
}
.value-card-box{
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.value-card-box p{
    margin-top: 25px;
    margin-left: 1vw;
    text-align: left;

}
.value-card{
    background-color: var(--color-cream);
    border-radius: 8px;
    padding: 15px 3vw 2vw;
    width: 400px;
}
/*03strength*/
.strength img{
    width: 420px;
}
.strength-card-box{
    display: flex;
    justify-content: space-between;
}
.strength-card-box h4{
    padding: 5px 0 10px; 
}
/*04work*/
.work-cards{
    display: flex;
    width: fit-content;
    margin: 0 0 0 auto;
}
.work-card{
    display: flex;
    flex-direction: column;
}
.work-card:nth-child(4n + 1) img{
    background-color: var(--color-light);
}
.work-card:nth-child(4n + 3) img{
    background-color: var(--color-cream);
}
.work-card img{
    border-radius: 50%;
    width: 150px;
    border: 2px solid var(--color-line);
}
.work-card p{
    font-size: 12px;
    text-align: center;
}
.work-card h4{
    text-align: center;
    margin-top: 8px;
    margin-bottom: 5px;
}
.work-arrow{
    display: block;
    margin-top: 65px;
    margin-right: 2vw;
    margin-left: 2vw;
}
/*05interests*/
.interests-card-box{
    display: flex;
    gap: 10px;
}
.interests-card{
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid var(--color-line);
}
.interests-card img{
    width: 100%;
    border-radius: 8px 8px 0 0;
}
.interests-card p{
    margin: 7px auto 15px;
    text-align: center;
}


.section-wrapper>p{
    margin-left: 17vw;
}
.section-wrapper>a{
    border: 2px solid var(--color-accent);
    border-radius: 5px;
    padding: 10px 70px;
    background-color: var(--color-bg);
    color: var(--color-accent);
    display: flex;
    vertical-align: bottom;
    margin-left: 55%;
    width: fit-content;
}
.section-wrapper>a:hover{
    background-color: var(--color-light);
}



.mb-br{
    display: none;
}




/*===============================================================
======================メディアクエリ==============================
================================================================*/


@media(max-width:788px){
.pc-nav{
    display: none;
}
.header{
    height: 45px;
}
header{
    margin: 0;
}
.header-name{
    margin-left: 20px;
}
header ul{
    display: block;
}
.hamburger-menu {/* ハンバーガーボタン */
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: fixed;
    top: 13px;
    right: 8px;
    z-index: 100;
}
.hamburger-menu span {/* 三本線 */
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {/* ナビゲーションメニュー */
    /* 非表示時も display: block のままにしてアニメーションを有効化 */
    display: block; 
    
    /* 画面全体を基準に右固定 */
    position: fixed;
    right: 0;
    width: 250px; /* メニューの横幅 */
    height: calc(100vh - 200px); /* ヘッダーを除いた画面いっぱいの高さ */
    background-color: #fff;
    border-left: 1px solid #ddd;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 50;

    /* 【初期状態】メニュー幅分だけ右（画面外）へ押し出す */
    transform: translateX(100%);

    /* スライド移動を滑らかにする設定 */
    transition: transform 0.3s ease;
}

.hamburger-menu span {/* --- 三本線アニメーション用の基本設定 --- */
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
        /* 変化を滑らかにする設定 */
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 100;
}

/* --- 開いた状態（×ボタンへの変形） --- */

/* 真ん中の線を消す */
.hamburger-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

/* 上の線をななめ右下に回転（真ん中に寄せるためにY軸移動） */
.hamburger-menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* 下の線をななめ右上に回転（真ん中に寄せるためにY軸移動） */
.hamburger-menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav ul{
    margin-top: 55px;
}
.mobile-nav li {
    display: block;
    padding-left: 20px;
    border-bottom: 1px solid var(--color-light);
}
.mobile-nav li:last-child {
    border-bottom: none;
}
.mobile-nav a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
}
.mobile-nav a:hover {
    background-color: var(--color-line);
}

/* メニュー表示時 */
.mobile-nav.is-active {
    /* 【開いた状態】元の位置（画面内）に戻す */
    transform: translateX(0);
}
footer{
    display: block;
    height: 70px;
}
footer nav{
    display: none;
}
.footer-name{
    font-size: 16px;
    padding-top: 15px;
}
.hero-content{
    width: fit-content;
    padding: 10px 15px;
    top: 12vw;
}
.profile{
    display: block;
}
.section-heading img{
    width: 100%;
}
/*------------------------------------------*/
/*01*/
.section-heading{
    gap: 15px;
}
.profile-introduction p{
    font-size: 16px;
    margin-top: 10px;
}
/*02*/
.value-card-box{
    display: block;
}
.value-card{
    display: flex;
    margin-bottom: 20px;
    width: 100%;
}
.value-words{
    margin-left: 10vw;
}
.value-words p{
    margin-top: 20px;
}
.value-card div img{
    width: 80px;
}
/*03*/
.strength-card-box{
    display:block;
}
.strength-card{
    display: flex;
    height: 150px;
}
.strength-card img{
    width: 150px;
    margin-right: 20px;
    margin-bottom: 10px;
}
.strength-card h4{
    margin-bottom: 0;
    padding-bottom: 5px;
}
/*04*/
.work-arrow{
    display: none;
}
.work-cards{
    display: block;
    margin: 0 0 0 0;
}
.work-card{
    flex-direction: row;
}
.work-card img{
    width: 100px;
    margin-left: 35px;
}
.kasaneru{
    margin-top: -15px;
}
.work-word{
    width: 250px;
}
.work-word h4{
    margin-top: 25px;
}
/*05*/
.interests-card-box{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.section-wrapper>p{
    margin-left: 0;
}
.section-wrapper>a{
    margin: 15px auto;
    white-space: nowrap;
}

.mb-br{
    display: block;
}
















}