html,body{
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #F8EDD7;
}

iframe {
    width: 100%;
    min-width: 600px;
    aspect-ratio: 16/9; //アスペクト比（縦横比）を指定
}

@media screen and (max-width: 768px) {
    iframe {
        width: 100%;
        min-width:initial;
        aspect-ratio: 16/9; //アスペクト比（縦横比）を指定
    }
}

@media screen and (min-width: 768px) and (max-width:1200px){
    iframe {
        width: 100%;
        min-width:initial;
        aspect-ratio: 1/1; //アスペクト比（縦横比）を指定
    }
}

/* タイトル */
h1{
    position: absolute;
    top:30px;
    left:30px;
    font-size: 2.5em;
    color: #fff;
}

/* ソーシャルアイコン */
.icon{
    position: absolute;
    top:15px;
    right: 100px;
    display: flex;
    flex-wrap: wrap;
}

.icon li{
    margin-right: 20px;
}

/* サブナビアイコン */
.sub-nav-icon{
    position: absolute;
    top:15px;
    right: 100px;
    display: none;
    flex-wrap: wrap;
}

.sub-nav-icon li{
    margin-right: 20px;
}

/* ナビゲーション */
nav{
    width: 70px;
    height: 70px;
    position: absolute;
    top:5px;
    right: 20px;
    background-color: #099E4E;
    border-radius: 50%;
    z-index: 3;
}

nav span{
    position: absolute;
    font-size: .9em;
    color: #fff;
    bottom: 13px;
    left: 13px;
}

nav ul{
    display: flex;
}

nav ul li {
    position:relative;
    width: 80%;
}

nav ul li span {
    display: inline-block;
    position: absolute;
    height: 2px;
    background: #fff;
    width: 50%;
    left: 20px;
    transition: all 0.4s;
}
nav ul li span:nth-child(1) {
    top: 16px;
}
nav ul li span:nth-child(2) {
    top: 24px;
}
nav ul li span:nth-child(3) {
    top: 32px;
}

.sp-active span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
}
.sp-active span:nth-child(2) {
    opacity: 0;
}
.sp-active span:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
}

.head-l-sp {
    width: 57px;
    height: 70px;
    border-radius: 50%;
}

/* フローティングナビ */
.fix-nav{
    position:fixed;
    right: 30px;
    bottom: 70px;
    z-index: 1;
    opacity: 0;
    transition: .5s;
}

.active{
    opacity: 1;
}

@media screen and (max-width: 768px) {
    /* タイトル */
    h1{
        position: absolute;
        top: 25px;
        left: 15px;
        font-size: 1.5em;
        color: #fff;
    }

    /* ソーシャルアイコン */
    .icon{
        display: none;
    }

    .icon li{
        margin-right: 20px;
    }

    /* サブナビアイコン */
    .sub-nav-icon{
        position: absolute;
        top: 20px;
        right: 90px;
        display: flex;
        flex-wrap: wrap;
    }

    .sub-nav-icon li{
        margin-right: 20px;
    }

    /* ナビゲーション */
    nav{
        width: 60px;
        height: 60px;
        position: absolute;
        top:5px;
        right: 15px;
        background-color: #099E4E;
        border-radius: 50%;
        z-index: 3;
    }

    nav span{
        position: absolute;
        font-size: .7em;
        color: #fff;
        bottom: 10px;
        left: 11px;
    }

    nav ul{
        display: flex;
    }

    nav ul li {
        position:relative;
        width: 80%;
    }

    nav ul li span {
        display: inline-block;
        position: absolute;
        height: 2px;
        background: #fff;
        width: 50%;
        left: 15px;
        transition: all 0.4s;
    }
    nav ul li span:nth-child(1) {
        top: 14px;
    }
    nav ul li span:nth-child(2) {
        top: 22px;
    }
    nav ul li span:nth-child(3) {
        top: 30px;
    }

    .sp-active span:nth-child(1) {
        transform: translateY(8px) rotate(-45deg);
    }
    .sp-active span:nth-child(2) {
        opacity: 0;
    }
    .sp-active span:nth-child(3) {
        transform: translateY(-8px) rotate(45deg);
    }

    .head-l-sp {
        width: 56px;
        height: 70px;
        border-radius: 50%;
    }

    .fix-nav{
        position:fixed;
        right: 30px;
        bottom: 70px;
        z-index: 1;
        opacity: 0;
        transition: .5s;
    }

    .fix-nav img{
        width: 100%;
    }

    .active{
        opacity: 1;
    }
}

