@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:600');
@import url('https://fonts.googleapis.com/css?family=IM+Fell+English:400i');



/* ----------------GOSPA追加---------------- */

.island-search .ritomap{
    margin:4em auto 0;
    border:2px #000 solid;
    position:relative;
    width: 1004px;
    height: 464px;
}

.island-search #ritomap_link {
    display: none;
}

.island-search .ritomap .mapbase{
    position:absolute;display: block;
    top:0; left:0;
    z-index: 0;
}

.island-search .ritomap .mapbase_sp{display:none;}


.island-search .ritomap .ritomap_parts {
    background-size: contain;
    position: absolute;
    display: block;
    display: none;
    z-index: 100;
}

.island-search .yaeyama{
    top:210px; left:33px;
    width: 217px;
    height: 205px;
    background-image:url(../img/transport/map_yaeyama.png);
    background-repeat: no-repeat;
}

.island-search .miyako{
    top:160px; left:324px;
    width: 183px;
    height: 149px;
    background-image:url(../img/transport/map_miyako.png);
    background-repeat: no-repeat;
}

.island-search .kume{
    top:160px; left:560px;
    width: 56px;
    height: 57px;
    background-image:url(../img/transport/map_kume.png);
    background-repeat: no-repeat;
}

.island-search .honto{
    top:37px; left:660px;
    width: 277px;
    height: 311px;
    background-image:url(../img/transport/map_honto.png);
    background-repeat: no-repeat;
}

.island-search .ritoname{
    letter-spacing:normal;
    font-size: 24px;
    margin: 3em auto 1.5em;
    border-bottom: 3px #666 solid;
    padding-bottom: 10px;
    letter-spacing: 0.1em;
}

.island-search .accessMap {
    margin: auto auto 60px;
    max-width: 996px;
}

.island-search .accessMap img{
    width: 100%;
}

.island-search .accessMap .pcnone{
    display:none;
}

.island-search .accessInfo {
    width: 996px;
    margin:auto;
}

.accessInfo_item {
    margin: 50px auto;
    position:relative;
}
.accessInfo_item dt {
    position:absolute; top:-1em; left:0px;
    display: inline-block;
    background-color:#4d4d4d;
    color: #fff;
    font-weight: bold;
    padding: 8px 20px 5px;
    font-size: 17px;
}

.accessInfo_item dd {
    min-height:200px;
    font-size: 17px;
    border:1px #333 solid;
    background-image:url(../img/transport/info_air_arw.png);
    background-repeat: no-repeat;
    background-position: 150px 90px;
}

.accessInfo_item .accessInfo_port{
    position:absolute; top:50px; left:64px;
    min-width: 96px;
}

.accessInfo_item .accessInfo_port .accessInfo_port_name{
    display: table-cell;
    border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;
    border:1px #4d4d4d solid;
    height: 96px;
    width: 96px;
    text-align: center;
    vertical-align:middle;
    background-color:#fff;
    white-space: nowrap;
    padding:0 5px;
}

.accessInfo_item .accessInfo_port span{
    display: inline-block;
    padding: 0;
    margin: 8px 2px 0;
}

.accessInfo_item .accessInfo_port a{
    background-color:#4d4d4d;
    color: #fff;
    padding:3px 3px 1px;
    display: inline-block;
    margin: 8px 2px 0;
}

.accessInfo_item .accessInfo_port span a{margin: 0;}

.accessInfo_item .accessInfo_port span a:hover{
    background-color:#727272;
}

/* .accessInfo_item .accessInfo_time {
    color: #fff;
    background-image:url(../img/transport/info_air.png);
    background-repeat: no-repeat;
    width: 220px;
    height: 90px;
    line-height: 90px;
    position:absolute; top:53px; left:350px;
}
 */

.accessInfo_item .accessInfo_time {
    color: #fff;
    background:none;
    background-color: #e03e24;
    min-width: 210px;
    min-height: 90px;
    padding:0 10px;
    width: auto;
    height: auto;
    line-height: 1.5;
    position:absolute; top:53px; left:360px;
    border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;
}

.accessInfo_item .accessInfo_time .accessInfo_time_contents {
    top: 50%;
    margin-left: 5px;
    margin-right: 5px;
    transform: translateY(-50%);
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
}

.accessInfo_item .accessInfo_time:after {
    content:url(../img/transport/info_air_icon.png);
    position:absolute; top:-30px; right:-30px;
}

.accessInfo_item .accessInfo_time-2l br{
    display:none;
    }

