/*
Theme Name: CUBIC
Description: CUBIC Template
Author: 管理人
*/


.skiptranslate{
	display:none;
}
body{
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    color: #131313;
    text-align: left;
    font-size: 16px;
    /* font-family: 'Noto Sans Japanese', sans-serif; */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    line-height: 1.78;
    letter-spacing: 0.04em;
    word-break: break-word;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x:hidden; 
    }

#body_container{
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow: hidden;
    /*background-image: url(images/bg.jpg);*/
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
#body_container::before{
    content: "";
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    background: #D2FFFF;
    background: linear-gradient(180deg, #029742 0%, rgba(199, 232, 250, 1) 100%);
    opacity: 0.95;
    width: 100%;
    height: 100vh;
    background-size: 200% 200%;
    animation: Grad 5s ease infinite;
    align-items: center;
    justify-content: center;
    position: fixed;
}
@keyframes Grad {
    0%{background-position: 50% 0%;}
    50%{background-position: 50% 100%;}
    100%{background-position: 50% 0%;}
}
body,
#body_container,
main{
    min-height: 100svh;
}
main{
    position: relative;
    z-index: 1;
    padding-bottom: 5.2em;
}
.in{
    margin: auto;
    padding: 0 3%;
}
.inmin{
    max-width: 830px;
    margin: auto;
    width: 90%;
}
ul,li{
    list-style: none;
}
a{
    display: inline-block;
    transition: 0.5s;
}
a:hover{
   
}
img{
    display: inline-block;
    clear: both;
    max-width: 100%
}
/*------------------------------*/
/*ヘッダー*/
#header{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    height: 140px;
}
.home_hed #header{
    -webkit-align-items: flex-end;
    align-items: flex-end;
    position: relative;
    height: 215px;
}
.home_hed .tophed_img{
    position: absolute;
    z-index: 1;
}
.home_hed :is(.tophedimg_01,.tophedimg_02){
    max-width: 66px;
    width: 8%;
    bottom: 10px;
}
.home_hed .tophedimg_01{
    left: 9%;
}
.home_hed .tophedimg_02{
    right: 15%;
}
.home_hed .tophedimg_map{
    max-width: 55px;
    width: 7%;
    right: 7%;
    bottom: 0;
}
#header h1 img {
    width: 100%;
}
#header_container {
    margin-top: 120px;
    text-align: center;
    color: #fff;
}
#header_container h1{
    width: 80%;
    max-width: 500px;
    margin: auto;
}
.home_hed #header_container{
    width: 55%;
    max-width: 930px;
    height: calc(100% - 60px);
    color: #fff;
	background-color: #008086;
    border-top-left-radius: 1.5em;
    border-top-right-radius: 1.5em;
    padding: 2% 0;
    position: relative;
    margin-top: 0;
}
.homehed_hukidashi span{
    position: relative;
    display: inline-block;
    font-size: 17px;
    background-color: #fff;
    color: #008086;
    font-weight: 600;
    padding: 0.5em 1.5em;
    line-height: 1;
    border-radius: 2em;
}
.homehed_hukidashi span::before{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
    border-top: 1em solid #fff;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -1em;
}
.home_hed #header_container h1,
.homehed_hukidashi{
    position: relative;
    z-index: 1;
}
.home_hed #header_container h1{
    margin: auto;
    margin-bottom: 4%;
    max-width: 350px;
    width: 88%;
}
.homehed_hukidashi{
    text-align: center;
}

#header_container h1 :is(b,span){
    display: block;
}
#header_container h1 span{
    font-size: 11px;
}
.homehed_imgh{
    position: absolute;
    bottom: -2px;
    width: 119%;
    left: -8%;
}
.tophedimgh_yama,
.tophedimgh_kuruma{
    position: absolute;
    top: 0;
    left: 0;
}
.tophedimgh_kuruma{
    top: auto;
    bottom: 0;
    right: min(max(0px, calc(0rem + ((1vw - 3.2%) * 1.25))), 22%);
    text-align: right;
    max-width: 736px;
    margin-left: auto;
    margin-right: 0;
    width: 100%;
}
.hd_language_menu{
    position: absolute;
    top: 53px;
    right: 1.5%;
    z-index: 1;
}
.hd_language_menu .gtranslate_wrapper{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: 0.5s;
    background-color: #fff;
}
.hd_language_menu .gtranslate_wrapper a{
    display: block;
    font-size: 0.8em;
    line-height: 1.2;
    padding: 0 0.5em;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}
