:root {
    --container: 69.44%;
    --ink: #2D4A4E;
    --muted: #364E4C;
    --main-color: #F6AD48;
}


html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Kosugi Maru";
    color: var(--ink);
    background-image:linear-gradient(rgba(234, 227, 210, 0.3), rgba(234, 227, 210, 0.3)),url(/img/001-Basik-Paper.png);
    background-attachment: fixed;
    /* background-color: ; */
    background-size: cover;
}


.main{
    padding-top: 7.75rem;
}


li{
    list-style: none;
}

/*---------------------------------Menu-----------------------------*/


#header{
    display: flex;
    justify-content: flex-end;
    position: fixed;
    height: 6.25em;
    top: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    }

.header-list ul{
    display: flex;
    flex-direction:row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    margin-right: 3em;
    gap: 4em;
}

li a{
    color:#2D4A4E;
    font-family: "Nunito";
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    padding: 30px 20px 30px 20px;
    text-decoration: none;
}

.nav-contact{
    color:#ffffff;
    background: linear-gradient(to bottom right, #F6D048, #F6AD48);
    padding: 5px 12px;
    border-radius: 25px;
    font-family: "Nunito";
    text-decoration: none;
    transition: 0.3s;
}
.nav-contact:hover {
    background: linear-gradient(to bottom right, #f4c54a, #f4a54a);
}


/*-----------------------------First view----------------------------*/


.first-view{
    color: #2D4A4E;
    text-align: center;
    
}
.copy{
    font-family: "Kosugi Maru",sans-serif;
    font-size: 64px;
    letter-spacing: 0.4em;
    padding-bottom: 3.5rem;
}
.site-title{
    
    font-family: "Gaegu",sans-serif;
    font-size: 3.125rem;
    letter-spacing: .2em;
    padding-bottom: 4.5rem;
}
.i{
    color:#F6AD48;
}


.container{
    width: var(--container);
    margin: 0 auto;
}

/*-------------------------section-title------------------------*/
/*-------------------------section-title------------------------*/
.section-title {
    width: 100%;
    text-align: center;
    border-top: 1px solid #2D4A4E;
    border-bottom: 1px solid #2D4A4E;
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-size: 3.75rem;
    color: #2D4A4E;
    background-color: transparent;
}
/*-------------------------section-title------------------------*/
/*-------------------------section-title------------------------*/

.art img {
    margin-top: -2rem;
}

/*------------------------------Works----------------------------*/

.works-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 100%;
    gap: 40px;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.works-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 400px;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 30px;
    margin-bottom: 16px;
    overflow: hidden;
}

.border-line-horizontal{
    width: 100%;
    height: 1px;
    background-color: #2D4A4E;
    margin: 6.5rem 0 5.875rem;
}

.border-line-vertical{
    justify-content: center;
    width: 1px;
    height: auto;
    background-color: #2D4A4E;
    margin: 0 70px;
}

.works-card img {
    max-width: 100%;
    border-radius: 20px;
    display: block;
}

.works-text {
    margin-top: 40px;
    font-size: 28px;
    color: #2D4A4E;
    text-align: center;
}

/*------------------------------About me-----------------------------*/

.about-me {
    text-align: center;
}

.about-me-content{
    display:flex;
    justify-content: space-between;
    align-items: center;
    max-height: 25rem;
    margin: 6rem auto 5.875rem;
    gap: 3rem
}

.about-me-content img{
    width: 400px;
    border-radius: 50px;
    background-color: transparent;
}
.about-me-text{
    display:flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 64.6%;
}
.name{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8em;
}
.jikoshokai-text{
    font-size: 20px;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.3em;
    line-height: 1.8em;
    text-align: left;
}
.More-btn{
    text-decoration: none;
    background: linear-gradient(to bottom right, #F6D048, #F6AD48);
    border: none;
    padding:.75rem 1.25rem;
    border-radius: 1.8rem;
    color:#ffffff;
    font-size: 1.25rem;
    font-family: "Nunito";
    cursor: pointer;
    align-self: flex-end;
    transition: 0.3s;
}
.More-btn:hover {
    background: linear-gradient(to bottom right, #f4c54a, #f4a54a);
}

/*--------------------------------Contact----------------------------*/

#contact {
    width: var(--container);
    margin: 4rem auto 4rem auto;
    text-align: center;
}


.contact-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
    padding: 1.1rem 3rem;
    border-radius: 3rem;
    background: linear-gradient(to bottom right, #F6D048, #F6AD48);
    color: #ffffff;
    font-size: 1.5rem;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    letter-spacing: .05rem;
    text-decoration: none;
    transition: 0.3s;
}

.contact-btn:hover {
    background: linear-gradient(to bottom right, #f4c54a, #f4a54a);
}

.contact-btn i {
    font-size: 1.5rem;
}
/* .cls-1{
    stroke-width: 2;
    width: 3rem;
    height: 3rem;
    fill:url(#grad);
} */

/*---------------------------------Copy-----------------------------*/

.footer p{
    text-align: center;
    font-family: "Nunito";
    font-size: 14px;
    padding-bottom: 100px;
}



/*-------------------------About me  more------------------------*/


/*-----------------------About me Design Philosophy--------------------*/

#philosophy {
  padding-top: 5.25rem; /* 100px */
}
.text{
    font-family: "Noto Sans JP", sans-serif;
    margin:3.75rem 0;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: 1.82;
}
.bold{
    font-size: 1.75rem;
    font-weight: bold;
}
.text span{
    color:#F6AD48;
    font-weight: bold;
}

/*-------------------------About me Strength--------------------------*/
/* コンテナ */
.strength-box {
    display: flex;
    justify-content: space-between;
    gap: 2.25rem;
    margin: 3.5rem 0 4rem;
}
/* 各項目 */
.strength-item {
    flex: 1;
    text-align: center;
}

/* 見出し（慎重さ・親密性など） */
.strength-item h4 {
    font-family: "Kosugi Maru";
    font-size: 2rem;   /* 32px */
    margin-bottom: 1rem;
}

/* 説明文 */
.strength-item p {
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    max-width: 16rem;  /* 横幅を制限（例: 320px） */
    margin: 0 auto;
    text-align: left;
}

/*----------------------About me My Creative Journey----------------------*/

/* イラストとテキストを同じ座標系に乗せる。
   イラストは <img> で高さを決め、テキストはその高さに対する％で重ねる。
   → 画面幅が変わっても両者が必ず連動する。 */

.journey-bg {
    position: relative;
    margin-top: 10rem;
}

/* イラスト＝この幅が全体の高さを決める基準 */
.journey__illust {
    display: block;
    width: 60%;
    height: auto;
}

.journey__list {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
}

/* イラストの高さは画面幅に比例して伸縮するので、
   文字サイズも vw で連動させないと重なる。 */
.journey__item {
    position: absolute;
    left: 64%;
    right: 0;
    transform: translateY(-50%);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1rem, 1.15vw, 1.1875rem);
    line-height: 1.7;
    letter-spacing: 0.03em;
}

.journey__item h4 {
    margin: 0 0 0.35em;
    font-size: 1.1em;
    line-height: 1.5;
}

.journey__item p {
    margin: 0;
}

/* イラスト内の各シーンの中心位置（画像の高さに対する％） */
.step-1 { top:  7.6%; }
.step-2 { top: 21.2%; }
.step-3 { top: 36.4%; }
.step-4 { top: 50.8%; }
.step-5 { top: 64.8%; }
.step-6 { top: 84.7%; }

/* ---- 狭い画面：重ね配置を解除して縦積みにする ---- */
@media (max-width: 1199px) {
    .journey-bg {
        margin-top: 4rem;
    }

    .journey__illust {
        width: 70%;
        max-width: 320px;
        margin: 0 auto 2.5rem;
    }

    .journey__list {
        position: static;
        inset: auto;
    }

    .journey__item {
        position: static;
        transform: none;
        margin-bottom: 2.5rem;
    }

    .journey__item:last-child {
        margin-bottom: 0;
    }
}




/*-----------------------------About me My Tools---------------------------*/

.tool-list{
    margin-top: 6rem;
}
.design{
    margin-top: 3rem;
    display: flex;
    gap: 5rem;
    align-items: baseline;
}
.languages{
    margin-top: 2.5rem;
    display: flex;
    gap: 7.3rem;
    align-items: baseline;
}

.tool-list dt{
    font-size: 1.25rem;
}
.tool-list dd{
    font-family: "Nunito", sans-serif;
    font-size: 2rem;
}
