@charset "utf-8";


/* @import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;500;700&display=swap');
 */
/* Webフォントを定義 */

/* @font-face {
    font-family: 'Zen_Maru_Gothic'; */
/* フォント名 */
/* フォーマットごとにパスを指定 */
/* src: url('../font/ZenMaruGothic-Black.ttf') format('truetype');
    font-weight: 700;
} */

/* @font-face {
    font-family: 'Zen_Maru_Gothic'; */
/* フォント名 */
/* フォーマットごとにパスを指定 */
/* src: url('../font/ZenMaruGothic-Bold.ttf') format('truetype');
    font-weight: 500;
} */

/* @font-face {
    font-family: 'Zen_Maru_Gothic'; */
/* フォント名 */
/* フォーマットごとにパスを指定 */
/* src: url('../font/ZenMaruGothic-Light.ttf') format('truetype');
    font-weight: 300;
} */

/* Reset CSS */
html {
    font-family: 'Zen Maru Gothic',
        sans-serif;
    font-size: 16px;
    color: #322F2F;

    /* ゆっくりと動くCSS */
    scroll-behavior: smooth;
    /* background-color: red; */
}

/* リンクの設定 */
a {
    color: #322F2F;
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    color: #8CDFBC;
}

/* a:hover img {
    opacity: 0.5;
} */



h2 {
    font-size: 1.285rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 7.2px;
    padding-bottom: 10px;
}

h3 {
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 10px;
}

h4 {
    font-size: 1.285rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 5px;
    color: #E974CF;
}

p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

ul {
    margin: 0;
    padding-left: 0;
}

li {
    list-style: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

body {
    margin: 0;
    /* display: flex;
    justify-content: center; */

    /* width: 100vw; */
    /* max-width: 1440px; */
}


/* コンテンツ幅 1440px 左右の余白 */
.wrap {
    display: flex;
    justify-content: center;

}

.center {
    max-width: 1240px;
    padding-left: 25px;
    padding-right: 25px;
}

.height90 {
    height: 90px;
}

.title {
    padding-left: 0;
    padding-bottom: 25px;
}

@media screen and (min-width:768px) {
    .title {
        padding-left: 40px;
    }
}




/*ボックス確認用赤ライン 消す*/

/* div {
    border: 2px solid red;
} */



/*----------------------------
* header
*----------------------------*/
.header {
    height: 90px;

}

/* heder-nav外箱 */
.header-nav {
    /* border: 2px solid red; */
    background-color: #ffffffd3;
    display: flex;
    width: 100%;
    padding: 20px 0;
    /* justify-content: flex-end; */
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0px;
    z-index: 1;
}

/* ロゴの入った箱 */
.nav-logo {
    /* border: 2px solid red; */
    width: 70px;
    height: auto;
    padding-left: 25px;
}

.nav-logo img {
    max-width: 100%;
}

/*----------------------------
* ハンバーガーメニュー
*----------------------------*/
.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
}

@media screen and (min-width:768px) {

    /* ハンバーガーメニューを隠す */
    .menu-btn {
        position: fixed;
        top: 20px;
        right: -1000px;
        visibility: hidden;
    }


}

/*----------------------------
* メニュー画面
*----------------------------*/
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #E974CF;
    font-size: 32px;
}

.menu a {
    /* color: #fff; */
}

.menu__item {
    width: 100%;
    height: auto;
    padding: 1em 1em;
    text-align: center;
    box-sizing: border-box;
}


/* メニューにアンダーライン */
.menu a {
    color: #322F2F;
    /*アンダーラインの位置を決めるための基準 */
    position: relative;
}

.menu a::after {
    position: absolute;
    /*親要素であるaタグを基準に位置を指定*/
    left: 0;
    /*アンダーラインを各メニュー（aタグ）の左端に指定*/
    content: '';
    /*本来は、擬似要素に入るテキストなどを’’内に指定。今回はアンダーラインなので何も記載しない*/
    width: 100%;
    /*アンダーラインを各aタグの幅に合わせる*/
    height: 1.5px;
    /*アンダーラインの高さ（太さ）*/
    background: #322F2F;
    /*アンダーラインの色*/
}

/* ここからアンダーラインのアニメーション
     */
.menu a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #322F2F;
    bottom: -1px;
    /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);
    /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top;
    /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s;
    /*変形の時間*/
}

.menu a:hover::after {
    transform: scale(1, 1);
    /*ホバー後、x軸方向に1（相対値）伸長*/
}






/*----------------------------
* ★メニュー画面のアニメーション
*----------------------------*/

/* アニメーション前のメニューの状態 */
.menu {
    transform: translateX(100vw);
    transition: all 0.5s ease-in-out;
}

/* アニメーション後のメニューの状態 */
.menu.is-active {
    transform: translateX(0);
}



/*----------------------------
* ハンバーガーメニューのパーツ
*----------------------------*/

.menu-btn span {
    display: block;
}

.menu-btn {
    width: 34px;
    height: 34px;
}

.menu-btn span {
    position: absolute;
    left: 0;
    width: 80%;
    height: 2px;
    background-color: #322F2F;
    border-radius: 2px;
    transition: all 0.3s;
    /* color: #fff; */
    color: #ffffffd3;
}

.menu-btn span:nth-of-type(1) {
    top: 8px;
}

.menu-btn span:nth-of-type(2) {
    top: 16px;
}

.menu-btn span:nth-of-type(3) {
    bottom: 7px;
}


/*----------------------------
* ★ハンバーガーメニューのパーツのアニメーション
*----------------------------*/

.menu-btn.is-active span:nth-of-type(1) {
    transform: translateY(14px) rotate(-45deg);
}

.menu-btn.is-active span:nth-of-type(2) {
    opacity: 0;
}

.menu-btn.is-active span:nth-of-type(3) {
    transform: translateY(-3px) rotate(45deg);
}


/*------------------------------------*/

@media screen and (min-width:768px) {

    /* メニュー画面を出したい */
    .menu {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        position: fixed;
        top: 15px;
        right: 0px;
        width: 45%;
        height: auto;
        color: #322F2F;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        letter-spacing: 2.7px;
        background: #fff;
        /* background-color: #ffffffd3; */

    }

    .menu {
        transform: none;
        transition: unset;
    }
}

/*----------------------------
* footer
*----------------------------*/
.footer {
    padding: 25px 25px 40px;
    display: flex;
    flex-direction: column;
}

.footer-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-title p {
    font-size: 2.1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 22.58px;
}

.footer-title span {
    font-size: 2rem;
}

.top-btn p {
    font-size: 0.8rem;
    text-align: center;
}