.hd_language_menu.active .gtranslate_wrapper a{
    height: auto;
    height: 2.5em;
    padding: 0.5em;
    visibility: visible;
    opacity: 1;
}
.hd_language_menu.active .gtranslate_wrapper{
    padding-top: 3em;
    visibility: visible;
}

.gt_container--b2hmok a.glink span{
    font-size:1em;
}
.language_button{
    cursor: pointer;
    padding: 0.2em 3em 0.2em 2.5em;
    position: relative;
    min-width: 10em;
    background-color: #fff;
    border-radius: 2em;
    font-weight: 600;
	z-index: 1;
}
.language_button::before{
    content: "";
    display: block;
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0.8em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotateZ(45deg);
}
/*ハンバーガーボタン-----*/
#smp_menu{
    font-size: 12px;
    position: fixed;
    top: 40px;
    left: 3%;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    /*width: 7em;
    height: 7em;
    border-radius: 50%;
    padding: 1.4em;
    background-color: #f4bb3b;*/
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-direction: column;
    flex-direction: column;
}
#smp_menu .smp{
    position: relative;
    width: 3.5em;
    height: 2.3em;
}
#smp_menu .smp span{
    display: inline-block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all .4s;
    margin: auto;
}
#smp_menu .smp span:nth-child(1){
    top: 0;
}
#smp_menu .smp span:nth-child(2){
    top: 0;
    bottom: 0;
}
#smp_menu .smp span:nth-child(3){
    bottom: 0;
}
#smp_menu.active{
    color: #000;
}
#smp_menu.active .smp span{
    background-color: #000;
}
#smp_menu.active .smp span:nth-child(1){
    transform: translateY(6px) rotate(-45deg);
    bottom: 13px;
}
#smp_menu.active .smp span:nth-child(2){
    opacity: 0;
}
#smp_menu.active .smp span:nth-child(3){
    transform: translateY(-6px) rotate(45deg);
    top: 13px;
}
#smp_menu p{
    letter-spacing: 0.1em;
    margin-top: 0.5em;
    font-weight: 600;
    line-height: 1;
}

/**ハンバーガーメニュー-----*/
#out_frame{
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(62 62 62 / 40%);
    backdrop-filter: blur(10px);
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
}
body.active #out_frame{
    opacity: 1;
    visibility:visible;
}
body.active{
    overflow: hidden;
}
nav{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    padding: 0 20px;
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
    align-content: flex-start;
	justify-content: center;
    transition: 0.5s;
    z-index: 9;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
}
nav.active{
    opacity: 1;
    visibility: visible;
}
#gnavi{
    width: 100%;
    margin-top: 40px;
}
#gnavi li{
	font-weight: bold;
    text-align: center;
    font-size: min(max(20px, calc(1.25rem + ((1vw - 3.2px) * 1.25))), 40px);
}
#gnavi a{
    position: relative;
    padding: 0.5em 2em;
    display: block;
}
/*
#gnavi a::before{
    content: "";
    display: block;
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 1em;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotateZ(-45deg);
}
*/
.nav_logo{
    margin-top: 8%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
	justify-content: center;
    gap: 10px;
    color: #018086;
}
.nav_logoimg{
    width: 12%;
}
.nav_logotext{
    font-weight: 600;
    width: calc(68% - 10px);
}
.nav_logotext img{
    vertical-align: middle;
}

/*----------------------------*/
/*フッター-----*/
footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
#footer{
    text-align: center;
    font-size: 12px;
    font-family: 'Poppins', 'Noto Sans Japanese', sans-serif;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 15px 0;
}

/*----------------------------*/
/*リンクボタン-----*/
.button_box{
    margin-top: 30px;
    text-align: center;
}
.button_box .button_link span{
    background-color:#fff;
    background-size: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.1em;
    letter-spacing: 0.05em;
    cursor: pointer;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    padding: 1em 1.5em;
    min-width: 250px;
    position: relative;
}
.button_box .button_link span::after{
    content: "";
    display: block;
    width: 0.5em;
    height: 0.5em;
    position: absolute;
    top: 0;
    right: 1em;
    bottom: 0;
    margin: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotateZ(-45deg);
}
.button_box.color_blue .button_link span{
	color: #fff;
    background-color: #008086;
}

