html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans TC", sans-serif;
    background-image: url(../img/pc_background_img.png);
    position: relative;
}

.pc {
    display: flex;
}

input,
textarea {
    outline: none;
}

img {
    width: 100%;
    display: block;
}

main {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 16px #00000015;
}

p {
    font-size: 16px;
    line-height: 1.7;
}

ul li {
    line-height: 1.5;
}

/* -- 見出し基本 -- */

h2 p {
    line-height: 1.5;
}

h2 .ttl_en {
    font-family: "courier-new", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    color: #ff931e;
    margin: 0 0 13px 0;
}

h2 .ttl {
    font-size: 27px;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.wrap {
    padding: 40px 20px;
}


/* -- アニメーション -- */

.inview.fadeup {
    opacity: 0;
    transition-duration: 1s;
    transform: translateY(10px);
}

.inview.fadeup.active {
    opacity: 1;
    transform: translateY(0px);
}


/* -- ヘッダー -- */

header {
    height: 50px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    position: fixed;
    background: #fff;
    z-index: 200;
    width: 100%;
    max-width: 450px;
}

.header-logo img {
    width: 120px;
    height: auto;
}


.pc_menu {
    position: fixed;
    width: calc(50% - 225px);
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    right: 0;
    text-align: center;
    flex-direction: column;
}

.pc_menu_ttl {
    color: #fff;
    font-family: "courier-new", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    letter-spacing: 2px;
}

.nav-list {
    padding: 30px 0;
    width: 350px;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    font-weight: 700;
}

.nav-list li {
    width: 240px;
    margin: 0 auto;
    padding: 22px 0;
    letter-spacing: 0.1px;
}

.nav-list li:not(:last-child) {
    border-bottom: 2px solid #FBE556;
}

.pc_left_content {
    left: 0;
    position: fixed;
    width: calc(100% - 450px);
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.pc_left_content img {
    max-width: 473px;
}


/* ------------ ハンバーガーメニュー ------------ */


.hamburger_menu {
    position: relative;
    z-index: auto;
}

/* 横からスライド表示するメニュー */
#drawer {
    display: none;
}


label {
    cursor: pointer;
    position: fixed;
}

.open {
    position: fixed;
    z-index: 10002;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 48px;
    background: #fbe556;
    transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open::before,
.open::after,
.open span {
    content: "";
}

.open::before,
.open::after,
.open span {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 25%;
    width: 50%;
    background-color: #fff;
    border-radius: 10px;
    height: 3.5px;
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open::before {
    transform: translateY(-6.5px);
}

.open::after {
    transform: translateY(6.5px);
}

.close {
    z-index: 10000;
    position: fixed;
    inset: 0;
    /* 全面カバー */
    pointer-events: none;
    /* 平常時は無効 */
    background: transparent;
    transition: background .6s;
}

#drawer:checked+.open {
    background: #fbe556;
}

#drawer:checked+.open span {
    transform: scaleX(0);
}

#drawer:checked+.open::before {
    transform: rotate(135deg) scaleX(1.2);
}

#drawer:checked+.open::after {
    transform: rotate(-135deg) scaleX(1.2);
}

#drawer:checked~.close {
    pointer-events: auto;
    /* 開いてる間だけクリック可 */
    background: rgba(0, 0, 0, .3);
}

/* :::::: drawer menu :::::: */
.menu {
    z-index: 10001;
    position: fixed;
    overflow: auto;
    top: 0;
    right: 0;
    max-width: 640px;
    height: 100%;
    margin: 0;
    padding: 60px 30px 20px;
    box-sizing: border-box;
    background: #fff;
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger_menu-list {
    margin: 0;
    padding: 0;
    text-align: center;
}

.hamburger_menu-item {
    line-height: 1.4;
    list-style: none;
}

.hamburger_menu-item:not(:last-child) {
    border-bottom: 1px solid #FBE556;
}

.menu a {
    display: block;
    text-decoration: none;
    transition: .6s;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: 700;
    transition: 0.3s;
    padding: 30px 10px;
}

.menu a:hover {
    opacity: 0.7;
}

#drawer:checked~.menu {
    transform: none;
}



