@charset "UTF-8";

@font-face {
  font-family: 'Noto Sans Japanese';
  src: url(NotoSansJP-Regular.otf);
}

html {
  font-size: 100%;
  /* スムーズスクロール */
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

body {
  background: #f5f5f5;
  color: #4d4d4d;
  margin: 0px;
  padding: 0px;
  font-family: Arial, Helvetica, 'Noto Sans Japanese', 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

#container {
  width: 1000px;
  /*コンテナー幅*/
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  margin: 0 auto;
}

img,
h1, ul {
  margin: 0px;
  padding: 0px;

}


img {
  max-width: 100% !important;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover img {
  position: relative;
  top: 3pt;
  /* left: 3pt; */
  opacity: 0.9;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* fv --------------------------------------------------------*/
.fv {
  position: relative;
  margin-bottom: 80px;
}

.slide-items {
  width: 100%;
  height: 100%;
}

.slide-items img {
  width: 100%;
  object-fit: cover;
}

.top_title {
  position: absolute;
  top: 0;
  width: 100%;
}

/* scroll */
.scrolldown {
  margin-top: -55px;
  position: absolute;
  left: 50%;
  height: 50px;
  transform: translateX(-50%);
}

.scrolldown span {
  position: absolute;
  left: -20px;
  top: -15px;
  color: #5d5d5d;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.scrolldown::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #5d5d5d;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.6s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/*
  youtube
  ================================================ */
.youtube_wrapper {
  overflow: hidden;
  margin: 60px 40px;
  text-align: center;
  margin-top: 0;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

/* menu --------------------------------------------------------*/
#menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 40px;
  /* background-image: url(../images/bg.jpg);
  background-repeat: repeat; */
  background-color: #FEF8E8;
}

.menu_item img {
  width: 145px;
}

/* cta -------------------------------------------------------------*/
.cta_btn {
  padding: 0 40px 40px 40px;
  text-align: center;
}

.main_btn {
  margin-bottom: 40px;
}

.sub_btn {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 40px;
  max-width: 750px;
  gap: 1rem;
}

/* footer -----------------------------------------------------------*/
footer {
  background-color: #1572a1;
  color: #fff;
  padding: 40px;
}

.footer_container {
  display: grid;
  grid-template-columns: 445px 425px;
  gap: 40px;

}
.footer_item img {
  max-width: 100%;
}

/* 背景　余白 -----------------------------------------------------------*/

.bg_white {
  background-color: #fff;
  padding: 0 20px 20px 20px;
  border-radius: 10px;
}

.bg_yellow {
  background-color: #fdf8e8;
}
.bg_whitepaper {
  background-image: url(../images/bg.jpg);
  background-repeat: repeat;
}
.pt40 {
  padding-top: 40px;
}

/* トップへ戻るボタン -----------------------------------------------*/
#pagetop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  margin: 0;
}

#pagetop a {
  position: relative;
  display: flex;
  width: 65px;
  height: 65px;
  justify-content: center;
  background-color: #98d7e4;
  transition: opacity .6s ease;
  color: #FFF;
  align-items: center;
  text-decoration: none;
  font-size: 32px;
  border-radius: 100%;
}

#pagetop a:hover {
  opacity: .3;
}

/* サイトポリシー --------------------------------------*/
.open {
  cursor: pointer;
  text-decoration: underline;
  font-weight: bold;
}

#pop-up {
  display: none;
}

.overlay {
  display: none;
}

#pop-up:checked+.overlay {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
}

.window {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 1000px;
  padding: 20px;
  max-height: 100%;
  background-color: #135c80;
  opacity: 90%;
  border-radius: 4px;
  align-items: center;
  transform: translate(-50%, -50%);
  color: #fff;
  line-height: 1.5rem;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 3rem;

}

.close h2 {
  font-size: 3rem;
}

.size24 {
  font-size: 1.5rem;
}

.bold {
  font-weight: bold;
}

hr {
  opacity: 50%;
}

/* activity --------------------------------------*/
#activity {
  padding: 0 40px 30px 40px;
  background-image: url(../images/bg.jpg);
  background-repeat: repeat;
  text-align: center;
  font-size: 1.125rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.activity_container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
}

.activity_item {
  text-align: justify;
  margin-bottom: 50px;
}

.item1 {
  width: 455px;
}

.item2 {
  width: 425px;
  padding-left: 30px;
}

.item3 {
  width: 425px;
  padding-right: 30px;
}

.activity_title {
  margin-top: 20px;
}

#activity a {
  color: #1572a1;
  text-decoration: underline;
}

a:hover {
  color: #98d7e4;
}

/* -------------------------------------------- */
@media screen and (max-width:768px) {
  #pagetop {
    right: 2rem;
    bottom: 1rem;
  }

  #pagetop a {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
  }

  * {
    box-sizing: border-box
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  #container {
    max-width: 100%;
    border: none;
  }

  img {
    width: 100%;
  }

  /* menu --------------------------------------------------------*/
  #menu {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 40px 1rem;

  }

  .menu_item img {
    width: 100%;
  }

  /* cta -------------------------------------------------------------*/
  .cta_btn {
    padding: 1rem;
  }

  .main_btn {
    margin-bottom: 20px;
  }

  .sub_btn {
    display: block;
    margin-bottom: 0;
  }

  .sub_btn img {
    margin-bottom: 20px;
    width: 80%;
  }

  footer {
    padding: 60px 1rem;
  }

  .footer_container {
    display: block;
  }


  .window {
    width: 90%;
    height: 100%;
    text-align: left;
    padding-left: 1rem;
    overflow-y: scroll;
  }

  .close {
    padding: 1rem;
  }

  #activity {
    padding: 0 1.5rem 20px 1.5rem;
    font-size: 0.875rem;
  }

  #activity p {
    margin-top: 0;
    margin-bottom: 40px;
  }

  .youtube_wrapper {
    margin: 0;
    
  }
  #whats {
    margin-bottom: -25vh;
  }
  .w80 img{
    width: 80%;
  }
}