* {
	box-sizing: border-box; /* 各要素の大きさをpaddingとか込みにしない（100pxにpadding10pxだと110pxになる） */
}

#risFil table {
    box-sizing: unset!important;
}

body {
    font-family: "Times New Roman", "Yu Mincho", "Meiryo", sans-serif; /* ページのフォント指定（英語, 日本語第一候補, 日本語第二候補, それでもダメだったときのフォント群） */
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #000000; /* 文字の色 */
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a:hover img {
    opacity: 0.7;
    transition: all 0.5s;
}

.top img, .header img, .top_category img, .leftnavi img, .footer img {
    width: 100%;
    height: auto;
}

.header {
    background: #f8f5f1;
}

#header {
    position: relative;
    width: 100%;
	height: 2640px; /* レビューキャンペーン用 */
}
#header iframe {
    width: 100%;
    height: 100%;
}

#leftNavi {
    width: 240px;
    height: 1466px;
    margin-right: 30px
}
#leftNavi iframe {
    width: 100%;
    height: 100%;
}

#pagebody>table:first-child {
    background-color: #f8f5f1!important;
}

.wrapper_navi_area {
    width: 100%;
    position: absolute;
    z-index: 999;
}

.wrapper_navi_area a {
    text-decoration: none;
}

.navi_area {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: 20px auto;
}

.city_logo {
    width: 200px;
}

.inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_innner_nav {
    margin-right: auto;
}
.header_innner_nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 50px;
}
.header_innner_nav li {
    margin-right: 50px;
}

.header_innner_nav li {
    margin-right: 50px;
}

.header_innner_nav ul li a:hover {
    opacity: 0.7;
    transition: all 0.5s;
}

.navi_area li a {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    color: #FFF;
    white-space: nowrap;
}

.search_box {
    position: relative;
    width: 230px;
    height: 40px;
}
.search_box input[type="text"] {
    background-color: #FFF;
    border: 0;
    padding: 12px 20px;
    width: 100%;
}
.search_box input[type="image"] {
    position: absolute;
    top: -2px;
    right: 15px;
    width: 32px;
    height: 43px;
}
.search_box input {
    border-radius: 21px;
}


.title_area {
    position: relative;
    height: 720px;
    overflow: hidden;
}
.title_area h1, h2 {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

.logo {
    position: absolute;
    width: 391px;
    height: 427px;
    top: 55%;
    left: 50%;
    transform: translate(-55%, -50%);
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(0, 92, 35, 0.8));
}

.bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-image: url(./img/header_bg3.jpg);
    background-repeat: repeat;
    background-size: cover;
    }

.wrapper {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.wrapper_top_category {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.wrapper_top_category h2 {
    margin: 20px auto 0;
    font-size: 25px;
    text-align: center;
    padding: 10px;
}

.top_category_title {
    position: relative;
}
.top_category_title img {
    width: 50px;
    padding: 10px;
    vertical-align: bottom!important;
}
.top_category_title::after {
    content: "";
    position: absolute;
    background: #cec9c3;
    width: 350px;
    height: 1px;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.top_category {
    margin: 10px auto 0;
}

.top_category ul {
    display: flex;
    gap: 0 30px;
    justify-content: space-between;
}

.top_category li {
    width: calc(100% / 8);
    text-align: center;
}

.top_category li a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.top_category li img {
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    filter: drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.4));
}

.top_amount {
    margin: 10px auto 0;
}

.top_amount ul {
    display: flex;
    gap: 0 30px;
    justify-content: space-between;
}

.top_amount li {
    width: calc(100% / 6);
}

.top_amount li a {
    background-color: #000000;
    transition: background-color .5s;
    color: #FFF;
    display: block;
    text-align: center;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    height: 75px;
    line-height: 75px;
}

.top_amount li a:hover, .black_button a:hover, .link ul li a:hover {
    /* background-color: #6a0019; */
    background-color: rgb(0, 92, 35);
}

.tablet_display{
    display: none;
}

.banner {
    margin-top: 40px;
}

.L_banner li {
    margin-top: 20px;
}
.L_banner img {
    width: 100%;
}

.S_banner {
    margin-top: 20px;
}
.S_banner ul {
    display: flex;
}
.S_banner li {
    margin-right: 10px;
    width: 50%;
}
.S_banner li:nth-child(even) {
    margin-right: 0;
}


/* ヘッダーここまで */

/* ボディここから */
    /* 自治体について */
.about {
    background-color: #f8f5f1;
    color: #000;
    padding: 8rem 0 8rem;
    position: relative;
}

.about img {
    width: 100%;
}

.about2 {
    background-color: #f8f5f1;
    color: #000;
    padding: 0rem 0 8rem;
    position: relative;
}

.about2 img {
    width: 100%;
}

.box {
    background: #ece7e1 url(img/About_of_town2.png) center top -1rem no-repeat;
    padding-bottom: 20px;
}
.box h2 {
    width: 40%;
    padding-top: 5rem;
    margin: 0 auto 20px;
}

.box2 {
    background: #ece7e1 url(img/About_of_mascot.png) center top -1rem no-repeat;
    padding-bottom: 20px;
}
.box2 h2 {
    width: 40%;
    padding-top: 5rem;
    margin: 0 auto 20px;
}

.about_title {
    position: relative;
}

.about h2::after {
    content: "";
    position: absolute;
    background: rgb(0, 0, 0);
    width: 350px;
    height: 1px;
    left: 50%;
    transform: translateX(-50%);
}

.wrapper_about {
    display: flex;
    align-items: center;
    margin: 40px auto;
}

.about_explain {
    flex: 1;
    padding: 9px;
    padding-left: 40px;
    font-size: 1.2rem;
    font-weight: bold;
}

.about_map {
    flex: 1;
    padding: 0 7px 0 15px;
}

.about_explain2 {
    flex: 2;
    padding: 9px;
    padding-left: 40px;
    font-size: 1.2rem;
    font-weight: bold;
}

.about_mascot {
    flex: 1;
    padding: 0 2rem;
}

.black_button {
    width: 60%;
    margin: 0 auto 40px;
    display: none;
}
.black_button a {
    background-color: #000000;
    transition: background-color .5s;
    color: #FFF;
    display: block;
    text-align: center;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 900;
    height: 75px;
    line-height: 75px;
}

.about_img {
    margin-top: 4rem;
}

    /* おすすめ返礼品について */
.recommend {
    overflow: hidden;
}

.recom_title {
    background: #FFF url(img/Local_Specialities800.png) left 4rem top 1rem no-repeat;
    padding-top: 10rem;
    padding-bottom: 9rem;
}
.recommend h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
}
.recommend h2::after {
    content: "";
    position: absolute;
    background: rgb(0, 0, 0);
    width: 350px;
    height: 1px;
    left: 50%;
    bottom: -2rem;
    transform: translateX(-50%);
}

