@charset "utf-8";

@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);


/*
	font-family:"FontAwesome";
	font-family:"Font Awesome 5 Free";
*/

/*========================================
 Base／固定
========================================*/
body {font-family:'Noto Sans JP', "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;}

/*===== FontSize 早見表(必要なもののみ残す) 　※ 16pxは1remで記載 ※ =====*/
html {
    --12px:calc(12 / 16 * 1rem);
    --13px:calc(13 / 16 * 1rem);
    --14px:calc(14 / 16 * 1rem);
    --15px:calc(15 / 16 * 1rem);
    --20px:calc(20 / 16 * 1rem);
    --24px:calc(24 / 16 * 1rem);
    --26px:calc(26 / 16 * 1rem);
    --30px:calc(30 / 16 * 1rem);
    --36px:calc(36 / 16 * 1rem);
    --40px:calc(40 / 16 * 1rem);
}

/* topへ戻る */
footer #totop{
    width:40px;
    height:40px;
    padding:0;
    text-indent:-9999px;
    background-color:#79dbd4;
    border-radius:100%;
    position:fixed;
    bottom:10px;
    right:20px;
    z-index:800;
    display:none;
    cursor:pointer;
}
footer #totop a {display:block;}
footer #totop::after{
    content:"\f106";
    font-family:"FontAwesome";
    font-size:40px;
    line-height:35px;
    text-indent:0;
    text-align:center;
    color:#fff;
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:0;
}



/*========================================
 カスタム用 ／PC&SP
========================================*/
body {
    position: relative;
    background: #fcb0bf;
    color: #262626;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.6;
    background-image: url(../images/ptn.png);
    background-size: 500px;
}
img {
    width: 100%;
    height: auto;
}

/*共通*/
section {
    padding: 50px 0;
}
.container {
    max-width: 1000px;
    width: 90%;
    margin-inline: auto;
    padding: 40px 40px 60px;
    background: #fff;
    border: 4px solid #436472;
    border-radius: 30px;
    box-shadow: 5px 5px #436472;
    background-image: url(../images/box_point.png), url(../images/box_point.png);
    background-position: top, bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 100% auto;
}
.container2 {
    max-width: 1000px;
    width: 90%;
    margin-inline: auto;
    padding: 40px;
}
.inner {
    margin-bottom: 60px;
}
.inner:last-child {
    margin-bottom:0;
}
.point {
    color: #436472;
}
.imgWrap {
    margin: 0 auto 2rem;
    width: min(100%, 1000px);
}
.inner .imgWrap, .innerText {
    width: 95%;
} 
.center {
    text-align: center;
}
.movieWrap {
    margin-top: 20px;
    text-align: center;
}
.movie {
    max-width: 800px;
    width: 95%;
    height:auto;
    aspect-ratio:16/9;
}

/*見出し*/
.heading {
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN W4", sans-serif;
    margin-bottom: 40px;
    line-height: 1;
    color: #f06e9b;
    font-size: 70px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}
.heading span {
    display: block;
    padding-top: .4em;
    font-size: var(--20px);
}
.heading img {
    max-width: 600px;
    width: 100%;
}
.innerTitle {
    margin-bottom: 2rem;
/*    position: relative;
    padding: 10px 10px 10px 30px;
    font-size: var(--20px);
    font-weight: 900;
    background: #79dbd4;
    color: #fff;
    border-radius: 20px 0 20px 0;
    text-shadow: 1px 1px 1px #57ada7;*/
}
/*.innerTitle::before {
	position: absolute;
	content: "\f004";
	font-family: "FontAwesome";
	font-weight: 900;
	font-size: 10px;
	top: 50%;
	left: 13px;
	transform: translatey(-50%);
}*/
.headingSub {
    margin: 0 auto 40px;
    width: min(50%, 250px);
}
.headingSub span {
  position: relative;
  display: inline-block;
  padding: 16px 25px;
  border: 2px solid #436472;
  border-radius: 10px;
  background-color: #fcd7df;
  font-size: var(--24px);
  font-weight: bold;
  letter-spacing: 2px;
  color: #436472;
}
.headingSub span::before,
.headingSub span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #436472 transparent transparent;
  translate: -50% 100%;
}
.headingSub span::before {
  border-width: 10px 10px 0 10px;
  border-color: #436472 transparent transparent;
}
.headingSub span::after {
  border-width: 7.2px 7.2px 0 7.2px;
  border-color: #fcd7df transparent transparent;
}

