@charset "UTF-8";

body {
  line-height: 1.6;
  /*-webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";*/
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

@media screen and (min-width: 767px) {
  /*   common--->   */
  .hero {
    position: relative;
    width: calc(100% - 200px);
    margin: 73px 0 70px auto;
    font-size: 0;
  }
  .hero .background {
    width: 100%;
    max-height: 589px;

    max-height: 43.1185vw;
    box-sizing: border-box;
    background: url(../images/fun_to_activity/main_photo.png) no-repeat;
    background-size: cover;
    padding-top: 49.65%;
  }
  .hero h2 {
    position: absolute;
    background: #ffffff;
    color: #333333;
    font-size: 50px;
    font-size: 3.66vw;

    left: -1px;
    top: -26px;
    top: -1.9033vw;
    padding: 0 35px 25px 100px;
    padding: 0 2.5622vw 0.5144vw 7.3206vw;
  }
  .hero .caption {
    position: absolute;
    padding: 30px 10px;
    padding: 2.9282vw 0 0;
    background: #ffffff;
    left: 64px;
    left: 4.6852vw;
    bottom: 0;
    width: 16.2518vw;
    min-height: 32.9428vw;
    min-height: 30.9428vw;
    font-feature-settings: normal;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero .caption p {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 28px;
    font-size: 2.05vw;
    letter-spacing: 0.28em;
    line-height: 2;
    font-weight: bold;
  }
  .hero .description {
    width: 72%;
    margin: 50px 0 0 auto;
    margin: 3.66vw 0 0 auto;
  }
  .hero .description p {
    font-size: 16px;
    font-size: 1.171vw;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.02em;
  }
  /*   --->common   */

  .content {
    width: calc(100% - 200px);
    margin: 0 0 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: justify;
  }
  .banner_inner{
    width: 82.3327%;
    margin: 0 auto 4.39vw;
  }
  .banner_inner a{
    display: block; width: 100%; height: 100%;
    transition: opacity .4s ease; opacity: 1;
  }
  .banner_inner a:hover{ opacity: 0.7; }
  .banner_inner a img{
    width: 100%;
  }
  .fun_wrapper {
    width: 100%;
    background: #f0faff;
    padding-top: 40px;
    padding-top: 2.9283vw;
  }
  .fun_wrapper h2 {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-size: 2.1962vw;

    margin-bottom: 30px;
    margin-bottom: 2.1962vw;
  }
  .fun_wrapper h2::before,
  .fun_wrapper h2::after {
    display: block;
    flex: 1;
    content: "";
    border-top: 1px solid #000000;
  }
  .fun_wrapper h2::before {
    margin-right: 0.8em;
  }
  .fun_wrapper h2::after {
    margin-left: 0.8em;
  }

  .fun_wrapper .programbox {
    width: 82.3327%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0;
  }
  .fun_wrapper .programbox section {
    width: 47.6%;
    margin-bottom: 60px;
    margin-bottom: 4.3923vw;
    background: #ffffff;
  }
  .fun_wrapper .programbox section .figure {
    width: 100%;
    margin-bottom: 25px;
    margin-bottom: 1.83vw;
  }
  .figure img {
    width: 100%;
  }
  .figure .figcaption {
    background: #145f7d;
    color: #ffffff;
    font-size: 18px;
    font-size: 1.3177vw;
    letter-spacing: 0.02em;
    line-height: 1.38;
    text-align: center;
    font-weight: bold;
    padding: 8px 0;
    padding: 0.5856vw 0;
  }
  .programbox .about {
    font-size: 0;
    width: 87.5273%;
    margin: 0 auto;
  }
  .programbox .about h3 {
    font-weight: bold;
    font-size: 32px;
    font-size: 2.3426vw;
    line-height: 1.4375;
    letter-spacing: 0.02em;
    margin-bottom: 25px;
    margin-bottom: 1.83vw;
    text-align: center;
  }
  .programbox .about .desc {
    font-size: 16px;
    font-size: 1.1713vw;
    line-height: 1.875;
    letter-spacing: 0;
    margin-bottom: 25px;
    margin-bottom: 1.83vw;
  }
  .programbox .about dl {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    margin-bottom: 1.0248vw;
  }
  .programbox .about dt {
    width: 105px;
    width: 7.6866vw;
    font-size: 13px;
    font-size: 0.9516vw;

    letter-spacing: 0;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
    padding: 0.366vw 0;
    border: 1px solid #145f7d;
    box-sizing: border-box;
    color: #145f7d;
    margin-right: 10px;
    margin-right: 0.732vw;
  }
  .programbox .about dd {
    width: 283px;
    width: 20.7174vw;
    font-size: 14px;
    font-size: 1.0248vw;

    letter-spacing: 0;
    display: flex;
    align-items: center;
  }
  .programbox .link {
    width: 190px;
    width: 13.9092vw;
    margin: 30px auto;
    margin: 2.1961vw auto;

    box-sizing: border-box;
    font-size: 0;
  }
  .programbox .link .inner {
    border: 2px solid #000;
    text-align: center;
    position: relative;
    transition: .5s ease;
  }
  .programbox .link .inner::before{
    background: #28b9ff;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    transition: .4s ease; 
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    transform-origin: center left;
  }
  .programbox .link .inner:hover::before{
    opacity: 1;
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
  }
  .programbox .link .inner a {
    display: block;
    position: relative;
    color: #333333;
    font-weight: bold;
    font-size: 16px;
    font-size: 1.1713vw;
    width: 100%;
    height: 100%;
    letter-spacing: 0.1em;
    padding: 10px 0 8px;
    padding: 0.732vw 0 0.5856vw;
    transition: all .3s ease;
    transition-delay: .1s;
  }
  .programbox .link .inner:hover a{
    color: #ffffff;
    z-index: 10;
  }
  .programbox .link .inner a::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 20px;
    width: 1.4641vw;

    height: 2px;
    background: #000000;
    top: 50%;
    right: -10px;
    right: -0.732vw;
    transition: all 0.5s;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .programbox .link .inner:hover a::after{
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
  }
}

@media screen and (max-width: 767px) {
  .hero {
    position: relative;
    width: 100%;
    margin-bottom: 10.666vw;
    padding-top: 13.3333vw;
  }
  .hero .background {
    width: 100%;
    max-height: 115.3vw;
    box-sizing: border-box;
    background: url(../images/fun_to_activity/main_photo_sp.png) no-repeat
      center center;
    background-size: cover;
    padding-top: 115.3%;
  }
  .hero h2 {
    position: absolute;
    background: #ffffff;
    color: #333333;
    font-size: 9.06vw;
    left: 0;
    top: 12vw;
    padding: 0 3.7333vw 0 3.733vw;
  }
  .hero .caption {
    width: 78.2vw;
    margin: -15vw auto 0;
    padding: 2.6666vw 1.3333vw 4vw;
    background: #ffffff;
  }
  .hero .caption p {
    text-align: center;
    font-size: 5.333vw;
    letter-spacing: 0.18em;
    line-height: 1.65;
    font-weight: bold;
  }
  .hero .description {
    width: 91.333vw;
    margin: 0 auto;
  }
  .hero .description p {
    font-size: 3.733vw;
    font-weight: 500;
    line-height: 1.78;
    letter-spacing: 0.04em;
  }
  .content {
    width: 100%;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: justify;
  }
  .fun_wrapper {
    width: 100%;
    background: #f0faff;
    padding-top: 40px;
  }
  .fun_wrapper h2 {
    display: flex;
    align-items: center;
    font-size: 8vw;
    margin-bottom: 5.6vw;
  }
  .fun_wrapper h2::before,
  .fun_wrapper h2::after {
    display: block;
    flex: 1;
    content: "";
    border-top: 1px solid #000000;
  }
  .fun_wrapper h2::before {
    margin-right: 0.8em;
  }
  .fun_wrapper h2::after {
    margin-left: 0.8em;
  }

  .banner_inner{
    width: 89.3333%;
    margin: 0 auto 8vw;
  }
  .banner_inner a{
    display: block; width: 100%; height: 100%;
  }
  .banner_inner a img{
    width: 100%;
  }
  .fun_wrapper .programbox {
    width: 89.3333%;
    margin: 0 auto;
    display: block;
    font-size: 0;
    padding-bottom: 8vw;
  }
  .fun_wrapper .programbox section {
    width: 100%;
    margin-bottom: 8vw;
    background: #ffffff;
  }
  .fun_wrapper .programbox section .figure {
    width: 100%;
    
    /*0927*/
    margin-bottom: 5vw;
  }
  .figure img {
    width: 100%;
  }
  .figure .figcaption {
    background: #145f7d;
    color: #ffffff;
    font-size: 4vw;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 1.0667vw 0;
  }
  .programbox .about {
    font-size: 0;
    width: 87.5273%;
    margin: 0 auto;
  }
  .programbox .about h3 {
    font-weight: bold;
    font-size: 6.4vw;
    line-height: 1.4375;
    letter-spacing: 0.02em;
    /* 0927 */
    margin-bottom: 2.9333vw;
    text-align: center;
  }
  .programbox .about .desc {
    font-size: 3.7333vw;
    line-height: 1.785;
    /* 0927 */
    letter-spacing: 0.02em;
    margin-bottom: 6vw;
  }
  .programbox .about dl {
    width: 88%;
    /* 0927 */
    width: 100%;
    /*display: flex;*/
    margin-bottom: 2.666vw;
  }
  .programbox .about dt {
    /*width: 24vw;*/
    width: 30.7%;
    font-size: 2.8vw;
    letter-spacing: 0;
    font-weight: bold;
    text-align: center;
    padding: 0.1333vw 1vw;
    border: 0.26666vw solid #145f7d;
    box-sizing: border-box;
    color: #145f7d;
    margin-right: 2.1333vw;
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    display: inline-block;
    vertical-align: top;
  }
  .programbox .about dd {
    /*width: 52.5333vw;*/
    width: 65.9%;
    font-size: 3.2vw;
    letter-spacing: 0;
    /*display: flex;
    align-items: center;*/
    display: inline-block;
    vertical-align: top;
  }
  .programbox .link {
    width: 50.4vw;
    margin: 6vw auto;
    box-sizing: border-box;
    font-size: 0;
    padding-bottom: 6vw;
  }
  .programbox .link .inner {
    border: 0.5333vw solid #000;
    text-align: center;
  }
  .programbox .link .inner a {
    display: block;
    position: relative;
    color: #333333;
    font-weight: bold;
    font-size: 4.2666vw;
    width: 100%;
    height: 100%;
    letter-spacing: 0.1em;
    /* 0927 */
    padding: 2.2vw 0;
  }
  .programbox .link .inner a::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 5.3333vw;
    height: 0.53333vw;
    background: #000000;
    top: 50%;
    right: -2.66666vw;
    transition: all 0.2s;
  }
  .programbox .link .inner a:hover {
    opacity: 0.8;
  }
}

.din {
  font-family: din-condensed, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.yu {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", "メイリオ","Noto Sans JP",sans-serif;
}

@media screen and (min-width: 767px) {
  .sp {
    display: none !important;
  }
  _:lang(x)::-ms-backdrop,
  nav ul.nav_main .nav_sub li a span.ja {
    padding-top: 2px;
  }
}

@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
}

.hero h2 span.h2_bl {
  color: #28b9ff;
}
