@view-transition {
  navigation: auto;
}
#wrapper {
  view-transition-name: wrapper;
}
/*
@keyframes vanish {
    from {
        filter: blur(0);
        opacity:1;
    }

    to {
        filter: blur(100px);
        opacity:0;
    }
}
::view-transition-old(wrapper) {
    animation: .4s linear vanish;
}
::view-transition-new(wrapper) {
    animation: .4s linear reverse vanish;
}
*/

:root{
    --main-bg-color: #1a7aad;
}

/*共通*/
header{
    background: var(--main-bg-color);
}

header>a{
    padding: 6px 0;
    display: inline-block;
}

header nav{
    height: 60px;
    line-height: 60px;
    background-color: #fff;
}
header nav a{
    flex: 1 0 auto;
    border: 1px solid var(--main-bg-color);
    text-align: center;
    text-decoration: none;
    transition-duration: .2s;
}
header nav a:hover{
    background-color: var(--main-bg-color);
    color: #fff;
}
footer{
    height: 100px;
    text-align: center;
    background: var(--main-bg-color);
    color: #fff;
    line-height:5;
}

.headline_symbol{
    width: 30px;
    height: 50px;
}
#inner-wrapper{
    background-color: #fff8;
    background-image: url("img/radial_drop.png"),url("img/radial_drop.png");
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-position: 120% -200px,-20% calc(100% + 200px);
}
hr{
    margin: 4em 0;
}

.back-link{
    background-color:#eef;
    padding: 1% 16%;
}

/*トップページ*/
.index_top{
    background-image: url("img/symbol.jpg");
    background-color: #fffd;
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    grid-template:
      ". center ." 
      ". center ." / 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    height: 680px;
}

.index_top--link{
    font-size: 30px;
    background-image: url("img/radial_drop2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 310px;
    height: 310px;
}
.index_top--link:hover{
    filter: contrast(1.5);
}
.index_top--center{
    grid-area: center;
    width: 310px;
    height: 680px;
}

@keyframes showText{
    0%{opacity:0;visibility:hidden;}
    100%{opacity:1;}
}
@keyframes hideText{
    0%{opacity:1;}
    100%{opacity:0;visibility:hidden;}
}
.textAnime1{
    left: 50%;
    top: 38%;
    translate: -50% 0;
    animation: 1.5s showText 1s linear both,1.5s hideText 8.5s linear forwards;
}
.textAnime2{
    left: 50%;
    top: 43%;
    translate: -50% 0;
    animation: 1.5s showText 2.5s linear both,1.5s hideText 8.5s linear forwards;
}
.textAnime3{
    left: 50%;
    top: 53%;
    translate: -50% 0;
    animation: 1.5s showText 4s linear both,1.5s hideText 8.5s linear forwards;
}
.textAnime4{
    left: 50%;
    top: 48%;
    translate: -50% 0;
    animation: 2s showText 10s linear both;
}

.index_top2{
}
.index_top2--symbol{
    width: min(100%,180px);
    height: min(100%,300px);
}

.index_top2--detail2{
    width: max-content;
    border-top:2px solid #000;
}

/*地図ページ*/
.index_map{
    text-align: center;
}
.index_map>div{
    position: relative;
}
.index_map p{
    position: absolute;
    font-size: 20px;
}
.index_map a{
    padding: 1em;
    display: inline-block;
    translate: 1em -1em;
    font-weight: bold;
}
.index_map .tottori{
    top: 7%;
    right: 23%;
}
.index_map .okayama{
    top: 25%;
    right: 29%;
}
.index_map .shimane{
    top: 14%;
    right: 47%;
}
.index_map .hiroshima{
    top: 35%;
    right: 48%;
}
.index_map .yamaguchi{
    top: 46%;
    right: 73%;
}
.index_map .kagawa{
    top: 47%;
    right: 25%;
}
.index_map .tokushima{
    top: 57%;
    right: 20%;
}
.index_map .ehime{
    top: 69%;
    right: 50%;
}
.index_map .kouchi{
    top: 66%;
    right: 34%;
}

/*施設詳細ページ*/
article{
    width: 100%;
    flex-wrap: nowrap;
}
article section:first-child{
    max-width: 39%;
    flex: 0 0 39%;
}
article section:last-child{
    max-width: 60%;
    flex: 0 0 60%;
}

.profile_table{
    border-collapse: separate;
    border-spacing: 0 2em;
}
.profile_table th{
    color:#3e358b;
    white-space:nowrap;
    border-bottom: 1px dashed #000;
}
.profile_table td{
    border-bottom: 1px dashed #000;
}