/*btn*/
.btnWrap {
    margin: 2rem auto;
    text-align: center;
}
.button {
  width: min(100%, 400px);
  font-weight: bold;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  transition: all 0.2s;
  text-decoration: none;
  color: #436472;
}
.btn-border span {
  position: relative;
  display: block;
  padding: 1rem 2.5rem 1rem 1.5rem;
  border: 2px solid #436472;
  border-radius: 9999px;
  background: #fcd7df;
  transition: all 0.2s;
}
.btn-border::before {
  position: absolute;
  bottom: -8px;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  transition: all 0.2s;
  border: 2px solid #436472;
  border-radius: 9999px;
  background-image: -webkit-repeating-linear-gradient(
    135deg,
    #436472,
    #436472, 2px,
    transparent 2px,
    transparent 5px
  );
  background-image: repeating-linear-gradient(
    -45deg,
    #436472,
    #436472, 2px,
    transparent 2px,
    transparent 5px
  );
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.button span::before {
	position: absolute;
	content: "\f061";
	font-family: "FontAwesome";
	font-weight: normal;
	font-size: 16px;
	top: 50%;
	right: 14px;
	transform: translatey(-50%);
}
.btn-border:hover {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
}
.btn-border:hover:before {
  background:#436472;
  bottom: -5px;
}
.btnImg {
    display: block;
    margin-inline: auto;
    width: min(95%, 400px);
    position: relative;
}
.btnImg img {
    transition: opacity 0.3s;
}
.btnImg:hover img:first-of-type {
    opacity: 0;
}
.btnImg img:last-of-type {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
}
.btnImg:hover img:last-of-type {
    opacity: 1;
}

/*
.btnWrap {
    margin-top: 20px
}
.button {
    margin-inline: auto;
    position:relative;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 16px 26px 16px 16px;
    width: min(100%, 500px);
    color: #fff;
    background-color: #f06e9b;
	border:4px solid #fcb0bf;
    border-radius: 9999px;
    line-height: 1.4;
    font-weight:bold;
    transition: all 0.2s;
}
.button:hover {
    color: #f06e9b;
    background-color: #fff;
	border:4px solid #f06e9b;
}
.button::before {
	position: absolute;
	content: "\f061";
	font-family: "FontAwesome";
	font-weight: normal;
	font-size: 20px;
	top: 50%;
	right: 20px;
	transform: translatey(-50%);
    transition: all 0.3s;
}
.button:hover::before{
	right:15px;
}*/



/*注意分*/
.note {
    padding-left: 0;
    list-style: none;
    font-size: var(--14px);
}

/*top*/
#top {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
}
.topImg {
    opacity: 0;
    animation: fade 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes fade {
  from {
      opacity: 0;
      transform:translateY(-30px);
  }
  to {
      opacity: 1;
      transform:translateY(0px);
  }
}
.topTitle.pc {
    opacity: 0;
    animation: topin 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes topin {
  from {
      opacity: 0; 
      	  transform: scale(1.2);
  }
  to {
      opacity: 1;
      	  transform: scale(1);
  }
}


.lead {
    padding: 20px;
    text-align: center;
    color: #fff;
}
.leadTitle {
    font-size: var(--36px);
    padding-bottom: 20px;
}
.leadText {
    font-size: var(--20px);
}

/*grid*/
.grid {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.gridItem {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 10px;
    width: 100%;
    padding-bottom: 20px;
}
.gridTitle {
    margin: 0;
    font-size: 1rem;
}

.item {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

/*list*/
.data {
    margin: 2rem auto;
    width: 95%;
}
.dataList {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: space-around;
}
.dataCap {
    position: relative;
    margin: 0 0 16px;
    padding: 4px 6px;
    color: #ffff;
    background: #436472;
    border-radius: 9999px;
    letter-spacing: 3px;
    font-size: var(--15px);
    font-weight: normal;
    width: 8em;
    text-align: center;
}
.dataText {
    margin: 0 0 14px;
    padding: 4px 16px;
    width: calc(100% - 10em);
}


/*footer*/
.copyright {
    margin: 0;
    padding: 1em;
    font-size: var(--14px);
    text-align: center;
}
footer {
    background: #fff;
    text-align:center;
}
.logoLink img {
    padding:10px 0;
    max-width: 100px;
    width:100%;
}


/*hamburger*/
.header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}
.hamburger {
    position: relative;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #79dbd4;
    z-index: 110;
}
.hamburgerLine {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #fff; 
    position: absolute;
    left: 18px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburgerLine:nth-child(1) { top: 20px; }
.hamburgerLine:nth-child(2) { top: 29px; }
.hamburgerLine:nth-child(3) { top: 38px; }

.hamburger.active .hamburgerLine:nth-child(1) { top: 29px; transform: rotate(45deg); }
.hamburger.active .hamburgerLine:nth-child(2) { opacity: 0; }
.hamburger.active .hamburgerLine:nth-child(3) { top: 29px; transform: rotate(-45deg); }

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    color: #eee;
    font-size: var(--20px);
    font-weight: bold;
    background: #436472;
    backdrop-filter: blur(5px);
    z-index: 105;
    transition: right 0.5s;
    padding-top: 150px;
}
.nav.active {
    right: 0; 
}
.navList {
    padding-left: 0;
    list-style: none;
}
.navItem {
    text-align: center;
    margin-bottom: 30px;
}
.navLink {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}
.navLink:hover {
    color: #79dbd4;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 104;
}
.overlay.active {
    display: block;
}

/*========================================
 2.スクロール連動 フェードイン
========================================*/
.scroll {
    opacity: 0;
    transition: all 2s;
}
.fadeIn {
    opacity: 1;
    animation: fadein 1.5s cubic-bezier(0.19, 1, 0.22, 1) 1 forwards;
}
/*フェードインを下から上に*/
@keyframes fadein { 
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  100% { 
      opacity: 1;
      transform: translateY(0);
  }
}

/* PC */
@media screen and (min-width: 768px) {

    .sp {display: none;}
    
}

/* スマホ */
@media screen and (max-width: 767px) {
    .pc {display: none;}
    
    /*共通*/
    section {
        padding: 50px 0 30px;
    }
    section:last-child {
        padding-bottom: 0;
    }
    .container {
        padding: 40px 20px 60px;
        border-radius: 20px;
        background-image: url(../images/box_point_sp.png), url(../images/box_point_sp.png);
    }
    .container2 {
        padding: 0;
    }
    .inner {
        margin-bottom: 20px;
    }
    .inner .imgWrap, .innerText {
        margin-bottom: 1.5rem;
        width: 100%;
    } 
    /*見出し*/
    .heading {
        margin-bottom: 20px;
        font-size: 46px;
        letter-spacing: 1px;
    }
    .headingSub {
        margin-bottom: 2rem;
        font-size: var(--18px);
    }
    .headingSub span {
        font-size: var(--18px);
        padding: 12px 20px;
    }
    .innerTitle {
        margin-bottom: 1.5rem;
        font-size: var(--18px);
    }
    
    /*top*/
    #top {
        padding-top: 20px;
    }
    .lead {
        padding: 20px 0;
    }
    .leadTitle {
        font-size: var(--20px);
        padding-bottom:10px;
    }
    .leadText {
        font-size: 1rem;
    }
    #top {
        position: relative;
    }
    .topImg {
        opacity: 0;
        animation: fade 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
        width: 90%;
    }
    @keyframes fade {
      from {
          opacity: 0;
          transform:translateY(0px);
      }
      to {
          opacity: 1;
          transform:translateY(0px);
      }
    }
    .topTitle.sp {
        position: absolute;
        top: 48%;
        left: 50%;
        width: 70%;
        opacity: 0;
        animation: topinsp 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }
    @keyframes topinsp {
      from {
          transform:translate(-50%, -50%) scale(1.2);
          opacity: 0; 
      }
      to {
          transform:translate(-50%, -50%) scale(1);
          opacity: 1;
      }
    }
    
    /*btn*/
    .button {
        font-size: var(--14px);
        width: min(100%, 300px);
    }
    .btn-border span {
        padding: 12px 34px 12px 16px;
    }
    
    /*grid*/
    .item {
        grid-template-columns: 1fr;
    }
    .item .button {
        margin: auto;
        width:min(100%, 600px);
    }
    
    /*list*/
    .data {
        margin-top: 1.5rem;
    }
    .dataCap {
        width: 100%;
        margin-bottom: 10px;
        font-size: var(--13px);
    }
    .dataText {
        width: 100%;
        padding: 0;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /*hamburger*/
    .header {
        top: 10px;
        right: 10px;
    }

    /* topへ戻る */
    footer #totop{
        right: 10px;
    }
    
}