@charset "UTF-8";
body {
  margin: 0;
}

ul{
  padding-left:0;
}

li{
  list-style:none;
}

a {
  text-decoration:none; 
}

#js-pagetop .inner {
  width: auto;
}

.header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  height: 60px;
  z-index: 9999;
  background:rgba(255,255,255,0.7);
  padding-bottom: .3em;
}

.btn, .btn02 {
  display: inline-block;
}

.btn-top{
  position: absolute;
  right: 70px;
  top: 17px;
  padding: 5px;
  background-color: #e7838c;
  color: #fff;
  width: 250px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: -0.2px;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 3px 6px 0 rgb(0 0 0 / 20%);
}

.caratt-logo {
  padding: 24px 10px;
}

@media screen and (max-width: 300px){
  .caratt-logo {
    display: none;
  }
}

.global-nav {
  position: fixed;
  right: -320px;
  top: 0;
  width: 300px;
  height: 100vh;
  padding-top: 60px;
  background-color: #fff;
  transition: all .6s;
  z-index: 200;
  overflow-y: auto;
}

.hamburger {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 300;
}

.global-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__item {
  padding: 0 14px;
}

.global-nav__item a {
  display: block;
  font-size: 0.9rem;
  padding: 14px 10px;
  border-bottom: dotted 1px #534134;
  text-decoration: none;
  color: #534134;
}

.global-nav__item a:hover {
  background-color: #eee;
}

.global-nav__item a:after {
  content: "";
  position: absolute;
  right: 17px;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-top: 1px solid #534134;
  border-right: 1px solid #534134;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger__line {
  position: absolute;
  left: 14px;
  width: 30px;
  height: 2px;
  background-color: #534134;
  transition: all .6s;
}

.hamburger-menu {
  position: absolute;
  left: 12px;
  width: 30px;
  height: 2px;
  transition: all .6s;
  font-size: .7em;
}

.hamburger__line--1 {
  top: 20px;
}

.hamburger__line--2 {
  top: 30px;
}

.hamburger__line--3,
.hamburger__line--4 {
  top: 40px;
}

.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all .6s;
  cursor: pointer;
}

/* menu-display */
.nav-open .global-nav {
  right: 0;
}

.nav-open .black-bg {
  opacity: .8;
  visibility: visible;
}

.nav-open .hamburger__line--1 {
  transform: rotate(45deg);
  top: 25px;
}

.nav-open .hamburger__line--2 {
  width: 0;
  left: 50%;
}

.nav-open .hamburger__line--3 {
  transform: rotate(-45deg);
  top: 25px;
}

.nav-open .hamburger__line--4 {
  top: 40px;
}


/*----- フェードイン -----*/
.inviewfadeIn {
  opacity: 0;
  transition: .3s;
}

.fadeIn {
  opacity: 1.0;
}

.inner {
  width: 86%;
  margin: 0 auto;
  padding: 20px 0;
}

.inner02 {
  margin: 0 10%;
}

.table {
  display: block;
}

.center {
  text-align:center
}

.center img {
  width: 100%;
}

.preceding_button {
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  padding: 20px;
  border: 4px solid #f09286;
  margin: 40px 0 40px;
  line-height: 90px;
  height: 90px;
}

.preceding_button a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #f09286;
}

.preceding_button a:before {
  display: inline-block;
  margin: 0px 5px -5px 0;
  content: "";
  width: 40px;
  height: 40px;
  background: url(/wp_page_css/images/familyfair/icon_0.png) 50%/100% auto no-repeat;
}

.preceding_button.shop_list {
  margin: 20px 10px;
  line-height: 110px;
  height: 110px;
}

.preceding_button.shop_list a:before {
  background: none;
}

.ab {
  position: absolute;
  top: 0;
  left: 0;
}

.familyfair {
  font-size: 1em;
  /*background-color: #F4EFE9;*/
  background-image: url("https://www.caratt.jp/wp_page_css/images/plan/bg.jpg");
  background-repeat: repeat;
  padding-bottom: 4em;
}

