@charset "utf-8";

/*-----------------------------------
h1
-----------------------------------*/
.h1-wrap{
    position: relative;
}
.h1-wrap .type{
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    padding: 3px 10px;
    text-align: right;
    background-color: #ff9933;
    text-align: center;
    cursor: pointer;
}
.h1-wrap .type div{
    font-weight: bold;
    color: #FFF;
}
.h1-wrap .type div i{
    margin-left: 5px;
}
.type-description{
    opacity: 0;
    width: 200px;
    position: absolute;
    z-index: 10000;
    top: 40px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    color: #FFF;
    text-align: left;
}
.type-description:before{
    position: absolute;
    top: -16px;
    left: 50%;
    content: "";
    margin-left: -8px;
    border: 8px solid transparent;
	border-bottom: 8px solid rgba(0, 0, 0, 0.8);
}
.type-description.open{
    opacity: 1;
}
.type-description dl:first-child{
    margin-bottom: 10px;
}
.type-description dt{
    font-size: 0.9em;
    font-weight: bold;
}
.container .type-description p{
    margin-bottom: 0;
    font-size: 0.8em;
}
/*--Large screens only--*/
@media print, screen and (min-width: 1025px){
    .type-description.open{
        animation-name: slow;
        animation-duration: 0.5s;
        animation-timing-function: ease;
    }
}
@keyframes slow {
    0% { opacity: 0; top: 30px;}
    30% { opacity: 1; top: 40px;}
    100% { opacity: 1; top: 40px;}
}
/*--Small~Medium screens--*/
@media only screen and (max-width: 1024px){
    .type-description .close{
        position: absolute;
        top: 15px;
        right: 15px;
        display: inline;
    }
    .type-description .close i{
        font-size: 1.2em;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .h1-wrap .type{
        right: 30px;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .h1-wrap h1{
        margin-bottom: 10px;
    }
    .h1-wrap .type{
        position: static;
        float: right;
        width: auto;
        padding: 2px 20px;
        margin-bottom: 3px;
        font-size: 0.9em;
    }
    .type-description{
        top: 90px;
        right: 20px;
    }
    .type-description:before{
        left: 80%;
        margin-left: 0;
    }
    h2,
    .swiper-slide h1{
        line-height: 1.8;
    }
}

/*-----------------------------------
info
-----------------------------------*/
.container p,
.info,
.info table,
.gmap,
.gallery-box{
    margin-bottom: 35px;
}
.id{
    float: left;
    margin-bottom: 10px;
    padding: 2px 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.94em;
    font-weight: bold;
    color: #FFF;
    text-align: center;
}
.info th{
    width: 128px;
}
.icons dt{
    font-weight: bold;
}
.icons ul{
    margin-bottom: -1px;
}
.icon li{
    float: left;
    margin-bottom: 1%;
    padding: 2px 5px;
    font-size: 0.9em;
}
.featherlight .icon li{
    font-size: 0.8em;
}
.swiper-slide .btm-btn li{
    float: left;
    width: 49%;
}
.swiper-slide .btm-btn li:first-child{
    margin-right: 1%;
}
.swiper-slide .btm-btn li:last-child{
    margin-left: 1%;
}
.swiper-slide .btm-btn .form-btn a{
    width: 100%;
    padding: 5px 15px 8px;
}
.swiper-slide .btm-btn .form-btn a img{
    width: 20px;
    margin-right: 8px;
    vertical-align: -5px;
}
.swiper-slide .btm-btn .featherlight-close{
    width: 100%;
    margin: 0 auto;
    padding: 5px 15px 8px;
    background-color: #999;
    border-radius: 5px;
    box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.2) inset;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    .icons dt{
        float: left;
        width: 10%;
    }
    .icons dd{
        float: left;
        width: 90%;
    }
    .icon li{
        width: 10.2%;
    }
    .featherlight .icon li{
        width: 19%;
    }
}
/*--Large screens only--*/
@media print, screen and (min-width: 1025px){
    .icon li:not(:last-child){
        margin-right: 1%;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .container p,
    .info,
    .info table,
    .gmap,
    .gallery-box,
    .middle-btn{
        margin-bottom: 25px;
    }
    .icons dt{
        width: 15%;
    }
    .icons dd{
        width: 85%;
    }
    .icon li{
        width: 18.4%;
    }
    .icon li:not(:nth-child(5n)){
        margin-right: 1%;
    }
    .featherlight .icon li{
        width: 18.4%;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .container p,
    .info,
    .info table,
    .gmap,
    .gallery-box,
    .middle-btn{
        margin-bottom: 20px;
    }
    dl.icons + dl.icons{
        margin-top: 0;
    }
    .info th{
        width: 15%;
        font-size: 0.9em;
        font-weight: bold;
    }
    .info td{
        width: 35%;
    }
    .icon li{
        width: 32.6%;
        font-size: 0.7em;
    }
    .icon li:not(:nth-child(3n)){
        margin-right: 1%;
    }
    table{
        border-left: 1px solid #c2c3c4;
        border-right: 1px solid #c2c3c4;
    }
    th, td {
        display: block;
        width: 100% !important;
    }
    th{
        padding: 2px 10px;
        font-size: 0.8em;
    }
    .swiper-slide h1{
        padding-left: 25px;
        padding-right: 25px;
    }
    .swiper-slide th{
        width: 20%;
    }
    .swiper-slide h2,
    .swiper-slide .info,
    .swiper-slide .info table {
        margin-bottom: 10px;
    }
    .swiper-slide .icons {
        margin-bottom: 5px;
    }
    .btm-btn{
        margin-top: 25px;
    }
}

/*-----------------------------------
gallery
-----------------------------------*/
ul.gallery{
    margin-bottom: -2%;
}
.gallery li{
    position: relative;
    float: left;
    width: 18.4%;
    margin-bottom: 2%;
}
.gallery li .pic{
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    margin: 0 auto;
}
.gallery li img{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 120%;
    max-height: 120%;
}
/*【参考】
  title: "CSSでサイズがバラバラな画像を中央でトリミングして表示（レスポンシブ対応）",
  license: "MIT License(https://blog.codepen.io/legal/licensing/)",
  author: "彩",
  url:"http://codepen.io/maritime_color/pen/ZLRzXx"
 */
.gallery li:not(:nth-child(5n)){
    margin-right: 2%;
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    .gallery-box{
        padding: 20px;
        background-color: #eeeeee;
    }
}

/*-----------------------------------
station
-----------------------------------*/
.station li{
    float: left;
    width: 31.9%;
    margin-left: 1em;
    padding-right: 1em;
    list-style-type: disc;
}
.station li span{
    margin-right: 2px;
    font-weight: bold;
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .station li{
        width: 48%;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .station{
        margin-bottom: 25px;
    }
    .station li{
        float: none;
        width: 100%;
    }
}

/*-----------------------------------
gmap
-----------------------------------*/
.map{
    height: 350px;
    background-color: #CCC;
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .gmap #map{
        height: 300px;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .gmap #map{
        height: 250px;
    }
}

/*-----------------------------------
middle-btn
-----------------------------------*/
.middle-btn{
    margin-bottom: 35px;
    padding: 35px 20px 45px;
    background-color: #eeeeee;
    text-align: center;
}
.middle-btn p{
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}
.middle-btn li{
    display: block;
    margin: 0 auto;
    background-color: #87bb1e;
    border-radius: 5px;
    box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.2) inset;
}
.middle-btn a{
    display: block;
    padding: 15px 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    text-decoration: none;
}
.middle-btn ul li a img{
    width: 24px;
    margin-right: 8px;
    vertical-align: -6px;
}
.middle-btn ul li a span{
    font-size: 0.8em;
    font-weight: bold;
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    .middle-btn ul{
        display: table;
        width: 100%;
        table-layout: fixed;
        border-spacing: 15px 0;
    }
    .middle-btn ul li{
        display: table-cell;
        width: 50%;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .middle-btn{
        padding: 25px 10px 35px;
    }
    .middle-btn a{
        font-size: 1.1em;
    }
    .middle-btn ul li a img{
        width: 20px;
        margin-right: 5px;
        vertical-align: -5px;
    }
    .middle-btn ul li a span{
        font-size: 0.7em;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .middle-btn{
        padding: 15px 20px 25px;
    }
    .middle-btn p{
        font-size: 1em;
    }
    .middle-btn ul li:first-child{
        margin-bottom: 10px;
    }
    .middle-btn a{
        padding: 8px 5px;
        font-size: 1em;
    }
    .middle-btn ul li a img{
        width: 18px;
        margin-right: 3px;
        vertical-align: -5px;
    }
    .middle-btn ul li a span{
        display: none;
    }
}

/*-----------------------------------
media-list
-----------------------------------*/
ul.media-list li p{
    margin-bottom: 0;
}
ul.media-list li a{
    cursor: pointer;
}
ul.media-list h4{
    position: relative;
    padding-left: 15px;
    font-weight: bold;
}
ul.media-list h4::after{
    position: absolute;
    content: "";
    top: 10px;
    left: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    ul.media-list{
        margin-bottom: -2%;
    }
    ul.media-list li{
        float: left;
        width: 23.5%;
        margin-bottom: 2%;
    }
    ul.media-list .media-left{
        margin-bottom: 10px;
    }
    ul.media-list img{
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
}
/*--Large screens only--*/
@media print, screen and (min-width: 1025px){
    ul.media-list li:not(:nth-child(4n)){
        margin-right: 2%;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    ul.media-list li{
        width: 32%;
    }
    ul.media-list li:not(:nth-child(3n)){
        margin-right: 2%;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    ul.media-list{
        border-top: 1px solid #c2c3c4;
    }
    ul.media-list li{
        padding: 10px 0;
        border-bottom: 1px solid #c2c3c4;
    }
    .media-left{
        float: left;
        width: 30%;
        margin-right: 3%;
    }
    .media-body{
        float: left;
        width: 67%;
    }
}

/*-----------------------------------
プラグイン
-----------------------------------*/
.featherlight {
    background: rgba(0,0,0,0.8);
    z-index: 10000;
}
.lightbox {
    display: none;
}
.featherlight .featherlight-content{
    height: auto;
    margin: 0;
    padding: 30px 10px 0;
    border-radius: 5px;
}
.swiper-container {
    width: 100%;
    height: auto;
}
.swiper-slide{
    padding: 0 60px;
}
.swiper-pagination{
    padding: 0 50px;
}
.swiper-button-next, .swiper-button-prev {
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    position: absolute;
    top: 50%;
    z-index: 10;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image:none;
    left: 20px;
    right: auto;
    border-top: 3px solid rgba(0,0,0,0.3);
    border-left: 3px solid rgba(0,0,0,0.3);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image:none;
    left: auto;
    right: 20px;
    border-top: 3px solid rgba(0,0,0,0.3);
    border-right: 3px solid rgba(0,0,0,0.3);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.featherlight-close-icon{
    top: 5px !important;
    right: 5px !important;
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    .featherlight .featherlight-content{
        width: 70%;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .featherlight .featherlight-content{
        width: 90%;
    }
    .swiper-slide{
        padding: 0 30px;
    }
    .swiper-pagination{
        padding: 0 20px;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .featherlight .featherlight-content{
        width: 90%;
    }
    .swiper-slide{
        padding: 0 15px;
    }
    .swiper-pagination{
        padding: 0 10px;
    }
    .swiper-button-next, .swiper-button-prev {
        top: 8px;
        width: 20px;
        height: 20px;
        margin-top: 0;
    }
    .swiper-pagination{
        line-height: 1.2;
    }
}

/*-----------------------------------
type-description2
-----------------------------------*/
.info th i{
    margin-left: 5px;
    cursor: pointer;
}
span.asterisk{
    font-weight: bold;
}
th span.asterisk{
    margin-left: 5px;
}
.type-description2{
    margin-top: -20px;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 0.85em;
    color: #FFF;
}
.type-description2 h4{
    font-weight: bold;
}
.type-description2 span.asterisk{
    margin-right: 3px;
}
.type-description2 dt{
    float: left;
    width: 100px;
    font-weight: bold;
}
.type-description2 dd{
    position: relative;
    float: left;
}
.container .type-description2 p{
    margin-bottom: 0;
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    .type-description2{
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    .type-description2 h4,
    .description-box{
        display: table-cell;
        vertical-align: top;
    }
    .type-description2 h4{
        width: 90px;
    }
    .description-box{
        padding-left: 20px;
        border-left: 1px solid #FFF;
    }
    .type-description2 dd{
        padding-left: 1em;
    }
    .type-description2 dd::before{
        position: absolute;
        content: ":";
        margin-left: -1em;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .type-description2{
        margin-top: -10px;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    .type-description2{
        margin-top: -10px;
        padding: 15px;
        font-size: 0.8em;
    }
    .type-description2 h4{
        margin-bottom: 8px;
        padding-bottom: 3px;
        border-bottom: 1px dotted #FFF;
    }
}

/*-----------------------------------
clear
-----------------------------------*/
.h1-wrap,
.icons,
ul.gallery,
ul.station,
ul.media-list,
ul.media-list li,
.btm-btn,
.type-description2 dl{
    display: block;
    min-height: 1%;
}
.h1-wrap:after,
.icons:after,
ul.gallery:after,
ul.station:after,
ul.media-list:after,
ul.media-list li:after,
.btm-btn:after,
.type-description2 dl:after{
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
}
