@charset "utf-8";


/*                    観光ページテスト 20211012~                          */
button, input {
font-family : inherit;
font-size : 100%;
}

#wrapper{
  margin: 0;
  padding: 0;
  width: auto;
}

/*----------------------------------------
トップスライド
------------------------------------------*/
#top_slide{
  padding: 0 0 0px;
  height: 100%;
  margin: 0  auto 0;
  min-width: 1200px;
  background: #003272;
}

.slidebg{
  display: block;
  margin: 0;
  padding: 0;
  z-index: 200;
  width: 100%;
  min-height: 800px;
  /* background-image: url(slide_test/pic1.jpg); */
  /* background-position: center center; */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  position: relative;
}

/* 画像を暗くするオーバーレイ */
.slidebg::before {
  content: '';
  /* ↓暗いオーバーレイを半透明で配置 */
  background-color: rgba(0, 0, 0, 0.2);
  /* ↓全体を覆うように配置 */
  position: absolute;
  background-image: url(image_test/05.png);
  background-repeat: repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}


.pic1, .pic2, .pic3, .pic4, .pic5{
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pic1{
  background-image: url(slide_test/pic1.jpg);
}
.pic2{
  background-image: url(slide_test/pic2.jpg);
}
.pic3{
  background-image: url(slide_test/pic3.jpg);
}
.pic4{
  background-image: url(slide_test/pic4.jpg);
}
.pic5{
  background-image: url(slide_test/pic5.jpg);
}

/* .s_cover{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
 background-image: url(image_test/05.png);
  background-repeat: repeat;
  z-index: 10;
} */

.top_cap{
  position: absolute;
  top: calc(50% - 90px);
  left: calc(50% - 400px);
  width: 800px;
  height: auto;
  color: #ffffff;
  z-index: 20;
  text-align: center;
  letter-spacing: 0.2em;
  text-shadow: 0 0 20px rgba(0, 31, 88, 0.9);
  font-size: 500%;
  padding: 10px 0;
    font-weight: bold;
  /* color: #01419a; */
  /* background-color: rgba(255,255,255,1); */
}

.wave_sec1{
  width: 100%;
  height: 100px;
}

#wave,#wave_f{
  position: relative;
  /* position: absolute; */
  top: -90px;
  z-index:201;
  float: left;
  width: 100%;
  height: 100px;
}

.top_cap p{
  font-size: 40%;
  padding: 0 0 0;
  letter-spacing: 0.2em;
}

.swipebg{
  display: block;
  margin: 0;
  padding: 0;
  z-index: 200;
  position: relative;
}

.swiper-container .swiper-slide .splayer{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width:100%;
  height: calc(100% - 8px);
  background-color: rgba(225,225,225,0.5);
  background-image: url(image/bg_screen.png);
}

.swiper-container .swiper-slide.swiper-slide-active .splayer{
  background-color: rgba(0,0,0,0);
  background-image: none;
}

/*swiper hack*/

 .swiper-container{
  z-index: 1;
   height: 880px;
}

/*
.swiper-container .swiper-slide img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.swiper-container .swiper-slide{
  margin-right: 0!important;
}

.swiper-pagination{
  z-index: 100;
}
.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets{
  bottom: 0px;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: #ffe346;
    opacity: 1;
}

.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
}

.swiper-pagination-bullet-active{
  background-color: #00196b;
}

.swiper-button-prev,
.swiper-button-next {
  width: 60px;
  height: 60px;
  top: calc(50% - 50px);
}

.swiper-button-prev {
    background: url(../img/arrow1.png) no-repeat center center / contain;
}
.swiper-button-next {
    background: url(../img/arrow2.png) no-repeat center center / contain;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  left: 15%;
  right: auto;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  right: 15%;
  left: auto;
} */

/*-----------------------------------------------
 __container
-----------------------------------------------*/

#wrapper_out {
  margin: 0 auto;
  padding: 0;
  min-width: 1200px;
  max-width: 100%;
  text-align: left;
  /* background-color: #ffffff; */
  /* height: 100%; */
}

.wrapper {
  margin: 0 auto 0;
  padding: 30px 0px;
  padding: 1px 0px 0;
  width: 100%;
  text-align: left;
  background-image: url(image_test/bg_top.jpg);
  /* background-repeat: repeat-y; */
  /* background-size: cover; */
  z-index: 10;
}

