@charset "UFT-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {
    body {
        min-width: 1000px;
        background-color: #F9F1EA;
        color: #2F4F4F;
    }

    nav,
    .openbtn {
        display: none;
    }

    .container {
        width: 100%;
    }

    /*========= particle js を描画するエリア設定 ===============*/

    html,
    body {
        height: 100%;
        /*高さを100%にして描画エリアをとる*/
    }

    #particles-js {
        position: fixed;
        /*描画固定*/
        z-index: -1;
        /*描画を一番下に*/
        width: 100%;
        height: 100%;
        background-color: #F9F1EA;
        /*背景色*/
    }

    #wrapper {
        position: relative;
        /*描画を#particles-jsよりも上にするためposition:relative;を指定*/
        z-index: 1;
        /*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
        width: 100%;
        height: 100%;
    }


    li {
        list-style: none;
    }

    a {
        text-decoration: none;
        color: #2F4F4F;
    }


    .header {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0px;
        background-color: #e1d0d052;
    }

    .header-left {
        width: 10%;
        height: 100%;
        margin: 0 0 0 30px;
        display: flex;
        align-items: center;
    }

    .header-left img {
        width: 80%;
    }

    .header-right {
        width: 45%;
    }

    .header-right ul {
        display: flex;
        justify-content: space-around;
    }

    .trimming04 {
        display: inline-block;
        overflow: hidden;
        margin-top: 120px;
    }

    .trimming04 img {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 100%;
        /* object-fit: contain; */
        /* 縦横比を保持 */
    }

    .about {
        width: 65%;
        margin: 0 0 0 auto;
    }

    .about-main h2 {
        color: #9CA0C5;
        text-align: center;
        margin: 100px 0 60px 0;
        font-family: "Instrument Serif", serif;
        font-size: 32px;
    }

    .about h4 {
        font-size: 32px;
        font-weight: lighter;
    }

    .about h4 span {
        font-size: 14px;
        font-weight: lighter;
    }

    .about h5 {
        font-weight: lighter;
        font-size: 14px;
    }

    .about-p {
        /* text-align: center; */
        margin: 3% auto 0 auto;
    }

    .about-p p {
        font-size: 13px;
        line-height: 25px;
    }

    .about-down {
        text-align: right;
        margin: 5% 5% 7% 0;
    }

    /* ボタン共通設定 */
    .btn03 {
        /*影の基点とするためrelativeを指定*/
        position: relative;
        /*ボタンの形状*/
        text-decoration: none;
        display: inline-block;

        text-align: center;
        background: transparent;
        border-radius: 25px;
        border: solid 1px #9CA0C5;
        outline: none;
        /*アニメーションの指定*/
        transition: all 0.2s ease;
    }

    /*hoverをした後のボタンの形状*/
    .btn03:hover {
        border-color: transparent;
    }

    /*ボタンの中のテキスト*/
    .btn03 span {
        position: relative;
        z-index: 2;
        /*z-indexの数値をあげて文字を背景よりも手前に表示*/
        /*テキストの形状*/
        display: block;
        padding: 10px 30px;
        background: #fff;
        border-radius: 25px;
        color: #9CA0C5;
        /*アニメーションの指定*/
        transition: all 0.3s ease;
    }

    /*== 右下に押し込まれる（立体が平面に） */

    /*影の設定*/
    .pushright:before {
        content: "";
        /*絶対配置で影の位置を決める*/
        position: absolute;
        z-index: -1;
        top: 4px;
        left: 4px;
        /*影の形状*/
        width: 100%;
        height: 100%;
        border-radius: 25px;
        background-color: #8b8b8b;
    }

    /*hoverの際にX・Y軸に4pxずらす*/
    .pushright:hover span {
        background-color: #505050;
        color: #fff;
        transform: translate(4px, 4px);
    }

    .footer {
        width: 100%;
        height: 220px;
        background-color: #E1D0D0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px 50px 0 0;
    }

    .footer h3 {
        font-weight: lighter;
        font-size: 12px;
    }

}

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
        background-color: #F9F1EA;
        color: #2F4F4F;
    }

    .container {
        width: 100%;
    }

    /* PCcss */

    /*========= particle js を描画するエリア設定 ===============*/

    html,
    body {
        height: 100%;
        /*高さを100%にして描画エリアをとる*/
    }

    #particles-js {
        position: fixed;
        /*描画固定*/
        z-index: -1;
        /*描画を一番下に*/
        width: 100%;
        height: 100%;
        background-color: #F9F1EA;
        /*背景色*/
    }

    #wrapper {
        position: relative;
        /*描画を#particles-jsよりも上にするためposition:relative;を指定*/
        z-index: 1;
        /*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
        width: 100%;
        height: 100%;
    }


    li {
        list-style: none;
    }

    a {
        text-decoration: none;
        color: #2F4F4F;
    }


    .header {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0px;
        background-color: #e1d0d052;
    }

    .header-left {
        width: 15%;
        height: 100%;
        margin: 0 0 0 10px;
        display: flex;
        align-items: center;
    }

    .header-left img {
        width: 80%;
    }

    .header-right {
        width: 40%;
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #ffeea9;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .trimming04 {
        display: inline-block;
        overflow: hidden;
        margin-top: 120px;
    }

    .trimming04 img {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 100%;
        /* object-fit: contain; */
        /* 縦横比を保持 */
    }

    .about {
        width: 50%;
        margin: 0 auto;
    }

    .about-main h2 {
        color: #9CA0C5;
        text-align: center;
        margin: 60px 0 60px 0;
        font-family: "Instrument Serif", serif;
        font-size: 32px;
    }

    .about h4 {
        font-size: 32px;
        font-weight: lighter;
    }

    .about h4 span {
        font-size: 14px;
        font-weight: lighter;
    }

    .about h5 {
        font-weight: lighter;
        font-size: 14px;
    }

    .about-top {
        /* text-align: center; */
    }

    .about-p {
        text-align: center;
        /* margin: 3% auto 0 auto; */
    }

    .about-p p {
        font-size: 13px;
        line-height: 25px;
        display: inline-block;
        text-align: left;
    }

    .about-down {
        text-align: right;
        margin: 5% 5% 7% 0;
    }

    /* ボタン共通設定 */
    .btn03 {
        /*影の基点とするためrelativeを指定*/
        position: relative;
        /*ボタンの形状*/
        text-decoration: none;
        display: inline-block;

        text-align: center;
        background: transparent;
        border-radius: 25px;
        border: solid 1px #9CA0C5;
        outline: none;
        /*アニメーションの指定*/
        transition: all 0.2s ease;
    }

    /*hoverをした後のボタンの形状*/
    .btn03:hover {
        border-color: transparent;
    }

    /*ボタンの中のテキスト*/
    .btn03 span {
        position: relative;
        z-index: 2;
        /*z-indexの数値をあげて文字を背景よりも手前に表示*/
        /*テキストの形状*/
        display: block;
        padding: 10px 30px;
        background: #fff;
        border-radius: 25px;
        color: #9CA0C5;
        /*アニメーションの指定*/
        transition: all 0.3s ease;
    }

    /*== 右下に押し込まれる（立体が平面に） */

    /*影の設定*/
    .pushright:before {
        content: "";
        /*絶対配置で影の位置を決める*/
        position: absolute;
        z-index: -1;
        top: 4px;
        left: 4px;
        /*影の形状*/
        width: 100%;
        height: 100%;
        border-radius: 25px;
        background-color: #8b8b8b;
    }

    /*hoverの際にX・Y軸に4pxずらす*/
    .pushright:hover span {
        background-color: #505050;
        color: #fff;
        transform: translate(4px, 4px);
    }

    .footer {
        width: 100%;
        height: 220px;
        background-color: #E1D0D0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px 50px 0 0;
    }

    .footer h3 {
        font-weight: lighter;
        font-size: 12px;
    }

}