@media screen and (min-width: 769px) and (max-width:1024px) {
    /* タイトル */
    h1{
        position: absolute;
        top: 25px;
        left: 15px;
        font-size: 2em;
        color: #fff;
    }

    /* ソーシャルアイコン */
    .icon{
        display: flex;
    }

    .icon li{
        margin-right: 20px;
    }

    /* ナビゲーション */
    nav{
        width: 60px;
        height: 60px;
        position: absolute;
        top:5px;
        right: 15px;
        background-color: #099E4E;
        border-radius: 50%;
        z-index: 3;
    }

    nav span{
        position: absolute;
        font-size: .7em;
        color: #fff;
        bottom: 10px;
        left: 11px;
    }

    nav ul{
        display: flex;
    }

    nav ul li {
        position:relative;
        width: 80%;
    }

    nav ul li span {
        display: inline-block;
        position: absolute;
        height: 2px;
        background: #fff;
        width: 50%;
        left: 15px;
        transition: all 0.4s;
    }
    nav ul li span:nth-child(1) {
        top: 14px;
    }
    nav ul li span:nth-child(2) {
        top: 22px;
    }
    nav ul li span:nth-child(3) {
        top: 30px;
    }

    .sp-active span:nth-child(1) {
        transform: translateY(8px) rotate(-45deg);
    }
    .sp-active span:nth-child(2) {
        opacity: 0;
    }
    .sp-active span:nth-child(3) {
        transform: translateY(-8px) rotate(45deg);
    }

    .head-l-sp {
        width: 56px;
        height: 70px;
        border-radius: 50%;
    }

    .fix-nav{
        position:fixed;
        right: 30px;
        bottom: 70px;
        z-index: 1;
        opacity: 0;
        transition: .5s;
    }

    .fix-nav img{
        width: 100%;
    }

    .active{
        opacity: 1;
    }
}

/* サブメニュー */
.sub-nav{
    position: fixed;
    top: 0;
    right: -30vw;
    z-index: 2;
    background-color: #099E4E;
    width: 30vw;
    height: 100vh;
    transition: .5s;
    display: flex;
}

.sub-disp{
    right: 0;
}

.sub-nav-list{
    width: 25vw;
    font-size: 1.4em;
    margin: auto;
}

.sub-nav-list li{
    border-bottom: 1px #fff dashed;
    text-align: center;
    color: #fff;
    height: 12vh;
    display: flex;
    align-items: center;
}

