@charset "ytf-8";

/* global */

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: 'Abhaya Libre', serif;
  font-family: 'Noto Serif JP', serif;
}
#wrapper {
  width: 100%;
}
ul {
  list-style-type: none;
}
li {
  font-size: 20px;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
p {
  color: #555;
  font-size: 18px;
}
h2 {
  text-align: center;
  margin: 60px auto 120px;
  letter-spacing: 1.8px;
}
.bx-01 {
  padding: 24px;
  background: url(../image/bgimg01.png) center / contain repeat;
  background-color:rgba(255,255,255,0.8);
  background-blend-mode:lighten;
}
.inner {
  max-width: 1080px;
  margin: 0 auto;
}
dt {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}
dd {
  margin-bottom: 20px;
}


/* header */

header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  display: flex;
  z-index: 1;
  backdrop-filter: blur(20px);
  padding-bottom: 20px;
}
.header {
  color: #fff;
  transition: color 0.4s ease-out;
}
header ul {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 14px;
}
.menu li {
  position: relative;
  float: left;
}
.menu li a {
  display: block;
  width: 220px;
  padding: 10px;
}
.down a:hover {
  background: linear-gradient(155deg, #fefecf 30%, #ffcff9 60%, #ffcaca 90%);
}
.menu li:hover > ul {
  display: block;
}
.menu ul {
  display: none;
  position: absolute;
  top: 38px;
  width: 240px;
}
.menu li:hover > ul {
  display: block;
}
.menu li a {
  display: block;
  width: 220px;
  padding: 10px;
  /* webkit-transition-duration: 0.3s; */
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.nav {
	display: inline-block;
	transition: all .3s ease 0s;
	text-decoration: none;
  color: #fff;
}
.nav:hover {
	cursor: pointer;
	transform: scale(1.2);
}

/* スクロールしたらヘッダーメニューのフォントカラー変更 */
.headerColorScroll {
  color: #333;
}

/* ham-menu PC時のスタイル */

header ul.sp-menu {
  padding-top: 72px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background: rgba(255,255,255,0.95);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}
header ul.sp-menu li {
  margin-bottom: 24px;
}
.sp-menu li a:link {
  color: #333;
}
.sp-menu li a:visited {
  color: #333;
}
header ul.sp-menu.is-active {
  pointer-events: auto;
  opacity: 1;
}





/* ===================================================
1stview
=================================================== */


.top-view {
  min-height: 50px;
  max-width: 300vh;
  position: relative;
}



/* ===================================================
contents
=================================================== */
.main-view ul li {
  text-align: center;
  width: 180px;
  margin-bottom: 8px;
}

#contents .bgc {
  background-color: #ddd;
  background-size: cover;
}
#contents .main-view {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
  gap: 48px;
}
.main-txt ul {
  display: flex;
  align-items: end;
}
.main-txt ul li {
  margin-right: 200px;
}
#contents .main-title {
  font-size: 28px;
  margin-left: 160px;
  font-weight: bold;
}
#contents .main-txt {
  margin-bottom: 40px;
}
#contents dl {
  width: 70%;
  margin: 0 auto 120px;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.content{
  width: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.modal{
  display: none;
  height: 100vh;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  z-index: 50;
}
.modal__bg{
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
}
.modal__content{
  background: #fff;
  padding: 40px;
  position: absolute;
  transform: translate(-50%,-50%);
  width: 60%;
  height: 100%;
  overflow: scroll; /* スクロール設定 */
}


/* ===================================================
detail
=================================================== */

#detail {
  background-color: #E3E3E3;
  padding: 4px 0;
  margin-bottom: 80px;
}
#detail .bx-01 {
  margin-bottom: 120px;
}
.bx-01 ul {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
}
.bx-01 ul li {
  font-size: 24px;
  font-weight: bold;
}
.arrow {
  padding-bottom: 6px;
}