.recom_box1 {
    padding: 6rem 0;
    background: #f5ecda url(img/recommend_bg01.png) bottom 7rem left 1rem /60% no-repeat;
}

.recom_box2 {
    padding: 6rem 0;
    background: #e2f8e2 url(img/recommend_bg01.png) bottom 7rem left 1rem /60% no-repeat;
}

.recom_box3 {
    padding: 6rem 0;
    background: rgb(230, 240, 241) url(img/recommend_bg01.png) bottom 7rem left 1rem /60% no-repeat;
}

.recom_box4 {
    padding: 6rem 0;
    background: rgb(255, 255, 233) url(img/recommend_bg01.png) bottom 7rem left 1rem /60% no-repeat;
}

.recom_inner {
    display: flex;
}

.explain {
    margin-right: 60px;
    position: relative;
    width: 45%;
}
.explain p {
    line-height: 1.7;
    font-size: 1.2rem;
}

.recom_name {
    color: #000;
    position: absolute;
    top: -46px;
    left: 2px;
}
.recom_name h3 {
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 3.1rem;
    font-weight: 900;
    filter:drop-shadow(1px 4px 3px white);
}

.img {
    margin-bottom: 35px;
    width: 100%;
    height: auto;
}
.img img {
    width: 100%;
}

.link {
    overflow: hidden;
    margin-top: 40px;
}

.link ul {
    float: right;
}
.link ul li {
    margin-bottom: 0;
}
.link ul li a {
    display: block;
    width: 240px;
    padding: 12px 0;
    background-color: #000;
    color: #FFF;
    text-align: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color .5s;
}
.link ul li a::after {
    margin-left: 6px;
    content: '';
    width: 10px;
    height: 14px;
    display: inline-block;
    background: url(img/arrow.svg) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.item {
    width: 55%;
}
.item ul {
    display: flex;
    margin-bottom: 40px;
}
.item ul:last-child{
    margin-bottom: 0;
}
.item ul li {
    margin-right: 40px;
    text-align: center;
    width: 50%;
}
.item ul li:last-child {
    margin-right: 0;
}
.item ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}
.item ul li a:hover {
	text-decoration: underline;
}
.item ul li a p:last-child::before {
	content: "寄附額：";
}

.product_img img {
    width: 100%;
}