/* ------------ ハンバーガーメニュー ------------ */




.hero {
    padding: 50px 0 0 0;
}



/* -- 佐賀県太良町ってこんなところ -- */

#about {
    background: #fffdee;
    padding: 40px 20px;
}

#about h2 {
    text-align: center;
}

.about_txt {
    width: 80%;
    margin: 0 auto;
}

.about_txt p {
    margin: 0 0 36px 0;
}

#about img {
    width: 90%;
    margin: 0 auto;
}

/* -- 佐賀県太良町グルメパスポートとは -- */

#about-passport {
    margin: 0 0 20px 0;
}

/* -- 佐賀県太良町グルメパスポートクーポン概要 -- */

#coupon-guide {
    margin: 0 10px 50px;
    padding: 30px 20px 40px;
    border: 3px solid #ff931e;
    border-radius: 10px;
    position: relative;
}

#coupon-guide::before {
    display: inline-block;
    content: "";
    background-image: url(../img/coupon-guide_topimg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 140px;
    height: 50px;
    position: absolute;
    top: -20px;
    right: -38px;
}

#coupon-guide::after {
    display: inline-block;
    content: "";
    background-image: url(../img/coupon-guide_bottomimg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 84px;
    height: 50px;
    position: absolute;
    bottom: -35px;
    left: 8px;
}

#coupon-guide h3 {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background: #ff931e;
    padding: 2px 16px 3px;
    border-radius: 50px;
    margin: 0 0 10px 0;
}

#coupon-guide h2 {
    text-align: center;
}


.period {
    margin: 0 0 30px 0;
}

.period p {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

#coupon-guide ul li {
    font-size: 15px;
}

#coupon-guide li {
    text-indent: -1em;
    padding: 0 0 2px 1em;

}


/* -- クーポンの使い方 -- */

#howto {
    margin: 0 0 30px 0;
}

#howto h2 {
    text-align: center;
}

#howto h2 .ttl {
    display: inline-block;
    position: relative;
}

#howto h2 .ttl span {
    padding: 0 16px;
}

#howto h2 .ttl::before {
    position: absolute;
    display: inline-block;
    content: "";
    background-image: url(../img/howto_lr.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 124px;
    height: 15px;
    left: -124px;
    top: 14px;
}

#howto h2 .ttl::after {
    position: absolute;
    display: inline-block;
    content: "";
    background-image: url(../img/howto_lr.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 124px;
    height: 15px;
    right: -124px;
    top: 14px;
}

/* -- クーポンの使い方|カラム -- */
.howto_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px 0
}

.howto_item {
    width: 46%;
    text-align: center;
}

.howto_img {
    margin: 0 0 10px 0;
    position: relative;
    display: inline-block;
}

.howto_item:nth-child(odd):not(:last-child) .howto_img::after {
    position: absolute;
    display: inline-block;
    content: "";
    background-image: url(../img/howto_yajirushi.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 11%;
    height: 19.3548px;
    top: 50%;
    transform: translateY(-50%);
    right: -15%;
}

.howto_item p {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

/* -- クーポンが使える店舗一覧 -- */

#shops {
    background: #fbe556;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

#shops::before {
    content: "";
    display: inline-block;
    position: absolute;
    background-image: url(../img/shops_top.png);
    width: 205px;
    height: 160px;
    background-repeat: no-repeat;
    background-size: contain;
    top: -70px;
    right: 10px;
}

#shops::after {
    content: "";
    display: inline-block;
    position: absolute;
    background-image: url(../img/shops_bottom.png);
    width: 260px;
    height: 180px;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -80px;
    left: 20px;
}

#shops h2 {
    text-align: center;
    margin: 0 0 60px 0;
}

#shops h3 {
    font-size: 24px;
    font-weight: 600;
    height: 76px;
    width: 272px;
    padding-top: 16px;
    margin: 0 auto 26px;
}