.wrapper.bg_b {
    background-image: none;
    background: #003272;
}

.wrapper.gray{
  background-color: #fcfcfc;
  /* background-color: #f9f9f9; */
  /* background-color: #f9f8f4; */
}


.txt_sec{
  margin: 0 auto 0;
  padding: 0px 20px 20px;
}

.cnt_sec{
  margin: 0 auto 0;
  padding: 30px 0px;
  width: 100%;
  text-align: left;
  background-image: url(img/bg.gif);
  background-repeat: repeat;
}

.content {
  padding: 10px 10px 30px;
  width: 1200px;
  /* width: 1004px; */
  margin: 0 auto;
  margin: 0px auto 0px;
}

.content p{
  padding: 10px 0px;
  margin: 0 auto;
}


h1 {
  margin: 0;
  padding: 120px 0px;
  font-size: 300%;
  color: #fff;
  min-height: 48px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.2em;
/*   background-color: #FCFCFC;
  background-color: #F2F2F2; */
  text-align: center;
}

h1.top_p{
  color: #fff;
  font-size: 200%;
  padding: 0;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.2em;
  text-indent: 0.1em;
}

h1.info {
  font-size: 240%;
  letter-spacing: 0.0em;
}

h1.info p{
  letter-spacing: 0.2em;
  margin: 0 auto;
  max-width: 1000px;
  text-align: left;
}

.h2box {
    display: flex;
    width: 80%;
    justify-content: center;
    margin: 0 auto;
    margin-top: 80px;
     margin-bottom: 50px;
}

.h2item {
    width: 40%;
}

.h2item.h2l {
    background-image: url(image_test/h2_l.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 130px;
    width: 30%;
}

.h2item.h2r {
    background-image: url(image_test/h2_r.png);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 130px;
    width: 30%;
}


h2 {
  padding: 5px 0px;
  color: #000;
  font-weight: normal;
  min-height: 30px;
  text-align: left;
  letter-spacing: 0.2em;
  text-align: left;
  font-size: 280%;
  position: relative;
  z-index: 10;
  text-align: center;
  margin: 30px auto 0px;
  margin-bottom: 15px;
  max-width: 1300px;
  line-height: 50px;
}

h2 span  {
  font-size: 40%;
  letter-spacing: 0.05em;
}

h2 span.h2_fs  {
  font-size: 120%;
  letter-spacing: 0.2em;
  color: #00317A;
}

.h2item h2{
  /* font-weight: bold; */
}


h3 {
  margin: 20px 0px 20px;
  padding: 10px 0px;
  font-size: 180%;
  color: #080808;
  font-weight: normal;
  min-height: 30px;
  letter-spacing: 0.15em;
  border-bottom: solid .15em #a8a8a8;
  /* border-bottom: solid .15em #d3d3d3; */
  position: relative;
  text-align: left;
}

h3 span {
   font-size: 70%;
}

h3.mini{
	letter-spacing:0.08em;
}

h3::after {
  position: absolute;
  content: '';
  display: block;
  left: 0;
  bottom: -.125em ;
  bottom: -.15em ;
  border-bottom: .15em solid #195D85;
  /* border-bottom: .15em solid #D2961A; */
  width: 25%;
  height: 100%;
}


h3 {
  width: calc(100% - 20px);
  margin: 0 auto;
}


/*----------------------------------------
フッター
------------------------------------------*/

#foot_out2{
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background-color: #ffffff;
  font-size: 95%;
}

#foot2{
  width: 1200px;
  margin: 0 auto;
    display: flex;
    justify-content: space-between;
   margin: 20px auto;
    align-items: center;
}

#copy_out2{
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #003272;
  font-size: 90%;
  color: #ffffff;
}

#copy2{
  width: 1200px;
  margin: 0 auto;
    text-align: center;
}

.foot2 .address2{
  width:64%;
  padding: 10px 0px;
}


.h_link {
    background: #F2F8FF;
  font-size: 0.9em;
}

.h_link ul {
    display: flex;
    justify-content: space-around;
    width: 1200px;
    margin: 0 auto;
    padding: 25px 0;
}

.h_link ul li a {
    text-decoration: none;
    color: #010E64;
}

#foot2 span{
  font-size: 170%;
}

.right_item {
    border: 1px solid #003272;
    border-left: 5px solid #003272;
    width: 200px;
}

