@charset "UTF-8";

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

:root {
    /*CSSカスタムプロパティ*/
    --main: #EAC329;
    --main2: #618A67;
    --bg: #F5F2E6;
    --font: #1F1D18;
    --white: #FAF9F5;
    --box-shadow: rgb(70 70 70/25%);
    --header-height: 100px;
    --bg-roll-height: 90px;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--font);
    line-height: 1.5;
    background-color: var(--bg);
}

img {
    max-width: 100%;
    /*親要素以上はみ出ないように*/
    vertical-align: bottom;
    /*下にわずかな余白ができるのを防ぐ*/
}

ul {
    list-style: none;
}

a {
    color: inherit;
    /*継承*/
    text-decoration: none;
}

.container {
    max-width: calc(1440px + 16px*2);
    /*左右余白（padding分）含めた最大幅*/
    margin: 0 auto;
    padding: 0 16px;
}

main .container {
    max-width: 850px;
}

/*キャラクターアニメーション*/
.spot-comment img {
    animation: huwahuwa 2.5s ease-in-out infinite;
}

@keyframes huwahuwa {
    0% {
        translate: 0 0;
    }

    50% {
        translate: 0 10px;
    }

    100% {
        translate: 0 0;
    }
}


/***header***/
#header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--bg);
    box-shadow: 0 4px 7px var(--box-shadow);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.logo {
    height: 50px;
}

.logo a {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

#header .logo a:hover {
    scale: 107%;
}

.logo img {
    height: 100%;
}

.logo span {
    font-size: 16px;
    line-height: 1.25;
}

.g-nav ul {
    display: flex;
    align-items: center;
    gap: min(80px, 5vw);
}

.g-nav li {
    font-weight: 500;
}

.g-nav li a {
    font-size: 1.125rem;
    transition: all 0.2s;
    display: block;
    transform-origin: center;
    position: relative;
}

.g-nav li a:hover {
    scale: 107%;
}


.g-nav li a::before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: -2px;
    width: calc(100% + 2px * 2);
    height: 3px;
    border-radius: 3px;
    background: var(--main);
    scale: 0;
    transform-origin: center left;
    transition: all 0.3s;
}


.g-nav li a:hover::before {
    scale: 100%;
}

#hb {
    display: none;
}

.drawer {
    display: none;
}

/**main***/
.tag-explain img {
    height: 50px;

}

.tag-explain li {
    background-color: var(--white);
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
}

.tag-explain {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 50px;
    gap: 10px;
}




/**about**/
main {
    padding-top: calc(var(--header-height) + 30px);
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

/* 背景 上部 */
main::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_spot_top.webp);
    z-index: -10;
    background-size: min(1300px, 100%) auto;
    background-position: center 220px;
    opacity: 15%;
}







.sect-title {
    font-weight: 500;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: 0 auto 40px;
    font-size: 3rem;
    margin-bottom: 40px;
    margin-top: 45px;
}

.sect-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 12px *2);
    height: 0.25em;
    background-color: var(--main);
    left: -12px;
    bottom: 2px;
    border-radius: 10px;
    z-index: -1;
}

.sect-title rt {
    font-size: 0.45em;
    margin-bottom: 3px;
}


/* sect-title */
.spot-img {
    margin-bottom: 20px;
}

.spot-summary {
    margin-bottom: 20px;
    font-size: 1.1875rem;
}

.spot-comment {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    margin-bottom: calc(20px + var(--bg-roll-height));

}

.spot-comment img {
    width: 150px;
}

.spot-comment p {
    background-color: var(--white);
    padding: 15px 45px;
    border-radius: 30px;
    position: relative;
    filter: drop-shadow(0px 0px 1px var(--main2));
    font-size: 1.5rem;
    font-weight: 500;
}

.spot-comment p::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 22px;
    background-color: inherit;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    right: -24px;
    top: 50%;
    translate: 0 -50%;
}

/* table */
.spot-explain {
    font-size: 1rem;
}

.spot-detail {
    padding: 20px 50px;
    background-image: url(../img/bg_spot_bottom_2.webp);
    background-size: 100% auto;
    background-repeat: repeat-y;
    position: relative;
    margin-bottom: calc(100px + var(--bg-roll-height));
}

.spot-detail::before {
    position: absolute;
    content: "";
    width: 107%;
    height: var(--bg-roll-height);
    top: 0;
    right: -2%;
    translate: 0px calc(-100% + 1px);
    background-image: url(../img/bg_spot_bottom_1.webp);
    background-size: 100% 100%;
    z-index: -1;
}

.spot-detail::after {
    position: absolute;
    content: "";
    width: 104%;
    height: var(--bg-roll-height);
    bottom: 0;
    left: 0;
    translate: 0px calc(100% - 1px);
    background-image: url(../img/bg_spot_bottom_3.webp);
    background-size: 100% 100%;
    z-index: -1;
}


table {
    margin: auto;
    text-align: center;
    font-size: 1rem;
    border: solid 1px black;
    border-collapse: collapse;

}

table th {
    font-weight: normal;
    border: solid 1px black;
    width: 23%;
    text-align: center;
    padding: 25px 20px;
}

table td {

    border: solid 1px black;
    text-align: left;
    padding: 25px 50px;
}

