/*
Theme Name: eri-portfolio
*/
@charset "utf-8";

body{
    background-color: #FCFCFC;
    background-image: url(parts/background.png);
    /* background-color: burlywood; */
    background-size: cover;
    font-family: "Yu Gothic", "YuGothic", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.03em;
    /* font-family: "Montserrat", sans-serif; */
    color: #444444
}

/* 英語フォント */
.eng{font-family: "Montserrat", sans-serif;}

/* コンテンツ幅 */
.contents{
    width: 100%;
    max-width: 1020px;
    margin: 100px auto 0;
    padding: 0 30px;
    /* background-color: #dc8e8e; */
}

/* 背景色（薄い黄色） */
.background{
    width: 100%;
    margin: 0 auto;
    background-color: #F9F8F4;
}

/* 共通セクションタイトル */
.section-title{
    position: relative;
    z-index: 0;
    width: 35%;
    aspect-ratio: 350/190;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* background-color: antiquewhite; */
    container-type: inline-size;
    min-width: 200px;
}
/* オレンジモヤ */
.section-title::before{
    content: "";
    position: absolute;
    width: 54%;
    aspect-ratio: 1/1;
    top: 0;
    left: 0;
    background: url(parts/parts-orange.png) no-repeat;
    background-size: cover;
    z-index: -1;
    /* background-color: #A4CBCA; */
}
.title-text{
    width: 66%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: #df5d5d; */
    position: absolute;
    right: 0;
}
/* 英語タイトル */
.title-eng{
    font-size: clamp(1.3rem,12cqw,2.5rem);
    font-weight: 350;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    border-bottom: #444444 0.5px solid;
    width: 100%;
    text-align: center;
    /* background-color: #A4CBCA; */
}
/* 日本語タイトル */
.title-ja{
    font-size: clamp(0.75rem,4cqw,1rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0;
    /* background-color: #A4CBCA; */
}

/* VIEW MOREボタン */
.view-more{
    font-size: 20px;
    position: relative;
    width: 220px;
    aspect-ratio: 220/110;
    margin: 0 auto;/* コンテンツ幅に対して中央配置 */
    display: flex;
    align-items: center;
    z-index: 0;
    transition: transform .5s ease;
    /* background-color: #A4CBCA; */
}
/* ブルーモヤ */
.view-more::after{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    background: url(parts/view-more.png) center/cover no-repeat;
    width: 60%;
    aspect-ratio: 130/100;
    z-index: -1;
    /* background-color: brown; */
}
/* ホバーアクション */
.view-more:hover{
    transform: translateY(-6px);
    opacity: 0.8;
}

/* ALL WORKSボタン（共通） */
.all-works{
    font-size: 20px;
    position: relative;
    width: 220px;
    aspect-ratio: 220/110;
    margin: 0 auto;/* コンテンツ幅に対して中央配置 */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 0;
    transition: transform .5s ease;
    /* background-color: #A4CBCA; */
}
/* ブルーモヤ */
.all-works::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: url(parts/all-works.png) center/cover no-repeat;
    width: 60%;
    aspect-ratio: 130/100;
    z-index: -1;
    /* ackground-color: brown; */
}
/* ホバーアクション */
.all-works:hover{
    transform: translateY(-6px);
    opacity: 0.8;
}

/* Worksリストホバーアクション（共通） */
.works-item{
    display: block;
    transition: transform .3s ease;
}
.works-item:hover{
    transform: scale(1.06);
}

/* 制作サイト詳細ページ（共通） */
.works-hero{
    position: relative;
    padding-top: 160px;
    margin-top: 100px;
}
.site-title{
    position: absolute;
    top: 50px;
    left: 70px;
}
.site-title h1{
    font-size: 48px;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}