.accessInfo_item .accessInfo_island {
    display: flex;
    align-items:center;
    justify-content:center;
    text-align: center;
    width: 200px;
    height: 90px;
    padding-top: 10px;
    background-image:url(../img/transport/info_island.png);
    background-repeat: no-repeat;
    position:absolute; top:50px; right:63px;
}

.accessInfo_item.accessInfo_ship dt {
    background-color:#29a1d8;
}

.accessInfo_item.accessInfo_ship dd {
    border:1px #0071b2 solid;
    background-image:url(../img/transport/info_ship_arw.png);
    background-repeat: no-repeat;
}

.accessInfo_item.accessInfo_ship .accessInfo_time {
    background-color: #22ab73;
}

.accessInfo_item.accessInfo_ship .accessInfo_time:after {
    content:url(../img/transport/info_ship_icon.png);
}

.accessInfo_item.accessInfo_bridge dt {
    background-color:#29a1d8;
}

.accessInfo_item.accessInfo_bridge dd {
    border:1px #0071b2 solid;
    background-image:url(../img/transport/info_bridge_arw.png);
    background-repeat: no-repeat;
}

.accessInfo_item.accessInfo_bridge02 dd {
    border:1px #333 solid;
}

.accessInfo_item.accessInfo_bridge .accessInfo_time {
    background-color: #bc8e14;
}

.accessInfo_item.accessInfo_bridge .accessInfo_time:after {
    content:url(../img/transport/info_bridge_icon.png);
}

.accessInfo_item .accessInfo_text_plus{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 12px;
}

@media only screen and (min-width: 770px) {
.accessInfo_item .accessInfo_text_plus{
    display: inline-block;
    left: 405px;
    right: auto;
    bottom: 10px;
}
}

.accessInfo_item dd .accessInfo_comments{
    position: absolute;
    right: 10px;
    bottom: 10px;
    text-align: right;
    font-size: 13px;
}

.moreinfo{
     max-width: 996px;
    margin:20px auto;
   background: #00a99d;
    color: #fff;
    padding:15px;
    text-align:left;
}

.ferryInfo{
    max-width: 996px;
    margin:auto;
    background: #efefef;
    padding:15px;
    text-align:left;
}
.ferryInfo_title{
    font-weight:bold;
    font-size:16px;
    margin-bottom:10px;
}

.ferryInfo_text p {
    margin: 1em 0 0;
}

.rito_access .hotspot {
    display: none !important;
}
.hotspot{
    margin-top:100px;
    background-color:#fffee6;
    padding: 60px 0 90px;
}

.hotspot_inner{
    max-width: 996px;
    margin: auto;
}
.hotspot_title {
    color: #4d4d4d;
    text-align: left;
    font-size: 16px;
}
.hotspot_title span {
    font-size: 26px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
    padding-right: 10px;
    letter-spacing: 0.05em;
}
.hotspot_item {
    display: flex;
    text-align: left;
    border: 20px solid #c5e7eb;
    position: relative;
    margin: 40px 0;
    background :white;
}
.hotspot_item .num {
    display: inline-block;
    position:absolute; top:-10px; left:-10px;
    font-family: 'Josefin Sans', sans-serif;
    background-color:#22bcb8;
    color: #fff;
    font-weight: bold;
    font-size: 32px;
    border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;
    width: 37px;
    height: 37px;
    line-height: 42px;
    text-align: center;
    z-index: 2;
}