#detail .subbx ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 20px;
}
#detail .subbx-txt {
  width: 60%;
  margin: 0 auto 80px;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.content{
  width: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.content li {
  width: calc((100% - 160px) / 3);
}
.modal{
  display: none;
  height: 100vh;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  z-index: 50;
}
.modal__bg{
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
}
.modal__content{
  background: #fff;
  padding: 40px;
  position: absolute;
  transform: translate(-50%,-50%);
  width: 60%;
  height: 100%;
  overflow: scroll; /* スクロール設定 */
}
h3 {
  font-size: 12px;
}
h5 {
  width: 750px;
  margin: 0 auto 60px;
}

/* ===================================================
learning
=================================================== */
.learning {
  width: 50%;
  margin: 0 auto 180px;
}

/* ===================================================
Main Buttun
=================================================== */

.main_btn {
  max-width: 300px;
  margin: 0 auto;
}
a.btn01 {
  position: relative;
  display: block;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
}
a.btn01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #fefecf 30%, #ffcff9 60%, #ffcaca 90%);
  border-radius: 7em;
  box-sizing: border-box;
}
a.btn01::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 7em;
  border: 1px solid #F0F0F0;
  box-sizing: border-box;
  transform: translate(0, -10px);
}
a.btn01 span {
  position: relative;
  display: block;
  padding: 1rem 5rem;
  transform: translate(0, -10px);
  overflow: hidden;
  z-index: +1;
}
a.btn01 span::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: rotate(45deg);
}
a.btn01::after, a.btn01 span {
  transition-property: transform;
  transition-duration: 0.3s;
}
a.btn01:hover::after, a.btn01:hover span {
  transform: translate(0, 0);
}
a.btn01:hover span::before {
  animation: shine 1s ease-in-out 1;
}
@keyframes shine {
  0% {
    transform: scale(1) rotate(45deg);
    opacity: 0;
  }
  10% {
    transform: scale(1) rotate(45deg);
    opacity: 0.5;
  }
  20% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  80% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/* ===================================================
Right Buttun
=================================================== */

.triangle01 {
  background: linear-gradient(155deg, #ffffcb 15%, #ffcff9 60%);
  height: calc(tan(60deg) * 40px / 2);
  width: 40px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.btn_right a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 80px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 600;
}
.btn_right a:before {
  position: absolute;
  bottom: 0px;
  left: 50%;
  content: '';
  width: 100%;
  height: 2px;
  background: rgba(248, 248, 248, 0.1);
  transform: translateX(-50%);
}
.btn_right a:after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(155deg,#ffcaca 30%, #ffffcb 30%, #ffcff9 30%);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}
.btn_right a:hover {
  opacity: 0.7;
}
.btn_right a:hover:after {
  transform: scale(1, 1);
}

/* ===================================================
Left Buttun
=================================================== */

.triangle02 {
  background: linear-gradient(155deg, #ffffcb 30%, #fdd6d6 60%);
  height: calc(tan(60deg) * 40px / 2);
  width: 40px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.btn_left a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 80px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 600;
}
.btn_left a:before {
  position: absolute;
  bottom: 0px;
  left: 50%;
  content: '';
  width: 100%;
  height: 2px;
  background: rgba(248, 248, 248, 0.1);
  transform: translateX(-50%);
}
.btn_left a:after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(155deg,#ffcaca 30%, #ffffcb 30%, #ffcff9 30%);
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.btn_left a:hover {
  opacity: 0.7;
}
.btn_left a:hover:after {
  transform: scale(1, 1);
}

/* ===================================================
button
=================================================== */
.button {
  display: flex;
  justify-content: center;
  gap: 240px;
  margin-bottom: 240px;
}

/* ===================================================
Button text
=================================================== */

/* .btn_txt {
  display: flex;
  justify-content: center;
  margin-bottom: 240px;
} */


/* ===================================================
footer
=================================================== */
footer {
  margin-bottom: 30px;
}
footer p {
  text-align: center;
}

/* ===================================================
responsive
=================================================== */

@media screen and (max-width:768px) {


  /* ハンバーガーメニュー */
.menu {
  display: none;
}
.ham-menu {
  display: inline-block;
  cursor: pointer;
  position: fixed;
  right: 56px;
  top: 36px;
  z-index: 10;
  width: 40px;
  height: 24px;
}
.ham-line {
  position: absolute;
  transition: 0.3s;
  width: 100%;
  height: 2px;
  background-color: #ccc;
}
.sp-menu li a {
  padding: 12px 48px;
}
.line-top {
  top: 0;
}
.line-middle {
  top: calc(50% - 1px);
}
.line-bottom {
  bottom: 0;
}
.ham-menu-active > .line-top {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}
.ham-menu-active > .line-middle {
  width: 0;
  height: 0;
}
.ham-menu-active > .line-bottom {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}
/* ハンバーガーメニューEND */

/* contents */
#contents .img01 {
  width: 50%;
}
#contents .main-view {
  justify-content: space-evenly;
}
.main-txt ul {
  width: 100%;
  align-items: center;
  gap: 120px;
  margin: 0 auto;
}
.main-txt ul li{
  margin-right: 0;
  font-size: 16px;
}
#contents .main-title {
  margin-left: 100px;
  font-size: 28px;
}
.img02 {
  display: none;
}

/* detail */
#detail ul {
  gap: 30px;
}
#detail ul li {
  font-size: 20px;
}
#detail .subbx-txt {
  width: 80%;
}
#detail .subbx ul {
  width: 90%;
  margin: 0 auto 20px;
  gap: 30px;
}
#detail .bx-01 {
  margin-bottom: 40px;
}
.modal__content{
  width: 80%;
}
h3 {
  font-size: 10px;
}
h5 {
  width: 50%;
  margin: 0 auto 20px;
}

/* learning */
.learning {
  width: 80%;
  margin: 0 auto 180px;
}

/* Main Buttun */
.main_btn {
  width: 260px;
}
.button {
  gap: 120px;
}

}

/* ===================================================
responsive
=================================================== */
@media screen and (max-width:376px) {
  .btn_left {
    display: none;
  }
  .btn_right {
    display: none;
  }
  h2 {
    text-align: center;
    margin: 60px auto 80px;
    letter-spacing: 1.8px;
  }
  .bx-01 ul {
    display: block;
    justify-content: center;
    align-items: flex-end;
  }
  .arrow {
    display: none;
  }
  .bx-01 ul li {
    font-size: 18px;
    font-weight: bold;
  }
  #contents .main-view {
    display: block;
  }
  #contents .img01 {
    width: 80%;
    margin: 0 auto 40px;
  }
  #contents .tool {
    width: 50%;
    margin: 0 auto;
  }
  #contents .main-title {
    font-size: 20px;
    margin-left: 24px;
    font-weight: bold;
  }
  .main-txt ul {
    align-items: center;
    gap: 10px;
  }
  
  }