/*----------------------------*/
/*ホーム-----*/
.home_map iframe{
    width: 100%;
    max-height: 500px;
}
.mapbox{
    border: 10px solid #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.3);
    position: relative;
}
.mapbox .maplogoimg{
    position: absolute;
    top: -1px;
    right: -1px;
    max-width: 200px;
    width: 30%;
	display:none;
}
.home_content{
    margin-top: 80px;
}
div:has(.topimg){
    position: relative;
}
.topimg{
    position: absolute;
}
/*Home画像*/

.topimg_01,
.topimg_03,
.topimg_04,
.topimg_05{
    max-width: 74px;
    width: 10%;
}
.topimg_01{
    left: -5%;
    top: -135px;
}
.topimg_01flash{
    position: absolute;
    top: 0;
    left: 0;
    animation: flash 1s ease-in-out infinite alternate;
}
.topimg_02{
    right: -10%;
    top: -110px;
    max-width: 186px;
    width: 26%;
    animation: fuwafuwa 2s ease-in-out infinite alternate;
}
.topimg_03{
    left: -15%;
    top: 45%;
    animation-delay: 0.391334s;
}
.topimg_04{
    left: -18%;
    top: -46px;
    animation-delay: 0.391334s;
    animation-name: urourol;
}
.topimg_05{
    top: -56px;
    right: -27%;
}
.topimg_06{
    max-width: 100px;
    width: 24%;
    right: -24%;
    top: -70px;
    animation-name: urouror;
}
.topimg_04 img,
.topimg_06 img{
    animation: pikopiko 1s steps(2, start) infinite;
}
.topimg_07{
    max-width: 159px;
    width: 25%;
    left: -25%;
    bottom: 0;
    animation: fuwafuwa 2s ease-in-out infinite alternate;
}
.character_01,
.character_02,
.character_03{
	width:15%;
}
.character_01{
	right: 0;
	animation: character_01 0.9s ease-in-out infinite alternate;
}
.character_02{
	left: 52px;
    top: -29%;
    z-index: -1;
    width: 16%;
	animation: character_02 1.5s ease-in-out infinite alternate;
}
.character_03{
	right: 18%;
    top: -52px;
    z-index: -1;
	width: 14%;
	animation: character_03 1.5s ease-in-out infinite alternate;
}

/*ホームお知らせ*/
.home_news .news_list ul{
    display: none;
}
.home_news .news_list ul li:nth-child(1){
    display: block;
}
/*ホーム邑智郡の紹介*/

.home01_list ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    grid-gap: 2em;
}
.home01_list ul :is(li,a){
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}
.home01_list ul a{
    background-color: #fff;
    border-radius: 2em;
    text-align: center;
    padding: 2em 1em;
    gap: 1.5em;
    font-weight: 600;
}
.home01_list ul a img{
    margin: auto;
    width: 60%;
}

/*ホームバナー*/
.home02_list ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    grid-gap: 1em 2em;
}
.home02_list ul a{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 0.5em;
    border-radius: 1em;
    text-align: center;
    background-color: #fff;
    height: 100%;
    max-height: 80px;
    min-height: 50px;
}
.home02_list ul a img{
    object-fit: contain;
    max-height: 100%;
}

/*----------------------------*/
/*見出し*/

.sec_title{
    text-align: center;
    margin: 2.2em 0;
}
.sec_title h2 b{
    display: block;
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: 0.03em;
}
.sec_title h2 .title_en{
    font-weight: 600;
}
.sec_title h2 span{
    font-size: 13px;
    line-height: 1.1em;
    letter-spacing: 0.02em;
    text-align: center;
    margin-top: 11px;
    display: block;
}

/*------------------------------*/
/*下層ページ----------*/
/*お知らせ-------*/
/*お知らせ一覧*/

.cat_nav {
    margin-bottom: 30px;
}
.cat_nav ul{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 1em;
}

.news_list li + li{
    margin-top: 1em;
}
.news_list a{
    width: 100%;
    background-color: #fff;
    padding: 1em 2em;
    padding-right: 50px;
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border-radius: 3em;
    gap: 0.5em 2em;
}
.news_list a::before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.5em;
    margin: auto;
    width: 0.5em;
    height: 0.5em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotateZ(-45deg);
}