.hotspot_item .photo {
    width: 260px;
    height: 150px;
    flex-shrink: 0;
    position: relative;
    background-size: cover;
}
.hotspot_item .photo .islandname {
    position: absolute;
    top: 0;
    right: 0;
    background: #29A1D8;
    padding: 4px 10px;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.hotspot_item img {
}

.hotspot_text{
    padding: 15px 20px 2px 20px;
    min-height: 150px;
}

.hotspot_item dt {
    font-weight: bold;
    font-size: 22px;
    padding-bottom: 10px;
}
.hotspot_item dt span {
    padding-left: 15px;
    font-weight: normal;
    font-size: 18px;
    color: #5c8b8f;
    font-family: 'IM Fell English', serif;
    background-color:#fff; /*2017/11/7 追加*/
}
.hotspot_item dd {
    line-height: 1.8;
}

.island-search .ritolink a {
text-align: center;
}

.island-search .ritolink a {
    margin:90px auto 0;
    display: block;
    max-width: 450px;
    background-color:#22bcb8;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.1em;
    height: 63px;
    line-height: 63px;
    font-size: 20px;
}
@media only screen and (max-width: 769px) {


.island-search .spnone{
    display:none;
}

.island-search .accessMap .pcnone{
    display:block;
}

.island-search .rito_access{
    width: 100%;
}


.island-search .accessMap,
.island-search .accessInfo,
.hotspot
{
padding:0 15px;
}

.island-search .ritomap{
    margin:2em auto;
    border:none;
    width: 100%;
    max-width: 1000px;
    height: auto;
    padding:0 10px;
}

.island-search .ritomap .mapbase,
.island-search .ritomap a{
    display:none;
}

.island-search .ritomap .mapbase_sp{
    display:block;
    border:1px #000 solid;
    max-width: 100%;
    height: auto;
    padding: 70px 1px 130px;
}

.island-search #ritomap_link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#ritomap_link ul {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    padding: 20px 5px;
    text-align: left;
}

#ritomap_link ul:nth-child(2n-1) {padding-left: 20px;}
#ritomap_link ul:nth-child(2n) {padding-right: 20px;}
#ritomap_link ul:nth-child(1) {top: 0; left: 0; width: 60%;}
#ritomap_link ul:nth-child(2) {top: 0; right: 0; width: 40%;}
#ritomap_link ul:nth-child(3) {bottom: 0; left: 0; width: 40%}
#ritomap_link ul:nth-child(4) {bottom: 0; right: 0; width: 60%}

#ritomap_link ul li {
    margin-right: 10px;
    font-size: 12px;
    text-decoration: underline;
    color: #000 !important;
}

#ritomap_link ul li:first-child {
    width: calc(100% - 10px);
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

#ritomap_link a {
    display: block;
}


.island-search .accessInfo {
    width: 100%;
    max-width: 996px;
    margin:auto;
}


.accessInfo_item dt {
    top: -1.5em;
padding: 8px 10px 5px;
font-size: 15px;
}

.accessInfo_item dd {
    min-height: 150px;
    font-size: 17px;
    border:1px #333 solid;
    background-image:url(../img/transport/info_air_arw_sp.png);
    background-repeat: no-repeat;
    background-position:42% 70px;
    background-size: 52%;
}

.accessInfo_item.accessInfo_bridge dd {
    min-height: 150px;
    font-size: 17px;
    background-image:url(../img/transport/info_bridge_arw_sp.png);
    background-repeat: no-repeat;
    background-size: 52%;
}


.accessInfo_item .accessInfo_port{
    position:absolute; top:32px; left:3%;
    min-width: 80px;
    font-size: 15px;
}

.accessInfo_item .accessInfo_port .accessInfo_port_name{
    height: 80px;
    width: 80px;
    padding:0 3px;
}

.accessInfo_item .accessInfo_port .accessInfo_port_name.too_long{
    font-size: 10px;
    line-height: 1.5;
}

.accessInfo_item .accessInfo_port span{
    display: inline-block;
    padding: 0;
    margin: 5px 2px 0;
}

.accessInfo_item .accessInfo_port span a{
    background-color:#4d4d4d;
    color: #fff;
    padding:3px 3px 1px;
    display: inline-block;
}

    .accessInfo_item .accessInfo_island {
    width: 110px;
    height: 50px;
    padding-top: 15px;
    background: url(../img/transport/info_island.png);
    background-repeat: no-repeat;
    background-size: contain;
    top: 47px;
    right: 6px;
        font-size: 12px;
        line-height: 1.4;
}


.accessInfo_item .accessInfo_time {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background:none;
    background-color: #e03e24;
    min-width: 90px;
    min-height: 60px;
    padding:0 5px;
    width: auto;
    height: auto;
    line-height: 1.5;
    position:relative;
    top: 45px;
    left: 0;
    font-size: 14px;
}

.accessInfo_item .accessInfo_time:after {
    content:url(../img/transport/info_air_icon.png);
    position:absolute; top:-20px; right:-20px;
}

.accessInfo_item .accessInfo_time .accessInfo_time_contents {
    font-size: 10px;
    transform: none;
    position: relative;
}

.accessInfo_item .accessInfo_time-2l {
    line-height: 1.3;
}

.accessInfo_item .accessInfo_time-2l br{
    display:inline;
    }

.accessInfo_item dd .accessInfo_comments {
    font-size: 11px;
}


.accessInfo_item.accessInfo_ship .accessInfo_time {
    background-color: #22ab73;
}

