@charset "utf-8";
/*==========================
common
==========================*/
:root{
    --primary-white: #F4F6F7;
    --primary-navy: #18284C;
    --primary-bronze: #B18B74;
    --primary-lightPurple: #ECE3FF;
	scroll-padding: 75px;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-style: normal;
    color: #051A56;
    background-color: #F4F6F7;
    line-height: 170%;   
}

section{
    margin-bottom: 100px;
    text-align: center;
}

/* 英字だけ別フォントにする */ 
/*アルファベット表記のところのhtmeにlang="en"をつけること*/
body :lang(en),
body *:lang(en) {
  font-family: "Cormorant Garamond", serif;
}

/*　見出しとメインテキストの設定*/
h3 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 120%; 
    text-align: center;
}
h3:lang(en) {
    font-size: 2.2rem;

}
h3[id] {
    scroll-margin-top: 80px;
}

.main__text{
    margin-left: 14%;
    margin-right: 14%;
    margin-top: 20px;
    text-align: left;
} 

html { 
    scroll-behavior: smooth;
}

@media screen and (min-width:768px){
    .main__text {
    margin-left: 20%;
    margin-right: 20%;
    }
    :root{
	scroll-padding: 90px;
}
}

@media screen and (min-width:1280px){
    .main__text {
        margin-left: 35%;
        margin-right: 35%;
    }
    body {
        font-size: 1.6rem;
    }
}

/* 画像の設定　 */
img {
    width: 100%; 
    max-width: 100%; /* 念のため追加 */
    height: auto;
}

.decoBorders {
    height: 9.5px;
    width: 270px;
    vertical-align: top;
    margin-top: 4px;
}

/* ボタンの共通設定 */
.btn_contactUs {
    display: block;
    width: 360px;
    margin: 0 auto;
}


.returnTop {
    text-align: center;
    margin-top: 40px;
    text-decoration: underline;
    text-decoration-color: var(--primary-navy);
    font-size: 1.3rem;
}

/*==========================
header
==========================*/
.header{
    padding: 4px 5.3%;
    height: 69px;
    background-color: var(--primary-navy);
}

.logo__group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_logo,
.nav_logo,
.footer_logo
 {
    width: 60px;
    height: 60px;
}

/* header固定 */
.header {
    position:fixed;
    top:0;
    left: 0;
    z-index: 50;
    width: 100%;
}

/* .nav 初期表示 */
.nav {
    width: 100%;
    height: 100vh; 
    position: fixed;
    top: 0;
    left:0;
    z-index: 100;
    background: var(--primary-navy);
    transform: translateX(200%);
    transition: transform 0.5s;
}

.nav__topic{
    color: var(--primary-white);
    text-align: center;
    font-size: 24px;
    margin-top: 30px;
}

.nav__topic:last-child{
    font-size: 20px;
}

.nav__topic :hover {
    color: var(--primary-lightPurple);
}

.nav__header{
    padding: 4px 5.3% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.open_btn{
    height: 8px;
    width: 30px;
}

.close_btn {
    height: 21px;
    width: 21px;
}

.nav.active {
    transform: translateX(0);
}

@media screen and (min-width:1280px){
    .header { 
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 10px 2%;
        height: auto;
    }

    .logo__group {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .header_logo {
        width: 100px;
        height: 100px;
    }

    h3[id] {
    scroll-margin-top: 120px;
    }

    .nav {
        position: static;
        transform: none;
        height: auto;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav__header,
    .open_btn,
    .close_btn {
        display: none;
    }

    .nav__list {
        display: flex;
        gap: 40px;
        margin: 0;
        padding: 0;
    }

    .nav__topic {
        margin: 0;
        color: var(--primary-white);
        text-align: left;
        font-size: 1.8rem;
    } 

    .nav__topic:last-child {
       font-size: 1.6rem;
    }
}

/*==========================
footer
==========================*/
.footer {
    background-color: var(--primary-navy);
    color: var(--primary-white);
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    padding: 30px 0;
}

.studioFort_container {
    text-align: center;
}
.studio_fort_en {
    font-size: 2rem;
}
.studio_fort_ja {
    font-size: 1.2rem;
    line-height: 1.2;
}
.footer_logo {
    display: block;
    margin: 0 auto;
    margin-top: 15px;
}

.address_container,
.contact_container{
    padding-top :20px;
    text-align: center;
}

.title_contact_way{
    font-size: 1.2rem;

}
.contact_way img {
    width:16px;
    height: auto;
    margin-left: 6px;
}
.contact_way {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.copyright{
    font-size: 8px;
    margin-top: 30px;
}