/*SPサイズレスポンシブ*/
@media (max-width:599px) {
    body {
        max-width: 599px;
        background-color: #F9F1EA;
        color: #2F4F4F;
    }

    .container {
        width: 100%;
    }

    /* タブレットcss */

    /*========= particle js を描画するエリア設定 ===============*/

    html,
    body {
        height: 100%;
        /*高さを100%にして描画エリアをとる*/
    }

    #particles-js {
        position: fixed;
        /*描画固定*/
        z-index: -1;
        /*描画を一番下に*/
        width: 100%;
        height: 100%;
        background-color: #F9F1EA;
        /*背景色*/
    }

    #wrapper {
        position: relative;
        /*描画を#particles-jsよりも上にするためposition:relative;を指定*/
        z-index: 1;
        /*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
        width: 100%;
        height: 100%;
    }


    li {
        list-style: none;
    }

    a {
        text-decoration: none;
        color: #2F4F4F;
    }


    .header {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0px;
        background-color: #e1d0d052;
    }

    .header-left {
        width: 25%;
        height: 100%;
    }

    .header-left img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .header-right {
        width: 40%;
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #ffeea9;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .trimming04 {
        display: inline-block;
        overflow: hidden;
        margin-top: 120px;
    }

    .trimming04 img {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 100%;
        /* object-fit: contain; */
        /* 縦横比を保持 */
    }

    .about {
        width: 95%;
        margin: 0 0 0 auto;
    }

    .about-main h2 {
        color: #9CA0C5;
        text-align: center;
        margin: 60px 0 50px 0;
        font-family: "Instrument Serif", serif;
        font-size: 32px;
    }

    .about h4 {
        font-size: 32px;
        font-weight: lighter;
    }

    .about h4 span {
        font-size: 14px;
        font-weight: lighter;
    }

    .about h5 {
        font-weight: lighter;
        font-size: 14px;
    }

    .about-p {
        /* text-align: center; */
        margin: 3% auto 0 auto;
    }

    .about-p p {
        font-size: 13px;
        line-height: 25px;
    }

    .about-down {
        text-align: right;
        margin: 12% 5% 10% 0;
    }

    /* ボタン共通設定 */
    .btn03 {
        /*影の基点とするためrelativeを指定*/
        position: relative;
        /*ボタンの形状*/
        text-decoration: none;
        display: inline-block;

        text-align: center;
        background: transparent;
        border-radius: 25px;
        border: solid 1px #9CA0C5;
        outline: none;
        /*アニメーションの指定*/
        transition: all 0.2s ease;
    }

    /*hoverをした後のボタンの形状*/
    .btn03:hover {
        border-color: transparent;
    }

    /*ボタンの中のテキスト*/
    .btn03 span {
        position: relative;
        z-index: 2;
        /*z-indexの数値をあげて文字を背景よりも手前に表示*/
        /*テキストの形状*/
        display: block;
        padding: 10px 30px;
        background: #fff;
        border-radius: 25px;
        color: #9CA0C5;
        /*アニメーションの指定*/
        transition: all 0.3s ease;
    }

    /*== 右下に押し込まれる（立体が平面に） */

    /*影の設定*/
    .pushright:before {
        content: "";
        /*絶対配置で影の位置を決める*/
        position: absolute;
        z-index: -1;
        top: 4px;
        left: 4px;
        /*影の形状*/
        width: 100%;
        height: 100%;
        border-radius: 25px;
        background-color: #8b8b8b;
    }

    /*hoverの際にX・Y軸に4pxずらす*/
    .pushright:hover span {
        background-color: #505050;
        color: #fff;
        transform: translate(4px, 4px);
    }

    .footer {
        width: 100%;
        height: 220px;
        background-color: #E1D0D0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px 50px 0 0;
    }

    .footer h3 {
        font-weight: lighter;
        font-size: 12px;
    }

}