#shops .shops_wrap:nth-child(even) h3 {
    color: #fff;
    background: center / contain no-repeat url(../img/shops_ttl_o.png);
}

#shops .shops_wrap:nth-child(odd) h3 {
    color: #ff931e;
    background: center / contain no-repeat url(../img/shops_ttl_w.png);
}

.shops_box {
    background: #fff;
    padding: 10px;
    margin: 0 auto 30px;
    max-width: 380px;
}

.shops_wrap .shops_box:last-child {
    margin: 0 auto 90px;
}

.shops_name {
    padding: 10px 0;
    font-weight: 500;
    font-size: 19px;
}

.shops_btn {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 20px;
    background: #45bbc4;
    border-radius: 5px;
}

.shops_btn:hover {
    cursor: pointer;
}

/* -- マップ -- */

#map {
    text-align: center;
    padding: 100px 20px 80px;
}

/* -- Google Mapを囲う要素 -- */
.map_wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 700px;
}

/* Google Mapのiframe */
.map_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
}

.map_wrap::after {
    display: inline-block;
    content: "";
    background-image: url(../img/coupon-guide_topimg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 140px;
    height: 50px;
    position: absolute;
    bottom: -80px;
    right: -38px;
}

.map_wrap::before {
    display: inline-block;
    content: "";
    background-image: url(../img/coupon-guide_bottomimg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 92px;
    height: 54px;
    position: absolute;
    top: -80px;
    left: 0;
}

.mordal-trigers {
    display: block;
    width: 400px;
    height: 50px;
    border: solid 1px gray;
    margin: 20px;
}

#modal-overlay {
    display: none;
    background: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20000;
}

.modal-style {
    display: none;
    background: white;
    width: 350px;
    height: 430px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20001;
}

.modal-style h3 {
    text-align: center;
}

.dli-close-circle {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    position: absolute;
    top: -10px;
    right: -5px;
    width: 30px;
    height: 30px;
    border: 0.1em solid currentColor;
    border-radius: 50%;
    box-sizing: content-box;
    background-color: #fff;
    z-index: 20001;
}

.dli-close-circle>span {
    width: 52%;
    height: 0.1em;
    background: currentColor;
    border-radius: 0.1em;
    position: relative;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.dli-close-circle>span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}



/* モーダル背景 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(79, 79, 79, 0.5);
    z-index: 30000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* モーダル表示状態 */
.modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* モーダルの中身*/
.modal-content {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    margin: 0 10px 10px;
    max-width: 500px;
    max-height: 80vh;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.modal-content_inner {
    padding: 40px 10px;
    overflow-y: auto;
    max-height: 80vh;
}

/* アニメーション*/
.modal.active .modal-content {
    animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content .ttl_en {
    font-family: "courier-new", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    color: #ff931e;
    margin: 0 0 6px 0;
}

.modal-content h4 {
    font-size: 24px;
    font-weight: 500;
}

.coupon_content {
    height: 124px;
    background: #f7f7f0;
    margin: 20px 0 10px;
    position: relative;
    text-align: left;
}

.coupon_content_inner {
    padding: 10px 13px;
}

.coupon_content span {
    position: absolute;
    top: 12px;
    left: 50px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    color: #fff;
    background-color: #de481d;
    border-radius: 50px;
}

.coupon_content p {
    margin: 30px 0 0 40px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #ff931e;
    text-align: justify;
    letter-spacing: -0.5px;
}

.coupon_note {
    font-size: 13px;
    line-height: 1.1;
    text-align: left;
}

.slider {
    padding: 20px 0 0 0;
}

.coupon_content::before {
    position: absolute;
    content: "";
    display: inline-block;
    background: center / contain no-repeat url(../img/coupon_content_left.png);
    height: 124px;
    width: 42px;
    left: 0;
}

.shop_description {
    text-align: left;
    font-size: 14px;
    padding: 20px 10px;
    line-height: 1.5;
    text-align: justify;
}

.info-table {
    margin: 0 0 30px 0;
}

.info-table__inner {
    display: block;
}

.info-table__inner a {
    text-decoration: underline;
}

.info-table__item {
    font-size: 14px;
    width: 100%;
    display: flex;
    border-bottom: 1px solid #ddd;
    display: table;
}

.info-table__item:first-child {
    border-top: 1px solid #ddd;
}

.info-table__item dt {
    width: 110px;
    background: #f0f0f0;
    letter-spacing: .1em;
    text-align: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
}

.info-table__item dd {
    width: calc(100% - 110px);
    min-height: auto;
    letter-spacing: .1em;
    padding: 10px;
    text-align: left;
    display: table-cell;
    vertical-align: middle;
    font-weight: 400;
    word-break: break-all;
}

.reservation_btn {
    display: block;
    border-radius: 5px;
    border: 2px solid #ff931e;
    color: #ff931e;
    margin: 0 0 20px 0;
    padding: 15px;
    font-weight: 500;
}

.coupon_use_btn {
    display: block;
    border-radius: 5px;
    background-color: #45bbc4;
    color: #fff;
    padding: 15px;
    font-weight: 500;
}

.swiper-slide img {
    height: auto;
    width: 100%;
}

/* -- 注意事項 -- */

#notes {
    padding: 0;
}

#notes h2 {
    text-align: center;
}

#notes h2 .ttl {
    margin: 0 0 -12px 0;
    line-height: 1;
    display: inline-block;
    padding: 0 50px;
    position: relative;
}