.familyfair section.head .inner {
  position: relative;
  padding: 32px 0 20px;
}

.familyfair section.head .inner .sp_main_caption {
  width: 90%;
  margin: 0 auto 10px;
  font-size: 1.125em;
  text-align: center;
  color: #f09286;
  border-bottom: dotted 2px #f09286;
  padding-bottom: 10px;
  font-weight: bold;
}

.familyfair section.head .inner .sp_ballon {
  position: relative;
  display: block;
  margin: 30px 5px 5px 5px;
  text-align: center;
  font-size: 1.5em;
  background: #d4a368;
  padding: 20px;
  color: #fff;
  line-height: 1.2;
}

.familyfair section.head .inner .sp_ballon a {
  color: #fff;
  font-size: 28px;
}

.familyfair section.head .inner .sp_ballon b {
  font-weight: bold;
}

.familyfair section.head .inner .sp_ballon:before {
  top: -55px;
  left: 100px;
  border: 30px solid transparent;
  border-bottom: 30px solid #d4a368;
  content: "";
  position: absolute;
  height: 0;
  width: 0;
}

.familyfair section.head .inner h1 {
  padding-top: 16px;
}

.familyfair section.head .inner h1 img {
  width: 100%;
  margin: 0 auto;
  display: block;
}

.familyfair section.head .inner h4 {
  padding: 10px;
  font-weight: bold;
  text-align: center;
  margin-right: 0;
  color: #f09286;
}

.familyfair section.head .inner .preceding {
  display: block;
  position: absolute;
  top: 108px;
  right: 0px;
  width: 260px;
}


.familyfair section.head .inner .c_link {
  line-height: 1.6;
  text-align: center;
  width: 100%;
  padding: 30px 10px;
  background-color: #f09286;
  color: #fff;
  font-size: .9em;
  margin: 40px auto;
  font-weight: bold;
  border-radius: 8px
}

.familyfair section.head .inner .c_link a {
  color: #fff;
}

.familyfair section.nav {
  margin: 50px 0;
}

.familyfair section.nav .table {
  width: 100%;
  color: #f09286;
}

.familyfair section.nav .table .cell {
  height: 100px;
  line-height: 100px;
  text-align: center;
  border-top: 2px solid #f09286;
  border-bottom: 2px solid #f09286;
  font-size: 2em;
  font-weight: bold;
}

.familyfair section.nav .table .cell a {
  padding-left: 8px;
  vertical-align: middle;
  color: #f09286;
}
.familyfair section.studio .inner .data {
  margin: 30px auto 20px;
  display: block;
}

.familyfair section.studio .inner h2 {
  text-align: center;
  font-weight: bold;
}

.familyfair section.studio .inner .course_bg {
  position: relative;
  margin: 70px auto;
  width: 100%;
  font-size: .9em;
}

.familyfair section.studio .inner .course_bg.m_top {
  margin-top: 110px;
}

.familyfair section.studio .inner .course_bg .c_price,
.familyfair section.studio .inner .course_bg .c_price02 {
  top: -72px;
  left: -14px;
}

.familyfair section.studio .inner .course_bg .c_price img,
.familyfair section.studio .inner .course_bg .c_price02 img {
  width: 100%;
}

.familyfair section.studio .inner .course_bg .course,
.familyfair section.studio .inner .course_bg .course02 {
  background: #fff;
  margin-top: -2px;
  width: 100%;
  border: 4px solid #f09286;
  padding: 10px;
}

.familyfair section.studio .inner02 .table {
  margin-top: 15px;
}

.familyfair section.studio .inner .left {
  vertical-align: top;
}

.familyfair section.studio .inner .left ul.list {
  font-size: 1.125em;
}

.familyfair section.studio .inner .left ul.list li {
  font-weight: bold;
  line-height: 1.6;
  font-size: 1em;
  margin-bottom: 40px;
}