/*カテゴリー*/
.cat_tag{
    display: inline-block;
    line-height: 1;
    padding: 0.5em;
    min-width: 7em;
    border-radius: 2em;
    background-color: #000;
    color: #fff;
    text-align: center;
}
.cat_all{
    background-color: #ff3366;
}
.cat_event{
    background-color: #00a5ff;
}
.cat_news{
    background-color: #00bebe;
}
/*ページナビ*/
.pagination{
    margin-top: 4em;
}
.pagination{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5em;
}
.pagination :is(a,span){
    display: inline-block;
    padding: 0.5em 0.2em;
    min-width: 2em;
    height: 2em;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    font-weight: 600;
}
.pagination span{
    color: #3cf;
}
.pagination a{
    background-color: #fff;
}

/*詳細ページ*/

.p_base{
    
}

.in:has(.contents){
    max-width: 1000px;
}
.contents{
    background-color: #fff;
    border-radius: 20px;
    padding: 45px;
    color: #000;
}
.contents time{
    font-size: 0.8em;
    display: block;
}
.contents h2{
    font-size: 20px;
    font-weight: 600;
    margin: 0.3em 0 1.5em 0;
}
.content_nav{
    margin-top: 4em;
}
.content_nav .button_box .button_link span::after{
    transform: rotateZ(132deg);
}

.basebox img{
    display: block;
}
.basebox img.alignleft{
    float: left;
}
.basebox img.aligncenter{
    margin: auto;
}
.basebox img.alignright{
    float: right;
}
.basebox :is(td, th){
    padding: revert-layer;
}
.basebox :is(ul,ol){
    list-style: auto;
}
.basebox :is(li){
    list-style: inherit;
}
.basebox a{
	text-decoration: underline;
	color:#00a5ff;
}
/*見出し*/
.contents h2{
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5em;
    position: relative;
}
.contents h2::after {
    content: "";
    display: block;
    width: 1em;
    height: 3px;
    margin: 10px auto 1em;
    background-color: #8ed1fc;
}
.contents h3{
    font-size: 26px;
    font-weight: bold;
    border-bottom: 2px solid #8ed1fc;
    padding-bottom: 0.3em;
    margin-bottom: 0.8em;
}
.contents p{
    margin: 1em 0;
}
/*固定ページ----*/
.p_box + .p_box{
    margin-top: 50px;
}
/*ガイド*/
.guide_hed{
    text-align: center;
}
.guide_hed h2{
    font-size: 30px;
    font-weight: bold;
}
.guide_hed h3{
    margin-top: 10px;
}
.qr_code{
    margin-top: 50px;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}
.guide_hed .qr_code > div{
    background-color: #ffffff;
    padding: 20px 20px;
    margin: 0 auto;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    max-width: 280px;
}
.guide_block{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    margin: 45px 0;
}
.guide_block:nth-child(even) {
    -webkit-flex-direction: row-reverse;
    /* flex-direction: row-reverse; */
}
.guide_block .img {
    width: 30%;
    border-radius: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.guide_block .img img {
    width: 100%;
    border-radius: 15px;
}
.guide_block .txt {
    width: 70%;
    padding: 0 5% 44.5px;
}
.guide_block h3{
    padding-left: 0.9em;
}
.txt_title{
    position: relative;
}
.txt_title h3{
    z-index: 1;
    position: relative;
}
.txt_title span{
    position: absolute;
    line-height: 1;
    top: -0.2em;
    left: -0.16em;
    display: block;
    z-index: 0;
    font-size: 70px;
    font-weight: bold;
    font-family: "roboto", sans-serif;
    color: #efefef;
}
/*----------------
 * 基本データ
 * ---------------*/

.basic_list{
	max-width:1200px;
	margin:auto;
}
.basic_list ul{
	display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    grid-gap: 2rem;
}
.basic_list ul li{
	background-color:#fff;
	border-radius:10px;
	padding: 1em;
}
.basic_list ul li a{
	display:block;
	text-align:center;
	padding: 1em;
	border: 6px solid;
    border-radius: 8px;
}
.basic_listimg{
	width: 50%;
    margin: auto auto 1em;
	max-width: 140px;
}
.basic_list ul li a h2{
	font-size: 40px;
	font-weight:600;
}
.basic_list ul li:nth-child(1){
	color:#F5A200;
}
.basic_list ul li:nth-child(2){
	color:#45B035;
}
.basic_list ul li:nth-child(3){
	color:#009FB0;
}