.notes_inner {
    background-color: #FBE556;
    padding: 45px 20px 40px;
    margin: -10px 0 0 0;
}

#notes h2 .ttl::before {
    content: url(../img/notes_h2_left.png);
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

#notes h2 .ttl::after {
    content: url(../img/notes_h2_right.png);
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

#notes .notes_inner p {
    font-size: 13px;
    max-width: 320px;
    margin: 0 auto;
}

footer {
    background-color: #45BBC4;
    padding: 40px 10px 20px;
    color: #fff;
    text-align: center;
}

.taratown-logo {
    max-width: 100px;
    height: auto;
    margin: 0 auto 40px;
}

.logo-small {
    max-width: 200px;
    height: auto;
    margin: 0 auto 30px;
}

.contact {
    font-size: 14px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #fff;
    margin: 0 0 12px 0;
}

.contact span {
    font-size: 12px;
    padding: 10px;
    width: 90%;
    line-height: 1.2;
    display: inline-block;
}

.contact a {
    font-size: 14px;
    padding: 10px 0 0 0;
    line-height: 1.7;
}

.kyodo {
    font-size: 12px;
    margin: 0 0 20px 0;
}

footer .open-btn {
    font-size: 12px;
    text-decoration: underline;
}

footer .modal p {
    text-align: left;
    color: #333;
    font-size: 16px;
}

@media (min-width: 450px) {

    .modal {
        align-items: center;
    }

    .modal-content {
        margin: 0 10px;
    }
}

@media (min-width: 768px) {
    main {
        margin: 0 0 0 auto;
    }

    .pc_left_content {
        display: flex;
    }
}

@media (min-width: 1024px) {
    main {
        zoom: 120%;
        /* 全体を1.2倍(120%)に拡大 */
        margin: 0 10% 0 auto;
    }

    /* -- 佐賀県太良町グルメパスポートクーポン概要 -- */
    #coupon-guide {
        margin: 0 20px 50px;
    }

    .modal-content {
        max-height: 70vh;
    }

    .modal-content_inner {
        max-height: 70vh;
    }

    .pc_left_content,
    .pc_menu {
        width: calc(90% - 540px);
    }

    .open {
        right: calc(10% + 10px);
    }

}

@media (min-width: 1440px) {
    .pc_menu {
        display: flex;
    }

    .pc_left_content,
    .pc_menu {
        width: calc(50% - 270px);
    }

    .hamburger_menu {
        display: none;
    }

    main {
        margin: 0 auto;
    }
}