.familyfair section.studio .inner .left ul.list li img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.familyfair section.studio .inner .left ul.list li div.small {
  font-size: .9em;
  line-height: 1.2;
  letter-spacing: 0.8px;
  margin-top: 10px;
  text-align: center;
}

.familyfair section.studio .inner .left ul.list li.half {
  font-size: .95em;
  width: calc(100% / 2 - 5px);
  display: inline-block;
  padding: 0;
  margin: 0 auto 60px;
  vertical-align: top;
}

.familyfair section.studio .inner .left ul.list li.half img {
  width: 50%;
}

.familyfair section.studio .inner .course_bg h6 a{
  color: #004e7e;
}

.familyfair section.preceding .inner h2 {
  text-align: center;
  font-size: 2em;
  color: #f09286;
  font-weight: bold;
}

.familyfair section.preceding .c_table {
  margin: 50px 0 0;
}

.familyfair section.preceding .c_table .c_cell {
  display: block;
  padding: 0 10px;
  width: 100%;
}

.familyfair section.preceding .c_table .c_cell h3 img {
  width: 1em;
  vertical-align: middle;
  margin-right: 3px;
}

.familyfair section.preceding .c_table .c_cell h4 {
  text-align: center;
  margin: 30px 0;
  font-size: 1em;
  line-height: 1.5;
  font-weight: normal;
}

.number {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f09286;
  color: #fff;
  text-align:center;
  line-height: 32px;
  font-size: .85em;
  margin-right: 8px;
  padding-left: 2px;
}

