@charset "UTF-8";
p.maincap {
    max-width: 600px;
    margin: -1em auto 0;
    font-size: 1.2em;
    line-height: 1.4;
    padding: 10px;
}

#map .flex {
    background-image: url(/sp/images/goochatan/bg_routemap.png);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}
#map .flex dl, #map .flex img {
    width: 100%;
}
#map .flex dl {
    line-height: 2;
    color: #ffffff;
    text-shadow: 1px 1px 3px #005db4;
}
#map .flex dt {
    font-weight: 600;
    font-size: 1.2em;
    border-top: 1px dotted #ffffff;
}
#map .flex dt:first-child {
    border-top: none;
}
#map .flex dd ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
}
#map .flex dd ul li {
    text-shadow: none;
}
#map .flex dd ul li a {
    background-color: #ffffff;
    border: 1px solid #0168b7;
    border-radius: 50px;
    padding: 5px 30px 5px 15px;
    position: relative;
}
#map .flex dd ul li a:after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #0168b7;
    border-right: 1px solid #0168b7;
    transform: rotate(135deg);
    right: 15px;
    top: -4px;
    bottom: 0;
    margin: auto;
}
#map .flex dd ul li a.yoyaku:after {
    transform: rotate(45deg);
    top: 0;
}
#map .flex img {
    object-fit: cover;
}
ul.point {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
    justify-content: space-between;
}
ul.point li {
    width: calc(50% - 20px);
    background-color: #3690c710;
    padding: 20px;
}
ul.point li dl dt {
    color: #3690C7;
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 10px;
}
ul.point li dl dt span {
    color: #ffffff;
    background-color: #3690C7;
    padding: 5px 10px;
    margin-right: 10px;
    font-size: 0.8em;
    display:block;
    width: fit-content;
    margin-bottom:10px;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 0 10px;
    flex-wrap: wrap;
}
.tab_item {
    width: 45%;
    height: 60px;
    border:1px dotted #428DD1;
    border-bottom: none;
    line-height: 60px;
    font-size: 1.2em;
    text-align: center;
    display: block;
    font-weight: 600;
    transition: all 0.2s ease;
}
.tab_item:hover {
    opacity: 0.75;
}
  
input[name="tab_item"],
input[name="tab_item2"],
input[name="tab_item3"],
input[name="tab_item4"] {
    display: none;
}
  
.tab_content {
    width:100%;
    border:1px solid #428DD1;
    display: none;
    padding: 20px;
    clear: both;
    overflow: hidden;
}
  
#arrchatan:checked ~ #arrchatan_content,
#depchatan:checked ~ #depchatan_content,
#arrchatan2:checked ~ #arrchatan2_content,
#depchatan2:checked ~ #depchatan2_content,
#arrchatan3:checked ~ #arrchatan3_content,
#depchatan3:checked ~ #depchatan3_content,
#arrchatan4:checked ~ #arrchatan4_content,
#depchatan4:checked ~ #depchatan4_content{
    display: block;
}

.tabs input:checked + .tab_item {
  background-color: #3690C7;
  color: #ffffff;
}

.tab_content table {
    width: 100%;
    border-spacing: 0;
}
.tab_content table th {
    border: 1px solid #dddddd;
    border-right: none;
    padding: 10px;
    background-color: #F8F8F8;
    font-weight: 300;
}
.tab_content table td {
    border: 1px solid #dddddd;
    border-right: none;
    padding: 10px;
    border-top: none;
    text-align: center;
}
.tab_content table th:last-child,
.tab_content table td:last-child {
    border-right: 1px solid #dddddd;
}
p.caution {
    background-color: #FFF6CF;
    border: 1px solid #ffd40d;
    border-radius: 5px;
    font-size: 0.8em;
    padding: 15px;
    margin-top: 30px;
}
ul.yoyakuul {
    display: block;
}
a.yoyakubtn {
    margin: 20px auto;
    display: block;
    background-color: #ffffff;
    border: 1px solid #0168b7;
    border-radius: 50px;
    padding: 10px 45px 10px 30px;
    position: relative;
    width: fit-content;
}
a.yoyakubtn:after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #0168b7;
    border-right: 1px solid #0168b7;
    transform: rotate(45deg);
    right: 15px;
    top: 0px;
    bottom: 0;
    margin: auto;
}
.googlemap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}
.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.toggle {
	display: none;
}

.faq {
	position: relative;
	margin-bottom: 1rem;
}

.question,.anser {
	transform: translateZ(0);
	transition: all 0.3s;
}

.question {
	border: solid 1px #999;
	padding: 1rem 2.2rem 1rem 1rem;
	display: block;
	color: #333;
}

.question span,.anser span {
    font-size: 160%;
    padding-right: 0.6rem;
    color: #1273b2;
    line-height: 0;
}
.anser span {
    color: #ca1e46;
}

.question:after,.question:before {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 0;
  bottom: 0;
  margin: auto;
	width: 2px;
	height: 0.75rem;
	background-color: #999;
	transition: all 0.3s;
}

.question:after {
	transform: rotate(90deg);
}

.anser {
	max-height: 0;
	overflow: hidden;
}

.anser div {
	margin: 0;
	padding: 2rem 1rem 2rem;
	line-height: 1.8;
}

.toggle:checked + .question + .anser {
	max-height: 500px;
	transition: all 1.5s;
}

.toggle:checked + .question:before {
	transform: rotate(90deg) !important;
}

@media screen and (min-width: 600px) {
    #map .flex {
        gap: 20px;
        padding: 50px;
    }
    #map .flex dl, #map .flex img {
        width: calc(50% - 10px);
    }
    #map .flex dt {
        padding-top: 20px;
    }
    ul.point {
        margin: 50px 30px;
    }
    ul.point li dl dt {
        margin-bottom: 20px;
    }
    .tabs {
        gap: 0 10px;
    }
    .tab_item {
        width: 45%;
    }
    .tab_content {
        padding: 40px;
    }
    ul.yoyakuul {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
}