.accessInfo_item.accessInfo_ship .accessInfo_time:after {
    content:url(../img/transport/info_ship_icon.png);
}

.accessInfo_item.accessInfo_ship dd {
    background-image:url(../img/transport/info_ship_arw_sp.png);
    background-repeat: no-repeat;
    background-size: 52%;
}

/*
.accessInfo_item.accessInfo_ship .accessInfo_time {
    background-image:url(../img/transport/info_ship.png);
    background-repeat: no-repeat;
    background-size: contain;
}
 */

.moreinfo{
    margin:15px;
}

.ferryInfo{
    margin: 15px 15px 50px 15px;
}


.hotspot{
    padding:25px 15px;
}

    .hotspot_inner {
    max-width: none;
    margin: auto;
    width: 100%;
}
.hotspot_title {
    font-size: 14px;
}
.hotspot_title span {
    font-size: 22px;
}

.hotspot_item {
    display: block;
    margin: 40px 0;
}

.hotspot_item .num {
    font-size: 26px;
    width: 30px;
    height: 30px;
    line-height: 36px;
}
.hotspot_item .photo {
    width: 100%;
    height: calc((100vw - 50px) / 16 * 9);
    padding: 0;
    margin: 0;
    overflow: auto;
    float: none;
}
.hotspot_item img {
    width: 100%;
    display: block;
}
    .hotspot_text{
    padding: 10px;
    margin-left: 0;
    padding-bottom: 40px;
}

.hotspot_item dt {
    font-size: 20px;
    padding: 10px 0;
}
.hotspot_item dt span {
    display: block;
    padding-left: 0;
    font-size: 17px;
}


.island-search .ritolink a {
    margin:0px auto 0;
}


}



/* //////////////////////// 320スマートフォン //////////////////////// */

@media only screen and (max-width: 321px) {
.island-search .ritomap .mapbase_sp {
    padding-top: 100px;
    padding-bottom: 170px;
}

.accessInfo_item dd {
    min-height: 130px;
    font-size: 14px;
    border:1px #333 solid;
    background-image:url(../img/transport/info_air_arw_sp.png);
    background-repeat: no-repeat;
    background-position: 43% 60px;
    background-size: 50%;
}

.accessInfo_item .accessInfo_port{
    position:absolute; top:32px; left:3%;
    min-width: 60px;
    font-size: 14px;
}

.accessInfo_item .accessInfo_port .accessInfo_port_name{
    height: 60px;
    width: 60px;
    padding:0 3px;
}
.accessInfo_item .accessInfo_port span{
}

.accessInfo_item .accessInfo_time {
    top: 30px;
}
.accessInfo_item .accessInfo_island {
    width: 80px;
    height: 40px;
    font-size: 9px;
    padding-top: 10px;
    white-space: nowrap;
    top: 40px;
}

.accessInfo_item.accessInfo_ship dd {
    background-image:url(../img/transport/info_ship_arw_sp.png);
    background-repeat: no-repeat;
    background-size: 50%;
}

/* .accessInfo_item.accessInfo_ship .accessInfo_time {
    background-image:url(../img/transport/info_ship.png);
    background-repeat: no-repeat;
    background-size: contain;
} */




}

/*島のオススメ情報リンクボタン　Edited by Soda*/

.hotspot_text a {
    color: white;
    background: #22bcb8;
    display: block;
    width: 14%;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: center;
}

@media only screen and (max-width: 769px) {

.hotspot_text a {
width: 32%;
margin-left: 68%;
}
}

/* ------------------------------
島コンテンツ（island-content）
top.cssから抽出・改変
------------------------------ */
.island-content {
  position: relative;
  display: block;
  text-align: left;
  font-size: 10px;
  max-width: 996px;
  margin: 6rem auto 0;
}

@media screen and (min-width: 768px) and (max-height: 1022px) {
  .island-content {
    font-size: calc(10 / 1022 * 100vh);
  }
}

@media screen and (min-width: 768px) and (max-width: 1060px) and (max-height: 1022px) {
  .island-content {
    font-size: min(calc(10 / 1060 * 100vw), calc(10 / 1022 * 100vh));
  }
}

@media screen and (max-width: 767px) {
  .island-content {
    font-size: calc(10 / 390 * 100vw);
    padding: 0 15px;
    margin: 3rem auto 0;
  }
}

.island-content__imgWrapper {
  position: relative;
  background-color: #eee;
}

.island-content__imgWrapper::before {
  content: "";
  display: block;
  padding-top: 57.5%;
}