.right_item a {
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #003272;
    transition: .3s;
}

.right_item a:hover {
    background: #003272;
    color: #fff;
}

.box_item.dp_n {
    display: none;
}

img.mapic1 {
    width: 100%;
    }

/*----------------------------------------
メインコンテンツ
------------------------------------------*/

.content ul {
  margin: 0px;
  /* padding: 10px 10px 10px 25px; */
}

.content ul li{
  margin-left: 26px;
  padding: 5px 0;
  line-height: 1.5;
  list-style-type: disc;
  list-style-position: outside
}


.content ol {
  margin-left: 2em;
  padding: 0px 0px 0px 0px;
  list-style: decimal;
}

.content ol li{
  margin: 0px;
  padding: 0px 0px 0px 0px;
  line-height: 1.5;
}


/*-------------------------------------
女川町ってこんなとこ
------------------------------------*/
.about {
    display: flex;
    width: 100%;
    margin: 130px 0;
    color: #fff;
}

.about .about_item.about_l {
    width: 60%;
    position: relative;
}

.about .about_item.about_l .kamome {
    position: absolute;
    background-image: url(image_test/h2_r.png);
    width: 150px;
    height: 100px;
    background-repeat: no-repeat;
    top: 25px;
    right: 200px;
}

.about .about_item.about_l p.ongw_about {
    font-size: 180%;
    line-height: 40px;
    margin: 15px 0;
}

.about .about_item.about_l p span {
    font-size: 60%;
    letter-spacing: 0.0rem;
    padding-left: 10px;
    margin-left: -0.2em
}
.about .about_item.about_l p span.ongw {
    font-size: 180%;
    padding-left: 0px;
    margin-left: 0;
    letter-spacing: 0.2rem;
}

.about .about_item.about_l .about_p p {
    line-height: 30px;
}


.about .about_item.about_r {
    width: 40%;
}

.about .about_item.about_r img {
    width: 100%;
}



/*-------------------------------------
観光情報
------------------------------------*/

.info_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 70px;
}

.info_box .info_item {
    width: 22%;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    margin-bottom: 50px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}


/* .info_box .info_item {
    width: 30%;
    height: 270px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    margin-bottom: 50px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
} */

.info_box .info_item.infnone {
    width: 30%;
    height: 0px;
    margin-bottom: 0px;
    box-shadow: none;
}

.info_box .info_item .info_title{
    background: #003272;
    width: 50px;
    height: 160px;
    margin-left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .info_box .info_item .info_title{
    background: #00317A;
    width: 70px;
    height: 200px;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.info_box .info_item .info_title p{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 135%;
    padding: 0;
}

/* .info_box .info_item .info_title p{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 160%;
    padding: 0;
} */

.info_box .info_item .info_title p.fs130{
    font-size: 130%;
}

.info_box .info_item .info_title p.stay{
  line-height: 1;
  text-align: center;
}

.info_box .info_item .info_title p.stay span{
  font-size: 70%;
}

.info_box .info_item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    transition: .3s;
    background-color: transparent;
    text-decoration:none;
}


.info_box .info_item.pic1 {
    background-image: url(image_test/info1.png);
}

.info_box .info_item.pic2 {
    background-image: url(image_test/info2.png);
}

.info_box .info_item.pic3 {
    background-image: url(image_test/info3.png);
}

.info_box .info_item.pic4 {
    background-image: url(image_test/info4.png);
}

.info_box .info_item.pic5 {
    background-image: url(image_test/info5.png);
}

.info_box .info_item.pic6 {
    background-image: url(image_test/pick1.png);
}

.info_box .info_item a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.info_box .info_item.pic7 {
    background-image: url(image_test/bunkazai.jpg);
}

.info_box .info_item.pic8 {
    background-image: url(image_test/link0.jpg);
}

/*-------------------------------------
モデルコース
------------------------------------*/

.model_course {
    background-image: url(image_test/model_course.png);
    /* height: 550px; */
    background-size: cover;
    position: relative;
    transition: .3s;
    background-repeat: no-repeat;
}

/* .model_course:hover {
    opacity: 0.8;
    
} */

/* .model_course a{
    display: inline-block;
    width: 100%;
    height: 450px;
    color: #fff;
    text-decoration: none;
} */

.model_box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    -webkit-transform: translate(-50%, -60%);
    -ms-transform: translate(-50%, -60%);
    color: #fff;
    text-decoration: none;
    font-size: 220%;
    line-height: 40px;
    width: 1200px;
  text-align: center;
}