.site-title p{
    font-size: 20px;
}
.visual-back{
    display: flex;
    justify-content: center;
    align-items: center;
}
.visual-back img{
    width: 80%;
    max-width: 1100px;
}
.overview-text{
    max-width: 800px;
    margin: 120px auto;
    padding: 0 20px;
    font-size: 20px;
    line-height: 1.7;
}
.overview-text p{
    margin-bottom: 30px;
}
.overview-text a{
    text-decoration: underline;
}
.overview-text a:hover{
    color: #0056e0;
}
/* スライダー */
.slider{
    width: 100%;
    overflow: hidden;
    padding-bottom: 40px;
}
.slider-track{
    display: flex;
    width: max-content;
    gap: 60px;
    animation: slide 40s linear infinite;
}
@keyframes slide{
    from{transform: translateX(0);}
    to{transform: translateX(-50%);}
}
.slider img{
    width: clamp(200px, 22vw, 360px);
    flex-shrink: 0;
}
/* 詳細セクション */
.detail-section .contents{
    padding-top: 60px;
    padding-bottom: 60px;
}
.detail-inner dl{
    display: flex;
    align-items: flex-start;
    gap: 80px;
}
.detail-inner dt{
    width: 160px;
    font-size: 20px;
    font-weight: 400;
    color: #A4CBCA;
    white-space: nowrap;
}
.detail-inner dd{
    flex: 1;
    font-size: 16px;
    line-height: 2;
}
.detail-list{
    margin: 40px 0;
    padding-top: 50px;
    border-top: 1px solid #e5e5e5;
}
/* 配色 */
.design-color{
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 50px;
}
.color-pallete{
    display: flex;
    width: 400px;
    height: 70px;
    border: #444444 0.5px solid;
}
.color-text{
    font-size: 17px;
    white-space: nowrap;
}
.color{
    display: block;
    height: 100%;
}
/* 実際のサイト */
.site-photo{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 100px;
}
.site-pc{
    max-width: 75%;
    height: auto;
    box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.2);
}
.site-sp{
    max-width: 20%;
    height: auto;
    box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.2);
}


/* HOMEページ */
/* ヘッダー */
header{
    width: 100%;
    height: 100px;
    top: 0;
    position: fixed;/* 位置固定 */
    background: #ffffff33;
    backdrop-filter: blur(20px); /* 背後をぼかす */
    /* background-color: aquamarine; */
    z-index: 200;
}
.header-inner{
    width: 90%;
    height: 100px;
    max-width: 1440px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: blue; */
}
.logo{
    font-size: 32px;
    font-weight: 400;
    transition: color 0.3s ease;
}
.logo:hover{
    color: #A4CBCA;
}
.gnav-pc ul{
    display: flex;
    gap: 35px;
}
.gnav a{
    font-size: 20px;
    font-weight: 400;
    position: relative;
}
.gnav a::before{
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: width .3s ease;
    background-color: #444444;
}
.gnav a span::before{
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: width .3s ease;
    background-color: #A4CBCA;
}
/* ホバー時の下線 */
.gnav li:hover a::before{
    width: 100%;
 }
.gnav li:hover span::before{
    width: 100%;
 }
.gnav span{
    color: #A4CBCA;
}

/* ハンバーガーメニュー */
.drawer-hidden,
.gnav-sp{
    display: none;
}
.drawer-btn{
    width: 60px;
    height: 60px;
    background-color: #F9F8F4;
    border-radius: 50%;
    display: none;/* PCでは非表示 */
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}
/* ハンバーガーメニュー開くアイコン */
.drawer-btn span,
.drawer-btn span::before,
.drawer-btn span::after {
    content: '';
    display: block;
    height: 1px;
    width: 25px;
    background: #444444;
    transition: 0.5s;
    position: absolute;
}
.drawer-btn span::before{
    top: -9px;
}
.drawer-btn span::after{
    width: 18px;
    top: 9px;
}


/* メインビジュアル */
.mainvisual{
    background: url(parts/mainvisual.png) center center no-repeat;
    background-size: cover;
    width: 100%;      
    height: 100vh;      
    display: flex;
    justify-content: center; 
    align-items: center;   
}
.maintitle{
    text-align: center;
}
.maintitle p{
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 400;
    color: #FCFCFC;
    letter-spacing: 0.15em;
}
.maintitle h1{
    font-size: clamp(50px, 11vw, 120px);
    font-weight: 400;
    color: #FCFCFC;
    letter-spacing: 0.11em;
    overflow-wrap: break-word;
}