table th,
table td {
    vertical-align: top;
}

.acs-explain {
    margin-bottom: 20px;
}

iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
}


.sect-title1 {
    width: fit-content;
    position: relative;
    margin-bottom: 40px;
    font-size: 1.75rem;
    font-weight: 500;
}

.sect-title1::before {
    position: absolute;
    content: "";
    width: calc(100% + 8px *2);
    height: 0.25em;
    background-color: var(--main);
    left: -8px;
    bottom: 2px;
    border-radius: 10px;
    z-index: -1;
}


.btn {
    display: block;
    width: fit-content;
    background-color: var(--main);
    padding: 20px 80px;
    margin: 0 auto;
    border-radius: 78px;
    font-weight: 900;
    font-size: 1.5rem;
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 2;
    color: var(--font);
}

.btn::before {
    position: absolute;
    content: "";
    clip-path: circle();
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #FBE386;
    top: 50%;
    left: 0;
    translate: 0% -50%;
    z-index: -1;
    scale: 0.1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.btn:hover::before {
    opacity: 1;
    scale: 1;
}



/***footer***/
#footer {
    background-color: var(--main2);
    padding: 20px 0 20px;
    color: var(--white);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.footer-chara {
    width: 150px;
}

.copy {
    text-align: right;
}


@media screen and (max-width:1000px) {
    main::before {
        background-position: center 400px;
    }
}



@media screen and (max-width:834px) {
    :root {
        --header-height: 85px;
        --bg-roll-height: 70px;
    }

    /*header*/
    #header {
        padding: 15px 0;
    }

    .g-nav {
        display: none;
    }

    #hb {
        display: block;
        width: 50px;
        height: 27px;
        position: absolute;
        right: 16px;
        top: 50%;
        translate: 0 -50%;
        cursor: pointer;
        z-index: 100;
    }

    #hb span,
    #hb::before,
    #hb::after {
        position: absolute;
        content: "";
        height: 3px;
        width: 100%;
        background-color: var(--font);
        left: 0;
        border-radius: 3px;
        transition: all 0.3s;
        transform-origin: center;
    }

    #hb span {
        top: 0;
    }

    #hb::before {
        top: 50%;
        translate: 0 -50%;
    }

    #hb::after {
        bottom: 0;
    }

    .open #hb span {
        top: 50%;
        translate: 0 -50%;
        rotate: 40deg;
    }

    .open #hb::before {
        opacity: 0;
    }

    .open #hb::after {
        bottom: 50%;
        translate: 0 50%;
        rotate: -40deg;
    }

    .open .drawer {
        translate: 0 0;
    }

    .drawer {
        display: block;
        position: absolute;
        width: 100%;
        height: 100vh;
        z-index: 90;
        top: 0;
        background-color: var(--bg);
        padding: 16px 0 16px;
        transition: all 0.3s;
        translate: 100% 0;
    }

    .drawer .logo {
        margin: 0 0 30px 16px;
        width: fit-content;
    }

    .drawer nav li:first-child a {
        border-top: 1px solid var(--font);
    }

    .drawer nav a {
        display: block;
        font-size: 1.25rem;
        padding: 20px 36px 20px 16px;
        border-bottom: 1px solid var(--font);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 500;
    }

    .drawer nav a img {
        height: 20px;
        transition: translate 0.2s;
    }

    .drawer nav a:hover img {
        translate: 15px 0;
    }

    /*main*/
    main {
        margin-bottom: 80px;
    }

    .sect-title {
        font-size: 1.875rem;
        margin: 0 auto 30px;
    }

    .sect-title rt {
        font-size: 0.55em;
    }


    .spot-summary {
        margin-bottom: 25px;
        font-size: 1.125rem;
    }

    .spot-comment {
        margin-bottom: calc(25px + var(--bg-roll-height));
    }

    .spot-comment p {
        padding: 10px 27px;
        font-size: 1.25rem;
    }

    .spot-comment img {
        width: 100px;
    }

    .spot-detail {
        margin-bottom: calc(55px + var(--bg-roll-height));
        padding: 18px 35px;
    }

    .tag-explain {
        margin-bottom: 30px;
    }

    .tag-explain img {
        height: 35px;
    }

    .tag-explain li {
        border-radius: 6px;
        padding: 6px;
    }

    table {
        width: 100%;
    }

    table th,
    table td {
        padding: 18px 25px;
    }

    table th {
        width: 100%;
    }

    table tr {
        display: flex;
        flex-direction: column;
    }

    table th {
        border: none;
    }

    table td {
        border-left: none;
        border-right: none;
    }

    table tr:last-child td {
        border-bottom: none;
    }

    .btn {
        font-size: 1.25rem;
        -webkit-text-stroke-width: 0.2 px;
        padding: 15px 60px;
    }

    /*footer*/
    #footer {
        padding: 30px 0;
    }

    .footer-chara {
        display: none;
    }
}

@media screen and (max-width:700px) {
    main::before {
        background-image: url(../img/bg_spot_top_sp.webp);
        background-position: center 20px;
    }
}

@media screen and (max-width:500px) {
    :root {
        --bg-roll-height: 55px;
    }

    .spot-detail {
        padding: 15px 25px;
    }
}