.note {
    font-size: 1rem!important;
    font-weight: 700;
}

    /* 使途項目について */
    .use {
        overflow: hidden;
    }

    .use_title {
        background: #FFF url(img/Use_of_Donations800.png) left 4rem top 1rem no-repeat;
        padding-top: 10rem;
        padding-bottom: 9rem;
    }

    .use_title h2 {
        text-align: center;
        font-size: 3rem;
        font-weight: 800;
    }
    .use_title h2::after {
        content: "";
        position: absolute;
        background: rgb(0, 0, 0);
        width: 350px;
        height: 1px;
        left: 50%;
        bottom: -2rem;
        transform: translateX(-50%);
    }

    
    .way_item {
        background-color: #FFF;
    }
    .way_item ul {
        display: flex;
        justify-content: space-around;
        padding-bottom: 6rem;
    }
    .way_item ul li {
        width: 23%;
        vertical-align: baseline;
    }
    .way_item ul li:last-child {
        margin-right: 0;
    }
    .way_item ul li img {
        width: 100%;
    }
    .way_item ul li p {
        text-align: center;
        font-size: 1.3em;
        font-weight: 700;
    }
    /* 使途項目ここまで */

    /* INFORMATION */
    .info {
        background-color: #f8f5f1;;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .info_title {
        padding-bottom: 4rem;
    }
    .info_title h2 {
        font-size: 3rem;
        text-align: center;
        font-weight: 800;
    }


    .info_contents {
        display: flex;
        justify-content: space-between;
    }
    .info_contents ul {
        width: 32%;
    }
    .info_contents ul li {
        margin-bottom: 2rem;
    }
    .info_contents h3 {
        font-size: 1.6rem;
        font-weight: 700;
        margin: 0 0 1rem;
    }
    .info_contents p {
        font-size: 1rem;
        line-height: 1.5;
        font-weight: 500;
    }
    .info_contents h4 {
        margin: 0.8rem 0 0;
        font-size: 1.1rem;
        font-weight: 700;
    }
    .info_contents ul li ul {
        width: 100%;
    }

    .footer {
        background-color: rgb(0, 92, 35);
        padding: 50px 0 1rem;
    }
    .wrapper_footer {
        max-width: 800px;
        width: 50%;
        margin: 0 auto;
        position: relative;
    }
    .footer h2 {
        text-align: center;
        font-size: 1.8rem;
        color: #FFF;
        font-weight: 800;
        margin: 0 auto 2rem;
    }
    .footer h2 img {
        width: 300px;
        margin-bottom: 5px;
    }
    .footer ul {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    .footer ul li a {
        font-size: 1.2rem;
        color: #FFF;
        text-decoration: none;
        font-weight: 500;
    }
    .footer ul li a:hover {
        opacity: 0.8;
    }
    .footer p {
        color: #FFF;
        text-align: center;
        margin-top: 3rem;
        margin-bottom: 0;
    }

    #scroll-to-top-btn {
        width: 150px;
        height: auto;
        position: fixed;
        bottom: 20px;
        right: 0;
        padding: 0;
        margin: 10px;
        border: none;
        outline: none;
        cursor: pointer;
        transition: 1s;
        z-index: 99999;
    }

    #scroll-to-top-btn img {
        width: 100%;
    }
    #scroll-to-top-btn:hover img {
        opacity: 0.8;
    }

    button {
        margin: 0;
        padding: 0;
    }

@media screen and (max-width: 1279px) {
    .PC_display {
        display: none;
    }
    .tablet_display{
        display: block;
    }
    .navi_area {
        justify-content: flex-start;
    }
    .wrapper {
        width: 95%;
    }
    .top_amount li {
        width: calc(100% / 3);
        margin-bottom: 40px;
    }
    .wrapper_about {
        flex-direction: column-reverse;
    }
    .about_explain, .about_map, .about_explain2 {
        width: 100%;
    }
    .box {
        background: #ece7e1 url(img/About_of_town_700.png) center top 1.7rem no-repeat;
    }
    .box2 {
        background: #ece7e1 url(img/About_of_mascot700.png) center top 1.7rem no-repeat;
    }
    .recom_title {
        background: #FFF url(img/Local_Specialities400.png) left 2rem top 1rem no-repeat;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .recom_title h2 {
        font-size: 2.8rem;
    }
    .recom_box1, .recom_box2, .recom_box3, .recom_box4 {
        padding-bottom: 4rem;
    }
    .recom_inner {
        flex-direction: column;
    }
    .explain {
        width: 100%;
        margin-right: 0;
    }
    .link {
        margin-bottom: 40px;
    }
    .item {
        width: 100%;
    }
    .item ul li {
        max-width: 25%;
        margin-right: 2%;
    }
    .use_title {
        background: #FFF url(img/Use_of_Donations400.png) left 2rem top 1rem no-repeat;
        padding-top: 5rem;
        padding-bottom: 5rem;
        margin-bottom: 3rem;
    }
    .way_item ul {
        justify-content: space-between;
    }
    .way_item ul li {
        width: 47%;
        vertical-align: baseline;
    }
    .info_contents h3 {
        font-size: 1.4rem;
        font-weight: 600;
        margin: 0 0 1rem;
    }
    .info_contents p {
        font-size: 0.9rem;
        line-height: 1.7;
        font-weight: 500;
    }
    .info_contents h4 {
        margin: 0.8rem 0 0;
        font-size: 1.2rem;
        font-weight: 600;
    }
    .info_contents ul li ul {
        width: 100%;
    }
    #scroll-to-top-btn {
        width: 100px;
    }
	#header {
		height: 2800px;  /* レビューキャンペーン用 */
	}
}