/* About meセクション */
.about-profile{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 90px;
    margin-top: -130px;
    /* background-color: #ffe4c4; */
}
.profile-inner{
    width: 42%;
    margin-top: 150px;
    margin-bottom: 20px;
    /* background-color: #A4CBCA; */
}
.about-profile .name-ja{
    font-size: 28px;
    letter-spacing: 0.03em;
}
.about-profile .name-eng{
    font-size: 14px;
    letter-spacing: 0.08em;
    margin-left: 35px;
}
.text-block{
    font-size: 15px;
    letter-spacing: 0.03em;
    line-height: 2.3;
    margin-top: 50px;
}
.profile-photo{
    width: 37%;
    height: auto;
    margin-top: 20px;
}
.profile-photo-sp{
    width: 80%;
    height: auto;
    display: none;
}

/* Worksセクション */
.works-list{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 80px;
    margin-top: 40px;
    /* background-color: #ffe4c4; */
}
.works-list img{
    width: 100%;
    height: auto;
}
.category{
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #FCFCFC;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 10px;
    background-color: #A4CBCA;
}
.works-title{
    font-size: 20px;
    margin-top: 8px;
}
.works-section .view-more{
    margin-top: 130px;
}
.works-section .background{
    padding-bottom: 50px;
}

/* Contactセクション */
.contact-contents{
    max-width: 870px;
    margin: 150px auto;
    padding: 0 30px;
}
.contact-inner{
    border: #A4CBCA 2px solid;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    background-color: #F9F8F4;
}
.contact-title{
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #A4CBCA;
}
.title-inner{
    color: #FCFCFC;
}
.contact-eng{
    font-size: 40px;
    letter-spacing: 0.05em;
    border-bottom: #FCFCFC 2px solid;
}
.contact-ja{
    font-size: 14px;
    margin-top: 5px;
}
.contact-text{
    font-size: 20px;
    line-height: 1.8;
    margin: 50px auto;
}
.contact-button{
    width: 450px;
    padding: 20px;
    background-color: #A4CBCA;
    border-radius: 50px;
    box-shadow: 3px 4px 5.6px #c5c0c0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 50px;
    transition: transform .5s ease;
}
.contact-button a{
    font-size: 28px;
    color: #FCFCFC;
}
.contact-button:hover{
    transform: translateY(-5px);
    opacity: 0.9;
}

