@charset "UTF-8";
/*
Theme Name:JVA
Theme URI:
Description:JVAの専用テンプレートです。
Author:koshimizu ayako
Version:1.0 2026.03.28
*/

/* iphone リセット*/
input[type="submit"],
input[type="button"],
input[type="reset"]{
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration,
input[type="reset"]::-webkit-search-decoration{
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus,
input[type="reset"]::focus{
  outline-offset: -2px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input, select, textarea{
    border: none;
    outline: none;
}

figure {
    margin: 0;
    display: inline-block;
    vertical-align: bottom;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    color-scheme: light;
    --font48: clamp(26px,4.8vw,3rem);
    --font42: clamp(26px,4.2vw,2.625rem);
    --font28: clamp(20px,2.8vw,1.75rem);
    --font24: clamp(18px,2.4vw,1.5rem);
    --font20: clamp(16px,2.0vw,1.25rem);
    --font18: clamp(15px,1.8vw,1.125rem);
    --font16: clamp(14px,1vw,1rem);
    --commons: tt-commons-pro, sans-serif;;
  }


/********* base *********/

html{
    font-size: 16px;
}

body {
	color: #171d34;
    font-size: var(--font18);
	line-height: 1.6;
    font-family: 'ヒラギノ角ゴ ProN W3', hiragino-kaku-gothic-pron, 'Meiryo', 'メイリオ', sans-serif;
}

a{
    text-decoration: none;
    color: #171d34;
}
a:hover{opacity: 0.8;}

.sp{display: none!important;}

img {
    width: auto;
	max-width: 100%;
    vertical-align: middle;
}

.tac{text-align: center;}

iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px){
    body {font-size: 16px}
    img{
        max-width: auto;
        width: 100%;
        vertical-align: bottom;}
	.sp{display: block!important;}
	.pc{display: none!important;}
    
}


/* 共通 */
.link_btn a {
    width: 100%;
    height: 100%;
    background: #202946;
    color: #e0dbab;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: 600;
    &::after{
        content: '';
        background: url(img/icon_arrow.webp)no-repeat;
        background-size: 100%;
        filter: invert(92%) sepia(2%) saturate(4659%) hue-rotate(22deg) brightness(113%) contrast(72%);
        width: 20px;
        height: 20px;
        display: inline-block;
        margin-left: 12px;
    }
}

@media screen and (max-width:768px){
    .link_btn a {
        &::after{
            width: 12px;
            height: 12px;
            margin-left: 4px;
        }
    }
}


/********* header *********/
header {
    width: 100%;
    background: rgb(255 255 255 / 70%);
    position: fixed;
    top: 0;
    z-index: 2;
}

header .header__inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 13px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .nav_block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header .nav_block ul#menu-g-nav {
    display: flex;
    gap: 10px;
}
header .nav_block ul#menu-g-nav li a{
    color: #171d33;
    font-weight: 600;
    line-height: 1.2;
}

header .nav_block .link_btn{
    width: 211px;
    height: 50px;
    margin-left: 33px;
}

header nav.nav .link_btn{
    display: none;
}


@media screen and (max-width: 768px) {
    h1.header__logo{
        width: 70px;
    }
    header .header__inner{
        padding: 8px 6px;
    }


        /* ハンバーガーアイコンの外側 */
    header .hamburger {
        /* ボタン全体サイズを50pxの正方形に設定 */
        width: 50px;
        height: 50px;
        /* マウスポインターを指に変更 */
        cursor: pointer;
        position: fixed;
        top: 0;
        right: 10px;
        /* 優先度を変更 */
        z-index: 30;
        &::after{
            content: 'MENU';
            font-size: 11px;
            text-align: center;
            position: absolute;
            margin: auto;
            left: 0;
            right: 0;
            bottom: -6px;
            font-family: var(--sofia);
        }
    }

    /* ハンバーガーアイコンの内側の線 */
    header .hamburger span {
        /* ボタン横線の長さと高さを設定 */
        width: 30px;
        height: 3px;
        /* 絶対位置指定（親は.hamburger） */
        position: absolute;
        left: 10px;
        /* ボタンが押されてXに切り替わるときの動作設定 */
        transition: all 0.4s;
        border-radius: 50px;
    }

    /* ハンバーガーメニュー3本の線の縦の位置を設定 */
        header .hamburger span:nth-of-type(1) {
            top: 16px;
            background: linear-gradient(90deg,rgba(26, 27, 57, 1) 0%, rgba(55, 74, 117, 1) 50%, rgba(26, 27, 57, 1) 100%);
        }
        header .hamburger span:nth-of-type(2) {
            background: linear-gradient(90deg,rgba(177, 154, 58, 1) 0%, rgba(241, 229, 153, 1) 50%, rgba(177, 154, 58, 1) 100%);
            top: 25px;
        }
        header .hamburger span:nth-of-type(3) {
            top: 34px;
            background: linear-gradient(90deg,rgba(26, 27, 57, 1) 0%, rgba(55, 74, 117, 1) 50%, rgba(26, 27, 57, 1) 100%);}

    /* メニューの外側を設定 */
    header .nav {
        /* メニュー開いた時の幅を設定 */
        width: 100%;
        /* メニュー開いた時の高さを設定（画面いっぱいに広げる） */
        height: 100%;
        background: #fff;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 20;
        /* スライド表示する際の速度を設定 */
        transition: all 0.6s;
    }

    /* メニュー内の設定 */
    header .nav ul {
        width: 100%;
        /*height: 100vh;*/
        /* メニューを縦並びにオーバーライド */
        flex-direction: column;
        /* 上下の高さを設定 */
        padding: 60px 0;
        overflow: auto;
        /* 要素同士の余白をオーバーライド */
        gap: 16px;
        text-align: center;
    }

    /* ボタンを押した際の動作を作成 */
    header .nav.active {
        right: 0;
    }

    /* ボタンをXにするCSS */
    header .hamburger.active span:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }
    header .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }
    header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }

    header .nav_block > .link_btn{
        display: none;

    }

    header nav.nav .link_btn{
        display: block;
        margin: 0 auto;
    }
    
    
}

footer {
    padding-bottom: 20px;
    background: #faf8f4;
}

footer .inner{
    max-width: 1110px;
    margin: 0 auto;
    padding: 66px 0 74px;
    display: flex;
    justify-content: space-between;
}

footer .footer_left_block address{
    font-style: normal;
    font-weight: 600;
}

footer ul#menu-f-nav {
    display: flex;
    flex-wrap: wrap;
    max-width: 474px;
}

footer ul#menu-f-nav li{
    margin-bottom: 4px;
    width: 50%;
}

footer h1.footer__logo{
    margin-bottom: 22px;
}

footer .footer_right_block{

}

footer .footer_right_block h2{
    font-family: var(--commons);
    font-size: var(--font24);
    border-bottom: 1px solid #e0dbab;
    font-weight: normal;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

p.copy{
    margin-bottom: 20px;
    text-align: center;}


@media screen and (max-width: 768px) {
    footer .inner{
        padding: 4.6% 3% 3.6%;
        display: block;
    }

    footer .footer_left_block{
        margin-bottom: 4%;
        display: flex;
    }
    footer h1.footer__logo{
        max-width: 122px;
        width: 20%;
    }
    footer .footer_left_block address{
        width: 76%;
        margin-left: 4%;
        font-size: 14px;
    }

    footer ul#menu-f-nav{
        max-width: 100%;
    }

    footer .footer_right_block h2{
        padding-bottom: 6px;
        margin-bottom: 10px;
    }
    p.copy{
        margin-bottom: 0;
        font-size: 12px;
    }
}