.model_icon{
  display: block;
  padding: 0;
  margin: 0 auto 20px;
  background-image: url(image_test/model_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 130px;
}

.model_box p {
  font-size: 140%;
  padding: 0 0;
  letter-spacing: 0.2em;
  margin: 0 0 10px;
}

.model_box span{
    font-size: 60%;
}



.model_course a {
    height: inherit;
}

.model_course:hover {
    opacity: none;
    
}

/* .model_course p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    color: #fff;
    text-decoration: none;
     font-size: 200%;
    line-height: 40px;
    width: 1200px;
} */

.box1 {
    background: rgba(0, 0, 0, 0.5);
    height: 650px;
}

.model_course .linkbtn{
    font-size: 50%;
}

.model_course .linkbtn a {
    font-weight: normal;
    color: #fff;
    border: 2px solid #fff;
}

.model_course .linkbtn:after {
    top: 7px;
    color: #fff;
}

.model_course .linkbtn:hover:after{
  color: #000;
}

.model_course .linkbtn a:hover{
  color: #000;
}

.model_course .linkbtn a::after {
  background-color: #fff;
}

/*-------------------------------------
ピックアップ
------------------------------------*/
.h2item.fff {
    color: #fff;
}

.pick {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 100px 0;
    flex-wrap: wrap;
    
}

.pick .pick_item {
    width: 30%;
    /* background: #fff; */
    position: relative;
    transition: .3s;
    overflow: hidden;
    margin-bottom: 35px;
    border: solid 3px #fff;
}

.pick .pick_item.pknone{
    width: 47%;
    margin: 0 auto 0px;
    background: none;
    height: 0;
  }

.pick .pick_item a {
    display: inline-block;
  width: 100%;
}

.pick .pick_item a img{
    width: 100%;
    vertical-align: middle;
    object-fit: cover;
    height: 240px;
}

.pick_title {
    position: absolute;
    top: 185px;
    left: 15px;
    color: #fff;
    border-left: 3px #FFFF26 solid;
}

.pick_title p {
    padding: 0;
    padding-left: 10px;
    font-size: 105%;
}

.pick_title p span {
    font-size: 65%;
}

.bg-image {
  position: relative;
}

img {
  width: 100%;
}

/* 画像を暗くするオーバーレイ */
.bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.pick .pick_item:hover a .bg-image::before{
  background-color: rgba(0, 0, 0, 0.1);
}


.pick_item video {
    width: 100%;
    vertical-align: middle;
    display: block;
    height: 230px;
    object-fit: cover;
    width: 100%;
    
}

.pick_item p.padding_n {
    padding: 0;
}


/*-------------------------------------
新着情報
------------------------------------*/

.news {
    margin: 0 auto 150px;
    padding: 120px 100px;
    width: 80%;
    background-color: #fff;
    /* box-shadow: 10px 5px 5px #ededed; */
    box-shadow: 5px 5px 0px rgb(0 0 0 / 0.05);
}

.blog{
  width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #dddddd;
}

.blog ul li{
  list-style: none;
    padding: 15px 0;
    margin-left: 0;
    background-image: none;
}

.b_list {
  width: calc(100% - 0px);
  margin: 0 auto;
}

.li_o {
  border-bottom: 1px solid #dddddd;
  transition: all 0.2s ease 0.1s;
  margin: 0px auto 0 !important;
  color: #333;
  padding: 15px 0;
  list-style: none;
  position: relative;
}

.li_o:after{
  display: block;
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  position: absolute;
  top: calc(50% - 9px);
right: 20px;
  color: #01419a;
  font-weight: bold;
   background-color: transparent;
  -moz-transition: all .3 ease;
  -webkit-transition: all .3 ease;
  transition: all .3s ease;
}

.li_o:hover:after{
  right: 10px;
}

.li_o:hover{
  /* background-color: #fcfcfc; */
  background-color: #eeeeee;
  cursor: pointer;
}

.li_o a{
  text-decoration: none;
  display: block;
  letter-spacing: -.4em;
  transition: all 0.2s ease 0.1s;
  color: #333;
}


.li_o a p {
  display: inline-block;
  margin: 0;
  padding: 8px 0;
vertical-align: top;
  letter-spacing: normal;
}

.li_o .date{
  width: 150px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-left: 10px;
}

.li_o .syousai1 {
margin-right: 0;
width: calc(100% - 180px);
padding-left: 20px;
}

.li_o .icon_ctgry01, .li_o .icon_ctgry02, .li_o .icon_ctgry03 {
    border: 2px solid #305089;
    background-color: transparent;
    color: #333;
    padding: 5px 5px;
    border-radius: 0px;
    font-weight: 500;
    width:120px;
    text-align: center;
    margin: 0 20px 0 5px
}

.li_o .icon_ctgry02 {
    order: 2px solid #f8eb65;
}

.li_o .icon_ctgry03 {
    border: 2px solid #305089;
}


.notice_box {
    width: 1150px;
    margin: 0 auto;
    margin-bottom: 150px;
}

.notice_item {
    background: #fff;
    margin: 30px 0 80px 0;
  box-shadow: 5px 5px 0px rgb(0 0 0 / 0.05);
}


.notice_item .title {
    background: #003272;
    padding: 20px;
    font-size: 125%;
    color: #fff;
}

.notice_item .comment {
    padding: 30px;
}

.notice_item ul li{
    background-image: none;
}


.comment.cm_flex {
    display: flex;
}

.comment.cm_flex .cm_item.cm_l{
   width: 75%;
}

.comment.cm_flex .cm_item.cm_r{
   width: 25%;
}

.comment.cm_flex .cm_item img{
   vertical-align: middle;
}

.comment.cm_flex .cm_item img:hover{
  opacity: 0.7;
  -webkit-transition: all .3s;
  transition: all .3s;
}

/*-----------------------------------------------
 アクセス
-----------------------------------------------*/
.access {
    background-image: url(image_test/access.png);
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    /* padding-bottom: 100px; */
}

.access_box {
    display: flex;
    justify-content: space-between;
    margin: 100px 0 50px 0;
}

.access_box .access_item {
    width: 30%;
    position: relative;
}

.access_box .access_item img {
    vertical-align: middle;
}

.access_box .access_item img{
    width: 100%;
}

.access_img{
  /* display: block; */
  padding-top: calc(80% - 12px);
  width: calc(80% - 12px);
  margin: 0 auto;
  border: 6px solid #fff;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  background-color: rgba(255,255,255,0.3)
}

.access_box .access_item a:hover .access_img{
  background-color: transparent;
  transition: 0.3s;
}

.access_img.img1{
  background-image: url(image_test/map_icon.png);
}
.access_img.img2{
  background-image: url(image_test/koutsuu.png);
}
.access_img.img3{
  background-image: url(image_test/parking.png);
}

.access2 {
  /* background-color: #fff; */
  width: 100%;
  height: 80px;
  padding: 20px 0 0;
}

.access2 p {
    padding: 40px 20px 0 20px;
    overflow-wrap: break-word;
    
}

.linkbtn.btn_a {
    width: 300px;
    margin: 20px auto 0px;
}

.linkbtn.btn_a a {
    width: 100%;
    line-height: 40px;
  border: 2px solid #fff;
  color: #fff;
}

.fc_f {
    color: #fff;
    /* font-weight: bold; */
}

.access_title {
    background: #1B78AE;
    width: 60%;
    color: #fff;
    position: absolute;
    top: 225px;
}

.access_title p {
    padding-left: 15px;
    font-size: 120%;
}

.linkbtn.btn_a:after{
  top: 9px;
  color: #fff;
}

.h2item.fff h2 {
    color: #fff;
}

.h2item.fff h2 .h2_fs.fff {
    color: #fff;
}

.box2 {
    background: rgba(0, 0, 0, 0.5);
    height: 1000px;
    background-image: url(image_test/05.png);
    background-repeat: repeat;
  padding-bottom: 100px;
}

span.link_c a {
   color: #bbf5ff;
}

span.link_c a:hover {
   color: #000000;
    background-color: #eeeeee;
}

a:hover {
    /* background-color: #eeeeee; */
}

/* span.link_c a:hover {
   color: #bbf5ff;
} */

.info_box .info_item a:hover {
    /* background: none; */
}

/*-------------------------------------
link
------------------------------------*/
.link {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 90px 0 100px 0;
  align-items: center;
}

.link .link_item{
    width: 18%;
    margin-bottom: 20px;
}

.link .link_item a{
    display: inline-block;
}

.link .link_item a img{
    vertical-align: middle;
}


/*-----------------------------------------------
 __Link button
-----------------------------------------------*/
.linkbtn{
  width: 250px;
  margin: 50px auto 0px;
  text-align: left;
  position: relative;
}

.linkbtn.sub{
  margin: 50px 0 20px;
  margin-left: 50%;
}

.linkbtn a{
  width: 100%;
  display: block;
  margin: 0;
  padding: 0 10px;
  padding-left: 25px;
  text-decoration:none;
  background-color: transparent;
  font-size: 100%;
  font-weight: 500;
  color: #4e4e4e;
  border: 2px solid #003272;
}

.linkbtn a {
  outline: none;
  position: relative;
  z-index: 2;
  line-height: 50px;
  overflow: hidden;
  border-radius: 25px
}


.linkbtn a::before,
.linkbtn a::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.linkbtn a,
.linkbtn a::before,
.linkbtn a::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.linkbtn a:hover {
  color: #fff;
}

.linkbtn a::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
  background-color: #0D6B9A;
  background-color: #003272;
}