/* フッター */
footer{
    width: 100%;
    height: 80px;
    background-color: #F9F8F4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}


/* ABOUT MEページ */
.page-visual{
    background: url(parts/page-title.png) center center no-repeat;
    background-size: cover;
    width: 100%;
    margin: 100px auto 0;
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
}
.about-visual .page-visual::before{
    content: "ABOUT ME";/* 各ページでここだけ変える */
    position: absolute;
    top: 80px;
    width: 100%;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: 160px;
    letter-spacing: 0.08em;
    color: #eaf3f3;
    z-index: 1;
}
.page-title{
    font-size: 50px;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Biographyセクション */
.biography-section .contents{
    padding-bottom: 80px;
}
.bio-contents{
    width: 100%;
    margin-left: auto;
    padding-top: 40px;
    padding-bottom: 1px;
    position: relative;
    /* background-color: #7fff00; */
}
.bio-item{
    display: grid;
    grid-template-columns: 7rem 1fr;
    column-gap: 30px;
    margin-bottom: 80px;
    position: relative;
    /* background-color: aqua; */
}
.bio-year{
    font-size: 20px;
}
.bio-title{
    font-size: 20px;
    margin-bottom: 25px;
}
.bio-text{
    font-size: 16px;
    line-height: 1.7;
}
/* 縦線 */
.bio-contents::before{
    content: "";
    position: absolute;
    top: 0;
    left: 7rem;
    width: 1px;
    height: 100%;
    background-color: #444444;
    z-index: 0;
}
/* ● */
.bio-item::before{
    content: "";
    position: absolute;
    left: 7rem;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background-color: #A4CBCA;
    z-index: 1;
}

/* Skillsセクション */
.skills-section .contents{
    padding-bottom: 40px;
}
.cando-contents{
    width: 100%;
}
.tool-contents{
    width: 100%;
}
.cando-box{
    max-width: 870px;
    margin: 0 auto;
    background-color: #b6d4d3;
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 60px;
}
.tool-box{
    max-width: 870px;
    margin: 0 auto;
    background-color: #ecc5a9;
    border-radius: 10px;
    padding: 60px 100px;
}
.skills-section ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px 50px;
    align-items: baseline;
}
.skills-section h2{
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}
.skills-section li{
    font-size: 25px;
    background-color: #f8f7f4;
    padding: 8px 28px;
    border-radius: 10px;
}
.skills-section li:last-child{
    font-size: 20px;
    padding: 9px 15px;
}

/* Like/Hobbyセクション */
.photo-contents ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}
/* フレーム */
.photo-item{
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}
.photo-overlay{
    position: absolute;
    inset: 0;/* 親の全面に要素を被せる */
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.photo-contents img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.photo-title{
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
}
.photo-text{
    font-size: 15px;
    line-height: 1.7;
}
/* ホバーアクション */
.photo-item:hover .photo-overlay{
    opacity: 1;
}
.photo-item:hover img{
    transform: scale(1.1);
}


/* WORKSページ */
.works-visual .page-visual::before{
    content: "WORKS";
    position: absolute;
    top: 80px;
    width: 100%;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: 160px;
    letter-spacing: 0.08em;
    color: #eaf3f3;
    z-index: 1;
}


/* CONTACTページ */
.contact-visual .page-visual::before{
    content: "CONTACT";
    position: absolute;
    top: 80px;
    width: 100%;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: 160px;
    letter-spacing: 0.08em;
    color: #eaf3f3;
    z-index: 1;
}
.contactpage-text{
    max-width: 800px;
    margin: 60px auto;
    padding: 0 30px;
}
.contactpage-text p{
    font-size: 20px;
    text-align: center;
    line-height: 1.7;
}
.contact-form-wrap{
    padding: 0 30px;
}
.contact-form{
    max-width: 900px;
    margin: 0 auto 100px;
    background-color: #c5dcdc;
    border: #A4CBCA 1px solid;
    border-radius: 20px;
}
.form-item label{
    font-size: 20px;
}
.required{
    color: #ec3d3d;
}
.form-item{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 50px 30px;
}
.form-item input{
    width: 100%;
    height: 60px;
    padding: 5px 5px;
    font-size: 20px;
    background-color: #F9F8F4;
    border-radius: 6px;
    border: #A4CBCA 1px solid;
    box-sizing: border-box;
}
.form-item textarea{
    width: 100%;
    height: 300px;
    padding: 5px 5px;
    font-size: 20px;
    resize: none;
    background-color: #F9F8F4;
    border-radius: 6px;
    border: #A4CBCA 1px solid;
    box-sizing: border-box;
}
/* 送信ボタン */
.submit-button{
    max-width: 300px;
    padding: 15px 60px;
    background-color: #F9F8F4;
    border-radius: 50px;
    border: #A4CBCA 1px solid;
    box-shadow: 3px 4px 5.6px #afbcbc;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 50px;
    transition: transform .5s ease;
}
.submit-button input[type="submit"]{
    font-size: 30px;
    letter-spacing: 0.1em;
    color: #444444;
}
.submit-button:hover{
    transform: translateY(-5px);
    opacity: 0.9;
}


/* 作品詳細ページ共通配色設定（ACF） */

/* メイン背景：変数がなければ透明にするか、デフォルト色を指定 */
.visual-back {
    background: var(--bg-grad, #eee);
}

/* カラーパレット：比率（flex-grow）は、一般的な値をとりあえず固定で持たせています */
.color.c1 { 
    background-color: var(--c1); 
    flex-grow: 3; 
}
.color.c2 { 
    background-color: var(--c2); 
    flex-grow: 3; 
}
.color.c3 { 
    background-color: var(--c3); 
    flex-grow: 1; 
}
.color.c4 { 
    background-color: var(--c4); 
    flex-grow: 1; 
}
.color.c5 { 
    background-color: var(--c5); 
    flex-grow: 1; 
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝タブレット用(1024px)＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media(max-width:1024px){
.contents{
    margin: 40px auto 0;
}
/* 各ページタイトル */
.about-visual .page-visual::before{
    font-size: 108px;
    letter-spacing: 0.04em;
    top: 70px;
}
.works-visual .page-visual::before{
    font-size: 108px;
    letter-spacing: 0.04em;
    top: 70px;
}
.contact-visual .page-visual::before{
    font-size: 108px;
    letter-spacing: 0.04em;
    top: 70px;
}
.page-title{
    font-size: 40px;
    letter-spacing: 0.04em;
}
.page-visual{
    padding-top: 133px;
    padding-bottom: 80px;
}
/* サイト詳細ページ */
.works-hero{
    padding-top: 120px;
}
.site-title{
    top: 20px;
    left: 30px;
}
.site-title h1{
    font-size: 36px;
    margin-bottom: 10px;
}
.site-title p{
    font-size: 16px;
}
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝800px＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media(max-width:800px){
.view-more{
    width: 180px;
    font-size: 16px;
}
.all-works{
    width: 180px;
    font-size: 16px;
}
/* ヘッダー */
.logo{
    font-size: 28px;
}
.gnav-pc{
    display: none;
}
.drawer-btn{
    display: flex;
}
.gnav-sp{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background: #F9F8F4;
    z-index: 99;
    transform: scale(0);
    transform-origin: top right; /* 広がり方 */
    transition: transform .5s ease;
}
.gnav-sp ul{
    text-align: center;
}
.gnav-sp li{
    margin: 30px 0;
}
.gnav-sp a{
    font-size: clamp(20px, 4.65vw, 40px);
}
#drawer-input:checked ~ .gnav-sp {
    transform: scale(1); /* 3本線押すと開く */
}
#drawer-input:checked ~ header .drawer-btn{
    background-color: #FCFCFC;
}
#drawer-input:checked ~ header .drawer-btn span {
    background: transparent; /* 真ん中の線消える */
}
#drawer-input:checked ~ header .drawer-btn span::before {
    top: 0;
    transform: rotate(45deg); /* ×に変形 */
}
#drawer-input:checked ~ header .drawer-btn span::after {
    top: 0;
    width: 25px;
    transform: rotate(-45deg); /* ×に変形 */
}