.sub-nav-list li a{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    /* サブメニュー */
    .sub-nav{
        position: fixed;
        top: 0;
        right: -100vw;
        z-index: 2;
        background-color: #099E4E;
        width: 100vw;
        height: 100vh;
        transition: .5s;
        display: flex;
    }

    .sub-disp{
        right: 0;
    }

    .sub-nav-list{
        width: 80vw;
        font-size: 1.3em;
        margin: auto;
    }

    .sub-nav-list li{
        border-bottom: 1px #fff dashed;
        text-align: center;
        color: #fff;
        height: 12vh;
        display: flex;
        align-items: center;
    }

    .sub-nav-list li a{
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (min-width: 769px) and (max-width:1024px) {
    /* サブメニュー */
    .sub-nav{
        position: fixed;
        top: 0;
        right: -35vw;
        z-index: 2;
        background-color: #099E4E;
        width: 35vw;
        height: 100vh;
        transition: .5s;
        display: flex;
    }

    .sub-disp{
        right: 0;
    }

    .sub-nav-list{
        width: 30vw;
        font-size: 1.3em;
        margin: 50px auto 0;
    }

    .sub-nav-list li{
        border-bottom: 1px #fff dashed;
        text-align: center;
        color: #fff;
        height: 9vh;
        display: flex;
        align-items: center;
    }

    .sub-nav-list li a{
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }
}

/* fadeUp */
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:0.8s;
    animation-fill-mode:forwards;
    opacity:0;
}

@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUpTrigger{
    opacity: 0;
}

/* フッター */
footer{
    background-color: #099E4E;
}

.f-inner{
    width: 80%;
    color: #fff;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 100px 0 0;
    justify-content: space-between;
}

.f-inner-l{
    width: 48%;
}

.f-inner-l h2{
    font-size: 2.2em;
    padding: 30px 0 15px;
}

.f-inner-l ul{
    display: flex;
    margin-bottom: 30px;
}

.f-inner-l li{
    margin-right: 15px;
}

.address{
    font-size: 1.2em;
    margin-bottom: 20px;
}

.tel{
    font-size: 2em;
    margin-bottom: 50px;
}

.bt-f{
    background-color: #fff;
    border-radius: 15px;
    width: 340px;
    height: 74px;
    color: #000;
    padding-left: 50px;
    position: relative;
    font-size: 1.2em;
}

.bt-f::after{
    content: '';
    width: 10px;
    height: 10px;
    border: 0;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    position: absolute;
    top: 50%;
    right: 30px;
    margin-top: -6px;
    transform: rotate(45deg);
}

.bt-f a{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.f-inner-r{
    width: 48%;
}

.f-nav{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 0 50px;
}

.f-nav li{
    border-right: 1px #fff solid;
    margin-right: 30px;
    padding-right: 30px;
}

.copyright{
    width: 100%;
    background-color: #f8edd7;
    text-align: center;
    font-size: 1em;
    padding: 15px 0;
    color: #333333;
}

@media screen and (max-width: 768px) {
    footer{
        background-color: #099E4E;
    }
    
    .f-inner{
        width: 90%;
        color: #fff;
        margin: auto;
        display: block;
        flex-wrap: wrap;
        padding: 0;
    }
    
    .f-inner-l{
        width: 100%;
        margin-bottom: 30px;
    }
    
    .f-inner-l h2{
        font-size: 1.8em;
        padding: 30px 0 15px;
        /* width: 90%; */
    }
    
    .f-inner-l ul{
        display: flex;
        margin-bottom: 30px;
    }
    
    .f-inner-l li{
        margin-right: 15px;
    }
    
    .address{
        font-size: 1.2em;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .tel{
        font-size: 1.8em;
        margin-bottom: 50px;
    }
    
    .bt-f{
        background-color: #fff;
        border-radius: 15px;
        width: 90%;
        height: 65px;
        color: #000;
        padding-left: 50px;
        position: relative;
        font-size: 1.2em;
        margin: auto;
    }
    
    .bt-f::after{
        content: '';
        width: 10px;
        height: 10px;
        border: 0;
        border-top: solid 2px #000;
        border-right: solid 2px #000;
        position: absolute;
        top: 50%;
        right: 30px;
        margin-top: -6px;
        transform: rotate(45deg);
    }
    
    .bt-f a{
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    
    .f-inner-r{
        width: 100%;
    }
    
    .f-nav{
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 50px 0 50px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .f-nav a{
        /* padding: 15px; */
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .f-nav li{
        border-right: none;
        margin-right: 0;
        padding-right: 0;
        width: 49%;
        /* height: 44px; */
        background-color: #fff;
        margin-bottom: 5px;
        color: #000;
        height: 50px;
    }
    
    .copyright{
        width: 100%;
        background-color: #f8edd7;
        text-align: center;
        font-size: 1em;
        padding: 15px 0;
        color: #333333;
    }
}

@media screen and (min-width: 769px) and (max-width:1024px) {
    footer{
        background-color: #099E4E;
    }
    
    .f-inner{
        width: 90%;
        color: #fff;
        margin: auto;
        display: block;
        flex-wrap: wrap;
        padding: 0;
    }
    
    .f-inner-l{
        width: 100%;
        margin-bottom: 30px;
    }
    
    .f-inner-l h2{
        font-size: 1.8em;
        padding: 30px 0 15px;
        /* width: 90%; */
    }
    
    .f-inner-l ul{
        display: flex;
        margin-bottom: 30px;
    }
    
    .f-inner-l li{
        margin-right: 15px;
    }
    
    .address{
        font-size: 1.2em;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .tel{
        font-size: 1.8em;
        margin-bottom: 50px;
    }
    
    .bt-f{
        background-color: #fff;
        border-radius: 15px;
        width: 90%;
        height: 65px;
        color: #000;
        padding-left: 50px;
        position: relative;
        font-size: 1.2em;
        margin: auto;
    }
    
    .bt-f::after{
        content: '';
        width: 10px;
        height: 10px;
        border: 0;
        border-top: solid 2px #000;
        border-right: solid 2px #000;
        position: absolute;
        top: 50%;
        right: 30px;
        margin-top: -6px;
        transform: rotate(45deg);
    }
    
    .bt-f a{
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    
    .f-inner-r{
        width: 100%;
    }
    
    .f-nav{
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 100px 0 50px;
    }
    
    .f-nav li{
        border-right: 1px #fff solid;
        margin-right: 30px;
        padding-right: 30px;
    }
    
    .copyright{
        width: 100%;
        background-color: #f8edd7;
        text-align: center;
        font-size: 1em;
        padding: 15px 0;
        color: #333333;
    }
}