.island-content__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.island-content__label {
  position: absolute;
  top: 0;
  left: 0;
  width: 15em;
  height: auto;
}

@media screen and (max-width: 767px) {
  .island-content__label {
    width: 7.8em;
  }
}

.island-content__body {
  display: flex;
  align-items: center;
  column-gap: 5em;
  margin-top: 2em;
  padding: 0 2.75em;
}

@media screen and (max-width: 767px) {
  .island-content__body {
    display: block;
    margin-top: 1.5em;
    padding: 0;
  }
}

.island-content__text {
  margin-bottom: 2.5em;
  font-size: 1.6em;
  font-weight: 500;
  line-height: 1.875;
}

@media screen and (max-width: 767px) {
  .island-content__text {
    margin-bottom: calc(3em / 1.4);
    font-size: 1.4em;
    line-height: calc(24 / 14);
  }

  .island-content__text::after {
    content: "";
    display: block;
    clear: both;
  }
}

.island-content__figure {
  flex-shrink: 0;
  width: 23.5em;
}

@media screen and (max-width: 767px) {
  .island-content__figure {
    float: right;
    width: calc(12em / 1.4);
    margin: 1em 0 0 1em;
    clear: both;
  }
}

.island-content__illust {
  display: block;
  width: 100%;
  height: auto;
}

.island-content__figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.3125em;
  margin-top: 0.625em;
  text-align: center;
  font-size: 1.6em;
  font-weight: 500;
  line-height: 1.4375;
}

@media screen and (max-width: 767px) {
  .island-content__figcaption {
    column-gap: calc(0.5em / 1.2);
    margin-top: calc(1em / 1.2);
    font-size: calc(1.2em / 1.4);
    line-height: calc(17 / 12);
  }
}

.island-content__figcaption::before {
  content: "";
  flex-shrink: 0;
  width: 1em;
  height: 1.25em;
  background: url("../img/top/icon-island-caption.svg") no-repeat center / contain;
}

@media screen and (max-width: 767px) {
  .island-content__figcaption::before {
    width: calc(1em / 1.2);
    height: calc(1.25em / 1.2);
  }
}

/* ------------------------------
ボタン（topBtn）
top.cssから抽出
------------------------------ */
.island-content .topBtn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: calc(30.4em / 1.6);
  height: calc(6em / 1.6);
  padding: 0 calc(1.8em / 1.6) 0 calc(4em / 1.6);
  border: 1px solid #9B9B9B;
  border-radius: 9999px;
  background-color: #fff;
  font-size: 2.5em;
  font-weight: 700;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .island-content .topBtn {
    width: calc(25.3em / 1.5);
    height: calc(5.5em / 1.5);
    padding: 0 calc(1.8em / 1.5) 0 calc(3em / 1.5);
    font-size: 1.5em;
  }
}

.island-content .topBtn__icon {
  width: calc(4em / 1.6);
  height: calc(4em / 1.6);
}

@media screen and (max-width: 767px) {
  .island-content .topBtn__icon {
    width: calc(3.5em / 1.5);
    height: calc(3.5em / 1.5);
  }
}

.island-content .topBtn__iconBg {
  fill: #20303C;
  transition: fill 0.3s;
}

.island-content .topBtn__iconArrow {
  fill: #fff;
  transition: fill 0.3s;
}

@media screen and (max-width: 767px) {
  .island-content .topBtn__iconArrow {
    transform: scale(0.667);
    transform-origin: center;
  }
}

@media (any-hover: hover) {
  .island-content .topBtn:hover {
    opacity: 1;
    background-color: #20303C;
    border-color: #20303C;
    color: #fff !important;
  }

  .island-content .topBtn:hover .topBtn__iconBg {
    fill: #fff;
  }

  .island-content .topBtn:hover .topBtn__iconArrow {
    fill: #20303C;
  }
}

/* ------------------------------
汎用
------------------------------ */
.display-flex {
display: flex;
}

.position-relative {
position: relative;
}

.text-center {
text-align: center;
}

@media screen and (min-width: 768px) {
.hidden-pc {
    display: none;
}
}

@media screen and (max-width: 767px) {
.hidden-sp {
    display: none;
}
}

.bg-green {
background-color: #7FBE26;
}

.bg-purple {
background-color: #6F57A2;
}

.bg-pink {
background-color: #E8546B;
}

.bg-blue {
background-color: #0057E2;
}

.bg-brown {
background-color: #8E4700;
}