.linkbtn a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

.linkbtn:after{
  display: block;
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  position: absolute;
  top: 13px;
  right: 25px;
  z-index: 10;
  color: #003272;
  font-weight: bold;
   background-color: transparent;
  -moz-transition: all .3 ease;
  -webkit-transition: all .3 ease;
  transition: all .3s ease;
}

.linkbtn:hover:after{
  right: 20px;
  color: #fff;
}

.h2box h2 {
    border: none;
    background: none;
}

h3.rih {
    background: none;
    border-left: none;
}

/*----------------------------------------
多言語
------------------------------------------*/

.hmsec{
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #003272;
}

.hitem{
  min-height: 33px;
  width: 1200px;
}


/*----------------------------------------
ヘッダー
------------------------------------------*/

#head_out{
  padding: 0px 0px;
  min-height: 254px;
  height: auto;
  margin: 0 auto;
  min-width: 1024px;
  max-width: 100%;
  background-color: #ffffff;
}

#head{
  width: 1200px;
  margin: 0 auto;
  padding: 0;
}


.toplogo{
  float: none;
}

.toplogo.head{
  display: none;
}

.toplogo a{
  display: block;
  width: 100px;
  height: 200px;
  padding: 0px;
  margin: 15px 0 0 25px;
  background-image: url(image/town_logo_p.png);
  background-repeat: no-repeat;
  background-position: 0 0;
}