/* ABOUT MEセクション */
.about-profile{
    flex-direction: column-reverse;
    align-items: center;
    gap: 50px;
    margin: 0;
}
.profile-inner{
    width: 80%;
    margin: 0;
}
.profile-photo{
    display: none;
}
.profile-photo-sp{
    display: flex;
}
.profile-inner .name-ja{
    font-size: 23px;
}
.text-block{
    font-size: 14px;
    margin-top: 30px;
    margin-bottom: 10px;
}
/* WORKSセクション */
.works-list{
    grid-template-columns: 1fr;
}
.works-section .view-more{
    margin-top: 60px;
}
.works-section .background{
    padding-bottom: 30px;
}
/* CONTACTセクション */
.contact-eng{
    font-size: 34px;
}
.contact-text{
    font-size: 16px;
    margin: 30px auto;
}
.contact-button{
    width: 320px;
}
.contact-button a{
    font-size: 22px;
}
/* biographyセクション */
.bio-year{
    font-size: 18px;
}
.bio-title{
    font-size: 18px;
    margin-bottom: 22px;
}
.bio-text{
    font-size: 15px;
    line-height: 1.7;
}
/* Skillsセクション */
.cando-box{
    padding: 40px;
}
.tool-box{
    padding: 30px;
}
.skills-section ul{
    gap: 40px 30px;
}
.skills-section h2{
    font-size: 30px;
}
.skills-section li{
    font-size: 20px;
    background-color: #f8f7f4;
    padding: 8px 28px;
    border-radius: 10px;
}
.skills-section li:last-child{
    font-size: 15px;
    padding: 9px 15px;
}
/* Like/Hobbyセクション */
.photo-contents ul{
    gap: 20px;
}
.photo-title{
    font-size: 18px;
}
.photo-text{
    font-size: 14px;
}
/* CONTACTページ */
.contactpage-text p{
    font-size: 18px;
}
.form-item label{
    font-size: 18px;
}
/* サイト詳細ページ */
.overview-text{
    font-size: 16px;
    margin: 70px auto;
}
.slider-track{
    gap: 40px;
}
.detail-inner dl{
    gap: 20px;
}
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝650px＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media(max-width:650px){
.mainvisual{
    width: 100%;
}
/* WORKSセクション */
.works-list{
    gap: 50px;
}
.category{
    font-size: 12px;
}
.works-title{
    font-size: 18px;
}
.works-section .view-more{
    margin-top: 50px;
}
.works-section .background{
    padding-bottom: 50px;
}
/* 各ページタイトル */
.about-visual .page-visual::before{
    font-size: 65px;
    letter-spacing: 0.03em;
    top: 50px;
}
.works-visual .page-visual::before{
    font-size: 65px;
    letter-spacing: 0.03em;
    top: 50px;
}
.contact-visual .page-visual::before{
    font-size: 65px;
    letter-spacing: 0.03em;
    top: 50px;
}
.page-title{
    font-size: 26px;
    letter-spacing: 0.03em;
}
.page-visual{
    padding-top: 85px;
    padding-bottom: 50px;
}
/* Biographyセクション */
.bio-item::before,
.bio-contents::before{
    left: 0;
    margin-left: 25px;
}
.bio-item{
    display: block;
}
.bio-year,.bio-title,.bio-text{
    margin-left: 60px;
}
.bio-year{
    font-size: 16px;
    margin-bottom: 5px;
}
.bio-title{
    font-size: 18px;
    margin-bottom: 22px;
}
.bio-text{
    font-size: 14px;
    line-height: 1.7;
}

/* Like/Hobbyセクション 2カラム*/
.photo-contents ul{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}
.photo-contents li:last-child{
    display: none;
}
/* CONTACTページ */
.contactpage-text p{
    text-align: left;
}
.contactpage-text{
    padding: 0 15px;
}
.contact-form-wrap{
    padding: 0 15px;
}
.form-item{
    margin: 30px 30px;
}
.submit-button{
    max-width: 200px;
    padding: 15px 40px;
    background-color: #F9F8F4;
    border-radius: 50px;
    border: #A4CBCA 1px solid;
    box-shadow: 3px 4px 5.6px #afbcbc;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 50px;
    transition: transform .5s ease;
}
.submit-button button{
    font-size: 24px;
    letter-spacing: 0.05em;
    color: #444444;
}
/* サイト詳細ページ */
.works-hero{
    padding-top: 80px;
}
.site-title{
    top: 10px;
    left: 10px;
}
.site-title h1{
    font-size: 26px;
    margin-bottom: 10px;
}
.site-title p{
    font-size: 14px;
}
/* 詳細セクション */
.detail-inner dl{
    display: block;
}
.detail-inner dt{
    font-size: 18px;
    margin-bottom: 15px;
}
.detail-inner dd{
    font-size: 14px;
}
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝スマホ用(540px)＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media(max-width:540px){
/* WORKSセクション */
.works-section .background{
    padding-bottom: 15px;
}
.category{
    font-size: 10px;
}
.works-title{
    font-size: 16px;
}
/* CONTACTセクション */
.contact-contents{
    padding: 0 10px;
}
.contact-text{
    font-size: 14px;
}
.contact-button{
    width: 300px;
}
.contact-button a{
    font-size: 18px;
}
/* Skillsセクション */
.cando-box{
    padding: 20px;
}
.tool-box{
    padding: 20px;
}
.skills-section ul{
    gap: 20px 20px;
}
.skills-section h2{
    font-size: 20px;
}
.skills-section li{
    font-size: 16px;
    background-color: #f8f7f4;
    padding: 8px 28px;
    border-radius: 10px;
}
.skills-section li:last-child{
    font-size: 12px;
    padding: 9px 15px;
}
/* Like/Hobbyセクション */
.photo-contents ul{
    gap: 15px;
}
.photo-overlay{
    padding: 0 15px;
}
.photo-title{
    font-size: 16px;
}
.photo-text{
    font-size: 12px;
}
/* CONTACTページ */
.contactpage-text p{
    font-size: 15px;
}
.form-item label{
    font-size: 16px;
}
.form-item input{
    height: 50px;
    font-size: 16px;
}
/* サイト詳細ページ */
.site-photo{
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.site-pc{
    max-width: 100%;
}
.site-sp{
    max-width: 50%;
}
}