.u_line {
  font-weight: bold;
  background: linear-gradient(transparent 30%, #ee9a9a 30%);
}

.date-red,
.date-red02 {
  color: #f09286;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
}

.date-red {
  margin: 75px 0;
}

.date-red02 {
  margin: 60px 0;
}

.sales {
  position: relative;
  margin: 30px 0px;
}

.familyfair section.preceding .c_table .right .sales .cell.date {
  color: #fff;
  background: #7e6b5a;
  display: block;
  padding: 14px;
  margin: 8px 0;
  text-align: center;
  font-weight: bold;
}

.familyfair section.preceding .c_table .right .sales .cell.shop {
  margin-left: 20px;
  padding-left: 10px;
  line-height: 1.6;
}

.familyfair section.preceding .c_table .right .sales .table.list {
  margin: 10px 0 30px;
}

.familyfair section.preceding .c_table .caution {
  background: #f09286;
  padding: 20px 40px;
  font-size: 1em;
  line-height: 1.6;
  color: #fff;
  font-weight: bold;
  margin-bottom: 90px;
}

.familyfair section.preceding .c_table .caution span {
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
}

.familyfair section.preceding h6 {
  line-height: 1.6;
}

.familyfair section.preceding h6 a {
  text-decoration: underline;
  color: #004e7e;
}

.familyfair section.photograph {
  padding: 100px 0;
}

.familyfair section.photograph .inner h2 {
  text-align: center;
  font-size: 2em;
  color: #308ab9;
  font-weight: bold;
}

.text {
  width: 100%;
  font-weight: bold;
  margin: 30px auto;
  font-size: .9em;
  line-height: 1.4;
  letter-spacing: .3px;
}

.text-how{
  text-align: left!important;
  line-height: 1.9em;
  margin: 1em 0;
}


.familyfair section.photograph .text span {
  color: #f09286;
}

.familyfair section.photograph .caution.table {
  background: #f09286;
  width: 100%;
  margin: 0 auto;
  padding: 50px 10px;
}

.familyfair section.photograph .caution.table .left {
  width: 100%;
  padding: 70px 0;
  background: url(../../images/global/familyfair/caution.png) no-repeat 50%/auto 100%;
  color: #f09286;
  text-align: center;
  font-size: 1.125em;
  font-weight: bold;
}

.familyfair section.photograph .caution.table .right {
  color: #fff;
  text-align: center;
  font-size: 1em;
  vertical-align: top;
  padding: 20px 30px 10px;
}

.daysc02, .daysc03, .daysc04 {
  letter-spacing: .4px;
  line-height: 1.6;
}

.daysc02 {
  color: #fff;
}

.daysc03 {
  background-color: #FFF;
  color: #f09286;
  padding: 6px;
  margin: 20px 0;
  font-size: 1.2em;
  font-weight: bold;
}

.pack-p {
  color: #d4a368;
  text-align: left;
  line-height: 1.3em;
  letter-spacing: 0em;
  margin: 25px 0 25px 230px;
  font-weight: bold;
}

.pack-p4 {
  margin: 70px 0 70px 250px;
}

.pack-p2 {
  margin: 50px 0 50px 225px;
}

.c-smallbox {
  margin: 16px 0;
}

.c-small {
  font-size: .9em;
  color: #333;
  font-weight: bold;
}

.title-b {
  text-align: center;
  font-size: 2.3em;
  color: #f09286;
  font-weight: bold;
  position: relative;
  margin: 2em 0 1em;
}

.title-b:before {
  content: '';
  position: absolute;
  bottom: -20px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #f09286;
  border-radius: 2px;
}

.title-b img{
  width: 50px;
  margin: 0px 5px -5px 0
}

.rbn {
  display: inline-block;
  position: relative;
  height: 40px;
  line-height: 40px;
  text-align: center;
  padding: 0px 40px;
  background: #d4a368;
  color: #FFF;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.rbn:before, .rbn:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.rbn:before {
  top: 0;
  left: 0;
  border-width: 20px 0px 20px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.rbn:after {
  top: 0;
  right: 0;
  border-width: 20px 15px 20px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.btn-border {
  display: inline-block;
  max-width: 640px;
  background: #7e6b5a;
  color: #fff;
  padding: 1.5em 4em;
  margin: .5em 0 3em;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none!important;
  border: solid 2px #7e6b5a;
  border-radius: 3px;
  transition: .4s;
}

.btn-border:hover {
  background: #fff;
  color: #7e6b5a;
}

.ribbon-left {
 margin-left: 50px;
}

.ribbon-r img {
  width: 40px;
  vertical-align: middle;
  margin: 0px 5px 3px 0;
}

.ribbon-r {
  display: inline-block;
  position: relative;
  height: 70px;
  line-height: 70px;
  font-size: 1.4em;
  font-weight: bold;
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0.5px;
  padding: 0 30px;
  background: #f09286;
  color: #FFF;
  box-sizing: border-box;
  width: 100%;
}

.ribbon-r:before,
.ribbon-r:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
  top: 0;
  border-style: solid;
}

.ribbon-r:before {
  left: 0;
  border-width: 35px 0px 35px 15px;
  border-color: transparent transparent transparent #F8EDCD;
}

.ribbon-r:after {
  right: 0;
  border-width: 35px 15px 35px 0px;
  border-color: transparent #F8EDCD transparent transparent;
}

.shop-select {
  margin: 60px auto 80px;
  text-align: center;
}
.shop-select h4{
  margin-top: 60px;
}
.sales h5 {
  position: relative;
  margin: 40px 0;
  letter-spacing: 0;
  font-size: .85em;
  font-weight: bold;
}

.text-shop {
  font-size: 20px;
  letter-spacing: .4px;
  line-height: 1.5;
  font-weight: bold;
}

.shop-area {
  text-align: center;
}

.btnshop {
  display: none;
}

.cp_ipselect {
  overflow: hidden;
  width: 70%;
  margin: 3em auto;
  text-align: center;
}
.cp_ipselect select {
  width: 100%;
  font-size: 1.1em;
  padding: 20px 40px 20px 40px;
  color: #333;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_arrow {
	position: relative;
  border: 2px solid #333;
  border-radius: 4px;
  background: #fff;
  height: 70px;
}
.cp_ipselect.cp_arrow::before {
	position: absolute;
	top: 1.3em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #333;
	pointer-events: none;
}
.fa {
  margin-left: 10px;
}
.anchor {
  display: block;
  padding-top: 130px;
  margin-top: -130px;
}
.grad-btn {
  z-index: 2;
  position: absolute;
  right: 0;
  bottom: 1.5em;
  left: 0;
  width: 66%;
  margin: auto;
  padding: .5em 0;
  border-radius: 20px;
  background: #f09286;
  color: #fff;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
  transition: .8s ease;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
  font-weight: bold;
}
.grad-btn::before {
  content: "▼ もっと見る";
}
.grad-item {
  position: relative;
  overflow: hidden;
  height: 480px;
}
.grad-item::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: -webkit-linear-gradient(top, rgba(233,226,217,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
  background: linear-gradient(top, rgba(233,226,217,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
  content: "";
}
.grad-trigger {
  display: none;
}
.grad-trigger:checked ~ .grad-btn::before {
  content: "× 閉じる" ;
}
.grad-trigger:checked ~ .grad-item {
  height: auto; 
}
.grad-trigger:checked ~ .grad-item::before {
  display: none;
}
h6 {
  margin-bottom: 70px;
  line-height: 1.4;
  padding: 2em 0 4em;
}

/* 2023/05/26 */
.text-period {
  font-size: 2.6rem;
  line-height: 1.5;
  text-indent: -9px;
  font-weight: bold;
}

.text-period02 {
  font-size: 1rem;
}

.text-period02 h3{
  margin: .6em 0 0;
}

.text-color {
  font-weight: bold;
  color: #f09286;
}

.period03 {
  text-align: left;
  /* margin-bottom: 1.4em; */
  padding: 0 20%;
  margin: 0 0 1em;
}

.title-period {
  font-size: 1.6rem;
  margin: 1em 0 0;
  text-align: center;
}

.text-period04 {
  font-size: .8rem;
  line-height: 1.5;
  text-indent: 1px;
}

.text-period05 {
  font-size: 1.8rem;
  line-height: 1.5;
  text-indent: -9px;
  font-weight: bold;
  padding: 1.2em 0;
}

.period06 {
  text-align: left;
  margin-bottom: 1.4em;
  text-align: center;
}

.text-left {
  text-align:left;
}

.text-purchase {
  font-size: 1.6rem;
  line-height: 1.5;
  text-indent: -9px;
  padding: 0 0 18px 18px;
}

.text-w {
  font-size: 2.4rem;
  line-height: 1.5;
  text-indent: -9px;
  color: #f09286;
  font-weight: bold;
}

a[target=_blank][rel=nofollow] {
	padding-right: 18px;
	background: url(/wp_page_css/images/familyfair/link-button.png) right center/16px auto no-repeat;
}

.how-container {
  /*width: 100%; */
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 4em 0;
  letter-spacing: 0.02em;
  color: #555;
}

.familyfair-inner,
.how-inner {
  margin: 0 auto;
  width: 100%!important;
  padding-bottom: 4em;
}

/*.how-inner {
  padding: 0 1em 4em;
}*/

.btn-base {
  display: block;
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  max-width: 480px;
  padding: 1.8rem 1.8rem;
  font-weight: bold;
  border-radius: 100vh;
  border-bottom: 4px solid #913c07;
  background: #f09286;
  color: #fff;
  font-size: 2rem;
}
.btn-base:hover {
  margin-top: 3px;
  border-bottom: 2px solid #f09286;
}

.basebox {
  padding: 2em 0;
}

/*2404追加*/
.content-g {
  width: 300px;
  height: 300px;
}
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 340px;
  margin-bottom: 100px;
}
.slideshow {
  display: flex;
  -webkit-animation: loop-slide 20s infinite linear 1s both;
  animation: loop-slide 20s infinite linear 1s both;
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.slide-paused:hover .slideshow {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.content-hover {
  transition: all 0.2s;
  margin-right: 20px;
}
.content-hover:hover {
  transform: translateY(-20px);
  border-radius: 0 10%;
  box-shadow: 0 3px 10px 0 #0DAAFD;
  opacity: 0.8;
  cursor: pointer;
}
.box31 {
  margin: 6em 0 2em;
}

/*2405追加*/
.carousel {
  display: flex;
  justify-content: center;
}
.contains {
  width: 600px;
  height: 870px;
  overflow: hidden;
  position: relative;
  padding: 0;
  list-style: none;
  margin: 2em 0 4em;
}

.contains img,
.slide img {
  width: 100%;
}

.slide_select {
  display: none;
}
.slide {
  width: 600px;
  height: 870px;
  position: absolute;
  opacity: 0;
}

.scroll_button {
  position: absolute;
  display: block;
  height: 30px;
  width: 30px;
  top: 50%;
  margin-top: -20px;
  border-width: 5px 5px 0 0;
  border-style: solid;
  border-color: #f09286;
  cursor: pointer;
  opacity: 0.5;
  z-index: 3;
}
.scroll_button:hover {
  opacity: 1;
}
.scroll_prev {
  left: 15px;
  transform: rotate(-135deg);
}
.scroll_next {
  right: 15px;
  transform: rotate(45deg);
}
.move_controler {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}
.button_move {
  display: inline-block;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  border-radius: 100%;
  cursor: pointer;
  opacity: 0.5;
  z-index: 2;
}
.button_move:hover {
  opacity: 0.75;
}
.button_move {
  background-color: #f09286;
}
.slide_select:nth-of-type(1):checked ~ .slide:nth-of-type(1) {
  opacity: 1;
}
.slide_select:nth-of-type(1):checked ~ .move_controler .button_move:nth-of-type(1) {
  opacity: 1;
}
.slide_select:nth-of-type(2):checked ~ .slide:nth-of-type(2) {
  opacity: 1;
}
.slide_select:nth-of-type(2):checked ~ .move_controler .button_move:nth-of-type(2) {
  opacity: 1;
}
.slide_select:nth-of-type(3):checked ~ .slide:nth-of-type(3) {
  opacity: 1;
}
.slide_select:nth-of-type(3):checked ~ .move_controler .button_move:nth-of-type(3) {
  opacity: 1;
}
.slide_select:nth-of-type(4):checked ~ .slide:nth-of-type(4) {
  opacity: 1;
}
.slide_select:nth-of-type(4):checked ~ .move_controler .button_move:nth-of-type(4) {
  opacity: 1;
}
.slide_select:nth-of-type(5):checked ~ .slide:nth-of-type(5) {
  opacity: 1;
}
.slide_select:nth-of-type(5):checked ~ .move_controler .button_move:nth-of-type(5) {
  opacity: 1;
}

.img-c {
  max-width: 750px;
}

.flow-c {
  width: 86%!important;
}

footer {
  background-color: #f09286;
  color: #fff;
  text-align: center;
  padding: 10px 2px;
  letter-spacing: 2px;
}

footer a {
  color: #fff;
}

.footerlink {
  margin: 10px 0;
}

.box-pre {
  padding:0 6em;
}

@media screen and (max-width:960px) {
  .box-pre {
    padding:0;
  }
  .btn-base,
  .title-period {
    font-size: 1.4rem;
  }
}

@media screen and (max-width:768px) {
  body {
    font-size: .8rem;
  }
  .how-container {
    padding: 2em 1em;
  }
  .box31 {
    margin: 2em 0;
  }
  .familyfair section.head .inner h1 {
    margin: 0;
    padding-top: 66px;
  }
  .familyfair section.head .inner {
    padding: 0;
  }
  .inner {
    width: 100%;
  }
  .inner02 {
    margin: 0 4%;
  }
  .contains,
  .slide {
    width: 330px;
    height: 496px;
  }
  .scroll_button {
    height: 20px;
    width: 20px;
  }
  .period03 {
    padding: 0 6%;
  }
}