#topslide{
  width:1000px;
  float: right;
}

.bx-viewport{
  max-height: 234px;
}

#slider {
  height: 234px;
}

.navbtn{
  display: none;
}


.slide_menu{
  padding: 0px 0px;
  margin: 0 auto;
  min-width: 1024px;
  max-width: 100%;
  background-color: #ffffff;
  /*以下改修用*/
  display: flex;
  flex-direction: column;
}

.headitem{
  margin: 0;
  padding: 0;
}

#textsize{
  display: inline-block;
}


/* グローバルナビ */

.hnav_out{
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #fff;
  border-top: 4px solid #999;
  z-index: 10;
}

.hnav_sec{
  width: 100%;
  margin: 0 auto 5px;
  padding: 1px 0px;
  border-top:3px solid #ccc;
  box-shadow: 0px 3px 5px rgba(90,90,90,0.2);
  background-color: #ffffff;
}

.gnav.r2 {
  width: 1200px;
  border: none;
  border-left: 1px solid #666;
  margin: 0 auto;
}

.gnav.r2 ul {
}
/* 
.gnav.r2 ul li {
  margin: 0px 0px;
  padding: 0px 0px;
  border-right:1px solid #666;
  width: calc(16.3% - 1px);
    font-size:120%;
}

.gnav.r2 ul li:nth-child(3){
  width: calc(18.5% - 1px);
}

.gnav.r2 ul li:last-child{
}

.gnav.r2 ul li a {
  display: block;
  position: relative;
  margin: 0;
  color: #000;
  font-size: 100%;
  line-height: 3;
  padding: 0px;
  border-radius: 0px;
  background-position: 5px center;
  background-repeat: no-repeat;
  background-image: none;
}
.gnav.r2 ul li a:hover{
  background-color: transparent;
}

.gnav.r2 ul li a:before {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  content:'';
  background: no-repeat left 40%;
  background-size: contain;
}

.gnav.r2 ul li a.list1:before {
  background-image: url(image/gnav/h1_ico1a.png);
}

.gnav.r2 ul li a.list2:before {
  background-image: url(image/gnav/h1_ico2a.png);
}
.gnav.r2 ul li a.list4:before {
  background-image: url(image/gnav/h1_ico3a.png);
}
.gnav.r2 ul li a.list3:before {
  background-image: url(image/gnav/h1_ico4a.png);
}
.gnav.r2 ul li a.list5:before {
  background-image: url(image/gnav/h1_ico6a.png);
}
.gnav.r2 ul li a.list6:before {
  background-image: url(image/gnav/h1_ico7a.png);
}

.gnav.r2 ul li a:hover:after {
  display: block;
  position: absolute;
  bottom:-1px;
  left:0;
  width: 100%;
  height: 5px;
  content:'';
  background-color: #3970D1;
}
.gnav.r2 ul li a.list2:hover:after {
  background-color: #37bf25;
}
.gnav.r2 ul li a.list4:hover:after {
  background-color: #0072BC;
}
.gnav.r2 ul li a.list3:hover:after {
  background-color: #f474a2;
}
.gnav.r2 ul li a.list5:hover:after {
  background-color: #ffdc48;
}
.gnav.r2 ul li a.list6:hover:after {
  background-color: #19cced;
}


.secondmenu {
  top: 70px;
  width: 1176px;
  z-index: 8000;
  padding: 8px 10px;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 5px 10px rgba(90,90,90,0.3);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.secondmenu.list1{
  border: 2px solid #00669f;
}
.secondmenu.list2{
  border: 2px solid #36bc00;
}
.secondmenu.list4{
  border: 2px solid #0072bc;
}
.secondmenu.list3{
  border: 2px solid #fb7fa7;
}
.secondmenu.list5{
  border: 2px solid #f8941d;
}
.secondmenu.list6{
  border: 2px solid #19cced;
}

.secondmenu:before {
  display: block;
  content: "";
  position: absolute;
  top:-20px;
  left:0px;
  right:0px;
  height:20px;
  background-image:url(image/sub_menu_mark.png);
  background-position:  8% top;
  background-repeat:  no-repeat;
}


.secondmenu.list2:before{
  background-image:url(image/sub_menu_mark02.png);
  background-position:  24% top;
}
.secondmenu.list4:before{
  background-image:url(image/sub_menu_mark03.png);
  background-position:  60% top;
}
.secondmenu.list3:before{
  background-image:url(image/sub_menu_mark04.png);
  background-position:  42% top;
}







.gnav.r2 .secondmenu a {
  font-size: 0.85em;
  margin: 0px;
  margin-left: 10px;
  padding: 15px;
  border: 0px solid #00669f;
  line-height: 1.2em;
  list-style: none;
  list-style-position: inside;
}

.gnav.r2 .secondmenu a:before, .gnav.r2 .secondmenu a:hover:after{
  display: none;
}

.gnav.r2 .secondmenu a:hover,.gnav.r2 .secondmenu a:focus{
  background-color: #f1f1f1;
  color:  #004D9F;
} */

/*検索フォーム*/
.search_sec{
  width: 100%;
  background-color: #f6f6f6;
  padding: 10px 0;
  /* height: 60px; */
}
   
.search_sp{
  width: auto;
  margin: 0px auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center
}

.key_text{
  text-align: center;
  color: #000;
  margin: 0 10px;
  padding: 7px 0;
  font-size: 1.2em;
}

#search_mobile{
  padding: 0px 5px 3px;
  width: 300px;
  font-size: 1.05em;
  text-align: left;
  /* background: url(/css/image/google_search_watermark.png) 10px center no-repeat #fff; */
}

#search_mobile:focus{
  /* background-image: none; */
}

#search_mobile:placeholder-shown   label{
  /* background-image: none; */
}
#search_mobile:not(:placeholder-shown)   label{
  /* background: url(/css/image/google_search_watermark.png) 10px center no-repeat #fff; */
}

.search-start{
  padding: 0px 0px 3px;
  font-size: 1.05em;
  width: 70px;
  text-align: center;
}
  


























