@charset "utf-8";

#sub_sites {
    position: absolute;
    left: 40px;
    bottom: 40px;
}

@media screen and (max-width:600px){
    #sub_sites {
        width: 100%;
        display: flex;
        justify-content: center;
        left: 0;
        flex-wrap: wrap;
        gap: 1em;
    }
}

#sub_sites a {
    text-decoration: none;
}

#sub_sites .sub_sites_item {
    display: flex;
    width: 100px;
    height: 100px;
    position: relative;
    align-items: center;
}


@media screen and (max-width:600px){
    #sub_sites .sub_sites_item {
        width: 5em;
        height: 5em;
    }

}


#sub_sites .sub_sites_item:not(:last-child) {
    margin-bottom: 30px;
}

@keyframes circle {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(.9);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

#sub_sites .sub_sites_item::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 2px solid #fff;
    top: 50%;
    left: 50%;
    animation: 2s circle forwards infinite ease-out;
}

#sub_sites .sub_sites_item figure {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    z-index: 99;
}

#sub_sites .sub_sites_item figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#sub_sites .sub_sites_item figure img.cover {
    object-fit: cover;
}

#sub_sites .sub_sites_item > p {
    width: 0;
    align-items: center;
    border-radius: 36px;
    background: #ddd;
    white-space: nowrap;
    text-decoration: none;
    color: #666;
    font-size: .9em;
    font-weight: bold;
    /* overflow: hidden; */
    max-width: 0;
    transition: .5s max-width ease;
}

#sub_sites .sub_sites_item:hover > p {
    width: auto;
    max-width: 500px;
    display: block;
    transition: .5s max-width ease;
}

@media screen and (max-width:600px){
    #sub_sites .sub_sites_item:hover > p {
        display: none;
    }
}

#sub_sites .sub_sites_item > p > span {
    opacity: 0;
    transition: .3s opacity ease;
    line-height: 60px;
}

#sub_sites .sub_sites_item:hover > p > span {
    opacity: 1;
    transition: .3s opacity .5s ease;
    padding: 0 30px 0 120px;
}

#banner_box {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: #fff;
    padding: 50px 10% 0;
}

@media screen and (max-width:960px){
    #banner_box {
        display: block;
    }
}

#banner_box a {
  display: block;
  width: calc( ( 100% - 60px ) / 3 );
  text-decoration: none;
  background: #fafafa;
  color: #202020;
  transition: .3s opacity ease;
}

#banner_box a:hover {
    opacity: .7;
  }

@media screen and (max-width:960px){
    #banner_box a {
        display: flex;
        width: 100%;
        justify-content: space-between;
        background: none;
        align-items: center;
    }

    #banner_box a:not(:last-child) {
        margin-bottom: 2em;
    }
}

#banner_box a img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

#banner_box figure,
#banner_box dl,
#banner_box dl dt,
#banner_box dl dd {
    margin: 0;
    padding: 0;
}

@media screen and (max-width:960px){
    #banner_box figure {
        width: 40%;
    }
}

#banner_box dl {
    padding: 30px;
}

@media screen and (max-width:960px){
    #banner_box dl {
        width: calc( 60% - 1em );
        padding: 0;
    }
}

#banner_box dl dt {
    font-size: 1.24em;
    font-weight: bold;
    margin-bottom: 0.5em;
}