@charset "UTF-8";

/* color */

:root {
  --grey: #333;
  --white: #fcfbf9;
  --light-pink: #fef4f3;
  --blue: #e6edeb;
  --light-grey: #efefef;
  --pink: #f6dce1;
  --green: #1d7150;
  --mustard: #d4ab37;
  /* margin */
  --section-margin: calc(128 / 1920 * 100vw) 0;
  /* marginSP */
  --section-margin_sp: calc(160 / 750 * 100vw) 0;
}


/* base */

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  font-family: YuGothic, YuGothicM, 'Noto Sans JP', sans-serif, 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo;
  background: #fcfbf9;
  line-break: strict;
  /* word-break: break-all; */
  word-break: break-word;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

ul, li {
  list-style: none;
}

p {
  color: #333;
}

a {
  display: block;
}


.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

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


/* タブレット用（768px～1600px） まではPC版を縮小表示*/

body {
  min-width: 1280px;
}

.inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  body {
    min-width: initial;
  }
}


/* common */

.wrapper {
  overflow: hidden;
}

.inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}


/* flex */

.-flex {
  display: flex;
}


/* text */

.fs_18 {
  font-size: 1.8rem;
}

.fs_20 {
  font-size: 2rem;
}

.fs_22 {
  font-size: 2.2rem;
}

.fs_32 {
  font-size: 3.2rem;
}

h2 {
  position: relative;
  color: var(--green);
  font-size: 3.6rem;
  text-align: center;
  font-weight: bold;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

h2+* {
  margin-top: 6.4rem;
}

.round_m {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

@media only screen and (max-width: 768px) {
  h2 {
    font-size: calc(40 / 750 * 100vw);
    margin: 0 auto;
  }
  h2+* {
    margin-top: 1.2rem;
  }
}


/* heder */

header {
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}


nav {
  width: calc(1840 / 1920 * 100%);
  height: calc(80 / 1920 * 100%);
  transition: height 0.3s;
}


/*  aboutセクションからヘッダーの高さ138pxに変更 */
header.active {
  position: sticky;
  transition: opacity 0.3s, height 0.3s;

}
nav.active {
  height: calc(138 / 1920 * 100%);
  padding-bottom: calc(40 / 1920 * 100%);
  background-color: rgba(254, 252, 248, 0.8);
  width: 100%;
  padding-right: calc(80 / 1920 * 100%);
}

.gnav {
  display: flex;
  justify-content: flex-end;
  font-weight: bold;
  align-items: center;
  margin-left: auto;
  padding: calc(20 / 1840 * 100%) 0;
  font-size: 1.8rem;
}

.gnav li {
  margin-right: calc(40 / 1840 * 100%);
}

.gnav li:last-child {
  margin-right: 0;
}
.gnav_line{
  width: calc(40 / 1840 * 100%);
}
.gnav_line:hover{
  text-decoration: none !important;
  opacity: 0.7;
}

/*  aboutセクションからロゴが現れる */

.gnav_logo {
  width: calc(100 / 1920 * 100%);
  margin-top: calc(24 / 1840 * 100%);
  margin-left: calc(24 / 1840 * 100%);
  height: 0;
  opacity: 0;
  transition: opacity 0.3s, height 0.3s;
}

.gnav_logo.active {
  /* display: block; */
  width: calc(100 / 1840 * 100%);
  margin-top: calc(24 / 1840 * 100%);
  margin-left: calc(24 / 1840 * 100%);
  opacity: 1;
}

nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--mustard);
}

nav a:hover {
  color: var(--green);
}

nav a::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background-color: var(--green);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

a:hover::after {
  bottom: -4px;
  opacity: 1;
  visibility: visible;
}

.gnav_line a:hover {
  color: #fff !important;
}
.gnav_line::after{
  display: none !important;
}
.gnav_line:hover::after{
visibility: hidden !important;
}
@media only screen and (max-width: 1024px) {
  .gnav {
    font-size: 1.8rem ;
  }
}
/*ハンバーガーメニュー*/

@media only screen and (max-width: 768px) {
  .snsnav {
    background: rgba(230, 237, 235, 0.9);
    text-align: center;
    padding-bottom: calc(120 / 750 * 100vw);
    visibility: hidden; 
    position: fixed;
    top: -100%;
    right: 0;
    width: 100%;
    transition: top .6s, visibility .6s, opacity .6s;
    opacity: 0;
  }
  .snsnav.is-openMenu{
    visibility: visible;
    top: 0;
    opacity: 1;
  }
  .header{
    height: calc(80 / 750 * 100vw);
    position: absolute;
    top: 0;
    width: 100%;
  }
  .header_logo {
    display: flex;
    justify-content: space-between;
  }
  .header_logo_img {
    width: calc(176 / 750 * 100vw);
    padding-left: calc(16 / 750 * 100vw);
    padding-top: calc(16 / 750 * 100vw);
    }
  .drawer {
    border: 0;
  }
  .drawer li{
    margin-bottom: calc(41 / 750 * 102vw);
  }
  .header-btn {
    display: block;
    position: fixed;
    top:20px;
    right: 10px;
  }
  .snsnav_box {
    color: var(--green);
    font-weight: bold;
  }
  .snsnav_box li {
    margin-bottom: calc(41 / 750 * 100vw);
    font-size: calc(32 / 750 * 100vw);
  }
  .drawer_line{
    margin: calc(70 / 750 * 100vw) auto !important;
  }
  /*ハンバーガーメニューボタン*/
  .header-btn {
    width: calc(64 / 750 * 100vw);
    padding-right: 5px;
    background: none;
    display: block;
    z-index: 500;
  }
  .header-btn span {
    position: relative;
    display: block;
    height: 2px;
    background-color: var(--mustard);
    transition: all .3s;
  }
  .header-btn span::before, .header-btn span::after {
    position: absolute;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--mustard);
    transition: all .3s;
  }
  .header-btn span::before {
    top: -10px;
  }
  .header-btn span::after {
    bottom: -10px;
  }
  /*トグル開閉*/
  .header-btn.is-openMenu span {
    background: transparent;
  }
 .header-btn.is-openMenu span::before {
    top: 0;
    transform: rotate(45deg);
  }
.header-btn.is-openMenu span::after {
    top: 0;
    transform: rotate(-45deg);
  }
.header-btn.is-openMenu{
  position: fixed;
}
}


/* mv */

.mv {
  max-width: 100%;
  background: linear-gradient( 
    90deg, #fcfbf9 0%, #fcfbf9 35%, #efefef 35%, #efefef 100%);
        padding-bottom: calc(80 / 1920 * 100% );
}

.copy {
  width: calc(580 / (1920 - 80) * 100%);
}

.mv_logo {
  width: calc(309 / 580 * 100%);
  margin: calc(140 / 580 * 100%) auto 0;
}

.mv h2 {
  text-align: center;
  margin-top: calc(82 / 580 * 100%);
  z-index: 10;
}

.mv h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: calc(350 / 580 * 100%);
  height: 200px;
  background: url(../images/h2_caring.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: 0;
  right: 0;
  margin-top: calc(-55 / 580 * 100%);
  margin-right: calc(-84 / 580 * 100%);
  z-index: -1;
}

.mv_subcopy {
  text-align: center;
  font-size: 2rem;
  line-height: 2;
  margin-top: calc(16 / 580 * 100%);
}

.mainvisual {
  width: calc(1260 / 1920 * 100%);
  background-color: var(--light-grey);
  margin-right: calc(80 / 1920 * 100%);
}

.mainvisual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--light-grey);
  width: 65%;
  height: calc(500 / 1920 * 100%);
  z-index: -1;
}
.sns {
  position: fixed;
  width: calc(80 / 1920 * 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10000;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.sns li {
  width: 60px;
  margin: 0 auto 3rem;
  transition: all 0.5s;
}
.sns li:hover {
  opacity: 0.7;
}

.sns li:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .mv {
    position: relative;
    flex-direction: column-reverse;
    padding-right: calc(64 / 750 * 100vw);
    padding-left: calc(110 / 750 * 100vw);
    padding-top: calc(80 / 750 * 100vw);
    background: none;
    padding-bottom: 0;
  }
  .mv h2 {
    text-align: center;
    margin-top: calc(105 / 750 * 100vw);
  }
  .mv h2::after {
    width: calc(300 / 750 * 100vw);
    right: 0;
    top: 0;
    margin-right: calc(-1 / 750 * 100vw);
    margin-top: calc(-39 / 750 * 100vw);
  }
  .mainvisual {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  .mainvisual::before {
    width: 75%;
    height: calc(860 / 750 * 100vw);
    }
  .mainvisual img {
    max-width: 100%;
  }
  .copy {
    width: 100%;
  }
  .mv_logo {
    width: calc(276 / 750 * 100vw);
    position: absolute;
    top: 0;
    left: 0;
    margin-top: calc(614 / 750 * 100vw);
    margin-left: calc(16 / 750 * 100vw);
    }
  .mv_subcopy {
    text-align: center;
    font-size: calc(28 / 750 * 100vw);
    line-height: 2;
    margin-bottom: calc(64 / 750 * 100vw);
  }
  .sns {
    display: none;
  }
}


/* about */

.about {
  padding: calc(190 / 1920 * 100%) 0 calc(200 / 1920 * 100%);
}

.aboutbox {
  flex-direction: row-reverse;
}

.about h2 {
  position: relative;
  text-align: left;
}

.about h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 282px;
  height: 102px;
  background: url(../images/h2_about.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -56px;
  right: 0;
}

.about_textbox {
  width: calc(600 / 1200 * 100%);
  line-height: 2;
  margin-top: calc(150 / 1200 * 100%);
  margin-left: calc(40 / 1200 * 100%);
}

.about_textbox p {
  margin-top: 3.4rem;
}

.about_imgbox {
  position: relative;
  width: 56rem;
}

.about_imgbox::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 80px;
  background-color: var(--blue);
  width: 56rem;
  height: 56rem;
  z-index: -1;
}

.about_imgbox::after {
  content: "";
  position: absolute;
  bottom: -117px;
  left: -127px;
  background: url(../images/about_flower.png) no-repeat;
  background-size: contain;
  z-index: 10;
  width: 34rem;
  height: 44.2rem;
}

.about_sns {
  margin-top: 2.4rem;
}

.about_sns ul {
  display: inline-flex;
}

.about_sns li {
  width: 60px;
  margin-right: 3rem;
  transition: all 0.5s;

}
.about_sns li:hover {
  opacity:0.7;
}
.about_sns li:last-child {
  margin-right: 0;
}

.message {
  margin-top: calc(90 / 1920 * 100%);
  align-items: flex-end;
}
.message h3{
  position: absolute;
  width: calc(230 / 1920 * 100%);
  top: 0;
  left: 0;
  margin-top: calc(78 / 1920 * 100%);
  margin-left: calc(334 / 1920 * 100%);
}
.message_textbox {
  width: 100%;
  position: relative;
  background-color: var(--pink);
  padding-top: calc(120 / 1920 * 100%);
  padding-bottom: calc(60 / 1920 * 100%);
  padding-left: calc(357 / 1920 * 100%);
  padding-right: calc(279 / 1920 * 100%);
  line-height: 2;
  margin-bottom: calc(-84 / 1920 * 100%);
  margin-right: calc(-352 / 1920 * 100%);
}
.message_textbox p {
  margin-right: calc(450 / 1920 * 100%);
}
.message_imgbox {
  width: calc(1090 / 1920 * 100%);
  z-index: 100;
}

@media only screen and (max-width: 768px) {
  .about {
    padding: calc(175 / 750 * 100vw) 0 calc(280 / 750 * 100vw);
  }
  .about h2::after {
    top: -0;
    right: 0;
    margin-right: calc(16 / 750 * 100vw);
    margin-top: calc(-48 / 750 * 100vw);
    width: calc(280 / 750 * 100vw);
}
  .aboutbox {
    flex-direction: column-reverse;
  }
  .about>.inner {
    width: 92%;
    margin-left: auto;
    margin-left: auto;
  }
  .about_imgbox {
    width: calc(400 / 750 * 100vw);
  }
  .about h2 {
    margin-top: calc(72 / 750 * 100vw);
  }
  .about h2::before {
    content: "";
    width: calc(285 / 750 * 100vw);
    background: url(../images/h2_about.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
    top: 0;
    right: 0;
    margin-top: calc(-71 / 750 * 100%);
    margin-right: calc(-1 / 750 * 100%);
  }
  .about_imgbox::before {
    top: calc(125 / 750 * 100vw);
    left: calc(90 / 750 * 100vw);
    width: calc(600 / 750 * 100vw);
    height: calc(500 / 750 * 100vw);
  }
  .about_imgbox::after {
    top: 0;
    left: 0;
    width: calc(172 / 750 * 100vw);
    transform: scale(-1, 1);
    margin-top: calc(-46 / 750 * 100vw);
    margin-left: calc(469/ 750 * 100vw);
  }
  .about_textbox {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }
  .about_textbox p {
    font-size: calc(28 / 750 * 100vw);
    margin-top: calc(24 / 750 * 100vw);
    padding-right: calc(22 / 750 * 100vw);
  }
  .about_sns {
    margin-top: calc(44 / 750 * 100vw);
    text-align: center;
  }
  .about_sns li {
    width: calc(80 / 750 * 100vw);
    margin-right: calc(40 / 750 * 100vw);
  }
  .message {
    margin-top: calc(128 / 750 * 100vw);
    align-items: flex-end;
    flex-direction: column-reverse;
  }
  .message h3 {
    color: var(--pink);
  }
  .message h3 {
    position: absolute;
    width: calc(175 / 750 * 100%);
    top: 0;
    left: 0;
    margin-top: calc(272 / 1920 * 100%);
    margin-left: calc(163 / 1920 * 100%);
}
  .message_textbox {
    padding: calc(96 / 750 * 100vw) calc(32 / 750 * 100vw);
    margin-top: calc(-80 / 750 * 100vw);
    margin-right: calc(30 / 750 * 100vw);
    padding-left: calc(60 / 750 * 100vw);
    letter-spacing: 0.05em;
  }
  .message_textbox p {
      font-size: calc(28 / 750 * 100vw);
      margin-top: calc(62 / 750 * 100vw);
      margin-right: 0;
      }
  .message_imgbox {
    width: calc(600 / 750 * 100%);
    z-index: 100;
  }
  .message_imgbox img {
    width: calc(600 / 750 * 100vw);
  }
}


/* worry */

.worry {
  padding: var(--section-margin);
}

.worry h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 222px;
  height: 62px;
  background: url(../images/h2_trouble.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -67px;
  left: 244px;
}


 .triangle {
  position: relative;
  background:#fefcf8
}

.triangle::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 53px 198px 0 198px;
  border-color:#fefcf8 transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
} 

.worry>.inner {
  position: relative;
  background: url(../images/worry_woman.png) no-repeat;
  height: 0;
  padding-top: 850px;
  background-position: bottom center;
  background-size: 33%;
}

.trouble {
  font-family: 'Sacramento', cursive;
  font-size: 8rem;
  font-weight: 100;
  top: -0;
  right: -0;
  color: var(--mustard);
}

.worry_list {
  width: 100%;
  height: 100%;
}

.worry_list li {
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/balloon.png) no-repeat;
  background-size: contain;
  background-position: center center;
  width: 24.6rem;
  height: 27.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.worrytext{
  margin-top: -1em;
}
.worry01 {
  margin: calc(300 / 1200 * 100%) 0 0 calc(-121 / 1200 * 100%);
}

.worry02 {
  margin: calc(602 / 1200 * 100%) 0 0 calc(-2 / 1200 * 100%);
}

.worry03 {
  margin: calc(54 / 1200 * 100%) 0 0 calc(146 / 1200 * 100%);
}

.worry04 {
  margin: calc(388 / 1200 * 100%) 0 0 calc(226 / 1200 * 100%);
}

.worry05 {
  margin: calc(126 / 1200 * 100%) 0 0 calc(478 / 1200 * 100%);
}

.worry06 {
  margin: calc(55 / 1200 * 100%) 0 0 calc(811 / 1200 * 100%);
}

.worry07 {
  margin: calc(388 / 1200 * 100%) 0 0 calc(719 / 1200 * 100%);
}

.worry08 {
  margin: calc(300 / 1200 * 100%) 0 0 calc(1078 / 1200 * 100%);
}

.worry09 {
  margin: calc(601 / 1200 * 100%) 0 0 calc(953 / 1200 * 100%);
}

@media only screen and (max-width: 768px) {
  .worry {
    padding: calc(64 / 750 * 100vw) 0;
  }
  .worry h2::after {
    width: calc(222 / 750 * 100vw);
    background: url(../images/h2_trouble.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
    top: 0;
    left: 0;
    margin-top: calc(-67 / 750 * 100%);
    margin-left: calc(30 / 750 * 100%);
    }
  .worry>.inner {
    background: none;
    height: auto;
    padding-top: calc(54 / 750 * 100vw);
  }
  .worry_list {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
  .triangle::before {
    border-width: 20px 80px 0 80px;
  } 
}


/* change */

.change {
  background-color: var(--light-pink);
  padding-top: 12.8rem;
  padding-bottom: calc(12.8rem - 5.5rem);
}

.change>.inner {
  background: url(../images/change_woman_l.png) no-repeat, url(../images/change_woman_r.png) no-repeat;
  background-position: bottom -13px left 69px, bottom -16px right 69px;
  background-size: 16% auto;
}

.change h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 218px;
  height: 100px;
  background: url(../images/h2_change.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -66px;
  right: 150px;
}

.change_list {
  display: table;
  margin-left: auto;
  margin-right: auto;
  max-width: 65rem;
  margin-top: 6.4rem;
}

.change_list li {
  background: url(../images/decoration.png) no-repeat 0 0;
  background-size: 36px 36px;
  padding-top: 4px;
  padding-left: 46px;
  padding-bottom: 4.5rem;
  font-weight: bold;
  font-size: 1.8rem;
}

@media only screen and (max-width: 768px) {
  .change {
    padding-top: calc(120 / 750 * 100vw);
    padding-bottom: calc(150 / 750 * 100vw);
  }
  .change>.inner {
    background: none;
  }
  .change h2::after {
    top: -0;
    right: 0;
    margin-right: calc(68 / 750 * 100vw);
    margin-top: calc(-69 / 750 * 100vw);
    width: calc(218 / 750 * 100vw);
  }
  .change_list {
    max-width: 100%;
    padding: 0 4%;
    margin-top: calc(44 / 750 * 100vw);
  }
  .change_list li {
    background-size: calc(50 / 750 * 100vw);
    padding-left: calc(70 / 750 * 100vw);
    font-size: calc(32 / 750 * 100vw);
    line-height: 1.55;
    padding-bottom: calc(45 / 750 * 100vw);
    padding-top: 0;

  }
  .change_illustration {
    text-align: center;
  }
  .change_illustration img {
    width: 54%;
    margin: 0 auto;
    text-align: center;
  }
}


/* voice */

.voice {
  padding: var(--section-margin);
}

.voice h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 170px;
  height: 71px;
  background: url(../images/h2_voice.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -77px;
  left: 175px;
}

.voicebox {
  position: relative;
  background-color: var(--blue);
  padding: 4rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: calc(50 / 1200 * 100%);
}


.voicebox::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 115px;
  height: 272px;
  background: url(../images/voice_flower_left.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -94px;
  left: -72px;
  z-index: 100;
}

.voicebox::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 101px;
  height: 241px;
  background: url(../images/voice_flower_right.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  bottom: -36px;
  right: -73px;
  z-index: 100;
}

.customer_voice {
  position: relative;
  background-color: var(--white);
  width: calc(25% - 20px);
  min-height:385px;
  line-height: 2;
  padding: 4rem 3.2rem;
  box-shadow: 0px 0px 8px 3px rgba(170, 170, 170, 0.2);
}
.customer_voice:nth-child(even){
  margin-top: calc(70 / 1200 * 100%);
}
.customer_voice::before {
  content: '';
  position: absolute;
  width: 95px;
  height: 48px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: url(../images/tape.png) no-repeat;
  background-size: contain;
}

.comment {
  line-height: 2;
  background-image: linear-gradient(transparent 0, transparent 97%, #ccc 100%);
  background-size: 100% 2em;
}

.name {
  text-align: right;
  margin-top: 2rem;
}

@media only screen and (max-width: 768px) {
  .voice {
    padding: var(--section-margin_sp);
  }
  .voice h2::after {
    top: 0;
    left: 0;
    margin-left: calc(64 / 750 * 100vw);
    margin-top: calc(-80 / 750 * 100vw);
    width: calc(180 / 750 * 100%);
    }
  .voicebox {
    flex-wrap: wrap;
    padding: calc(80 / 750 * 100vw) calc(48 / 750 * 100vw);
    margin-top: calc(64 / 750 * 100vw);
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
  .voicebox::before {
    width: calc(115 / 750 * 100vw);
    top: 0;
    left: 0;
    margin-top: calc(-110 / 750 * 100vw);
    margin-left: calc(-14 / 750 * 100vw);
  }
  .voicebox::after {
    width: calc(101 / 750 * 100vw);
    bottom: 0;
    right: 0;
    margin-bottom: calc(-327 / 750 * 100vw);
    margin-right: calc(-16 / 750 * 100vw);
  }
  .customer_voice::before {
    width: calc(190 / 750 * 100vw);
    top: -28px;
  }
  .customer_voice {
    width: 100%;
    margin-bottom: calc(80 / 750 * 100vw);
    padding: calc(40 / 750 * 100vw) calc(32 / 750 * 100vw);
    min-height: auto;
  }
  .customer_voice:nth-child(even){
    margin-top: 0;
  }
  .comment {
    font-size: calc(28 / 750 * 100vw);
    letter-spacing: -0.02em;
  }
  .name {
    font-size: calc(28 / 750 * 100vw);
    margin-top: calc(70 / 750 * 100vw);
  }
}


/* lesson */

.lesson_list {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 6.4rem;
}

.lesson {
  background-color: var(--light-pink);
  padding: var(--section-margin) 0;
}

.lesson h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 202px;
  height: 61px;
  background: url(../images/h2_Lesson.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -66px;
  right: 398px;
}

.lessonbox {
  flex-direction: row-reverse;
  background-color: var(--white);
  box-shadow: 0px 0px 8px 3px rgba(170, 170, 170, 0.2);
  width: calc(50% - 20px);
  margin-bottom: 4rem;
  padding: 2.4rem;
	transition: .3s;
}
.lessonbox:hover{
  box-shadow: 0 15px 30px -5px rgba(170, 170, 170, 0.2), 0 0 5px rgba(170, 170, 170, 0.2);
	transform: translateY(-4px);
}
.lessonbox:last-of-type, .lessonbox:nth-last-of-type(2) {
  margin-bottom: 0;
}
.kinsoku{
  letter-spacing: 0.02em !important;
}
.lesson_textbox {
  margin-left: 2.4rem;
  width: 50%;
}

.lesson_textbox dt {
  display: inline;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--grey);
  background: linear-gradient(rgba(255, 255, 255, 0) 70%, rgba(212, 171, 55, 0.6) 70%);
}

.lesson_textbox dl {
  font-weight: bold;
  text-align: center;
  margin-top: -1rem;
}

.lesson_textbox dd:first-of-type {
  margin-top: 1rem;
  line-height: 1.8;
} 

.introduction {
  margin-top: 1rem;
  line-height: 2;
  text-align: justify;
  letter-spacing: -0.02em;
}

.lesson_imgbox {
  width: 50%;
}

.lesson_imgbox img {
  width: 252px;
}
.introduction a:hover{
  color: var(--mustard);
  transition: all 0.5s;
}

.bnnerbox {
  width: calc(1000 / 1200 * 100%);
  margin-top: 6.4rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
}

.bnner {
  width: calc(50% - 20px);
}
.bnner {
	position: relative;
	width: 480px;
	height: 150px;
	margin: 0 auto;
	display: block;
	overflow: hidden;
	cursor: pointer;
}
.bnner img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
}
.bnner:hover img:nth-of-type(2) {
	opacity: 0;
}

@media only screen and (max-width: 768px) {
  .lesson {
    padding: var(--section-margin_sp) calc(30 / 750 * 100vw);
  }
  .lesson h2::after {
    top: 0;
    right: 0;
    margin-right: calc(128 / 750 * 100vw);
    margin-top: calc(-65 / 750 * 100vw);
    width: calc(202 / 750 * 100vw);
  }
  .lesson_list {
    margin-top: calc(52 / 750 * 100vw);
    margin-left: auto;
    margin-right: auto;
  }
  .lessonbox:last-of-type, .lessonbox:nth-last-of-type(2) {
    margin-bottom: calc(64 / 750 * 100vw);
  }
  .lessonbox {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column-reverse;
    padding: calc(48 / 750 * 100vw);
    margin-bottom: calc(64 / 750 * 100vw);
  }
  .lessonbox:last-of-type {
    margin-bottom: calc(40 / 750 * 100vw);
  }
  .lesson_textbox {
    margin-left: 0;
    width: 100%;
  }
  .lesson_textbox dl {
    margin-top: calc(18 / 750 * 100vw);
  }
  .lesson_textbox dt {
    font-size: calc(36 / 750 * 100vw);
  }
  .lesson_textbox dd {
    font-size: calc(28 / 750 * 100vw);
  }
  .lesson_textbox dd:first-of-type {
    margin-top: 0.5em;
    line-height: 1.8;
  }
  .introduction {
    font-size: calc(28 / 750 * 100vw);
    margin-top: calc(10 / 750 * 100vw);
  }
  .lesson_imgbox {
    width: 100%;
  }
  .lesson_imgbox img {
    width: 100%;
  }
  .bnnerbox {
    width: calc(594 / 750 * 100vw);
    display: block;
    margin-top: calc(64 / 750 * 100vw);
  }
  .bnner {
    width: 100%;
    height: calc(193 / 750 * 100vw);
    margin-bottom: calc(48 / 750 * 100vw);
  }
  .-last {
    margin-bottom: 0;
  }
}


/* line */

.line {
  background-color: var(--light-pink);
  text-align: center;
  padding: calc(116 / 1920 * 100%) 0 calc(114 / 1920 * 100%);
}

.btn_line {
  color: #06c755;
  border: 4px solid #06c755;
  background-color: var(--white);
  border-radius: 50px;
  max-width: 400px;
  font-size: 2.4rem;
  margin: 3rem auto;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;

}
.btn_line:hover{
transform: translateY(-3px);
opacity: 0.7;
}
.btn_line>a{
  display: block;
  width: 100%;
  padding: 1.5rem;
}
.btn_line img {
  margin-right: 2.4rem;
  vertical-align: middle;
}

.line h3 {
  color: var(--grey);
  font-size: 3rem;
  font-weight: bold;
}

.line_text {
  font-size: 1.8rem;
}

@media only screen and (max-width: 768px) {
  .line {
    background-color: var(--light-pink);
    text-align: center;
    padding: calc(120 / 750 * 100vw) 0 calc(134 / 750 * 100vw);
  }
  .line h3 {
    font-size: calc(36 / 750 * 100vw);
  }
  .btn_line {
    margin: calc(40 / 750 * 100vw) auto;
    max-width: calc(480 / 750 * 100vw);
    font-size: calc(32 / 750 * 100vw);
    border-radius: calc(60 / 750 * 100vw);
    border: 2px solid #06c755;
  }
  .btn_line>a{
    padding: calc(22 / 750 * 100vw);
  }
  .btn_line img {
    margin-right: calc(30 / 750 * 100vw);
    width: calc(70 / 750 * 100vw);
  }
  .line_text {
    font-size: calc(28 / 750 * 100vw);
  }
}


/* contact */

.contact {
  padding: var(--section-margin);
}

.contact h2::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 230px;
  height: 60px;
  background: url(../images/h2_contact.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  top: -64px;
  left: 379px;
}

form {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--blue);
  padding: 6.4rem 0;
  margin-top: 5.4rem;
}

form::before {
  content: "";
  position: absolute;
  bottom: -23px;
  left: -203px;
  background: url(../images/contact_flower_bottome.png) no-repeat;
  background-size: contain;
  z-index: 10;
  width: 26.9rem;
  height: 40.7rem;
}

form::after {
  content: "";
  position: absolute;
  top: -96px;
  right: -54px;
  background: url(../images/contact_flower_top.png) no-repeat;
  background-size: contain;
  z-index: 10;
  width: 10.1rem;
  height: 24.1rem;
}

form dt {
  margin-bottom: calc(8 / 1200 * 100%);
  font-size: 1.8rem;
  color: var(--grey);
}

.formbox {
  width: 80rem;
  margin: 0 auto;
}

.input {
  margin-bottom: calc(18 / 1200 * 100vw);
}
/* inputのすぐ隣に配置するメッセージ要素 */
.error-message {
  font-size: 1.4rem;
  color: #ff7676;
  margin-top: 0.5em;
  display: none; /* 非表示に */
}
/* :invalid時だけ隣の要素を表示 */
input:invalid + .error-message,
textarea:invalid + .error-message {
  display: block;
}

form input[type="text"], form input[type="email"] {
  background-color: #fff;
  width: 80rem;
  height: 6rem;
  padding: 0 2.4rem;
}


textarea {
  width: 80rem;
  height: 24rem;
  background-color: #fff;
  padding: 2.4rem;
  line-height: 1.8;
}
.textarea{
  margin-bottom: 4.4rem;
}
.privacy-policy {
  height: 24rem;
  overflow: auto;
  padding: 2.4rem;
  background-color: #fff;
  line-height: 1.8;
  margin-bottom: 3.2rem;
}

.privacy-policy::-webkit-scrollbar {
  width: 6px;
  height:10px;
}

.privacy-policy::-webkit-scrollbar-track {
  background: #fff;
}

.privacy-policy::-webkit-scrollbar-thumb {
  background-color: var(--green);
  border-radius: 5px;
}

.privacy_check{
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 6rem;
}
 [type="checkbox"]{
  background-color: #fff;
  width: 20px;
  height: 20px;
  cursor: pointer;
  vertical-align: middle;
} 
[type="checkbox"]:checked{
color: var(--green);
} 
.contact-privacy{
  vertical-align: middle ;
}
.submit-btn {
  position: relative;
  background-color: #fff;
  width: 32rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border: solid 1px #000;
  transition: all  0.3s ease;
  cursor: pointer !important;

}
.submit-btn::before,
.submit-btn::after {
  position: absolute;
  content: "";
  display: block;
  background-color: #fff;
  transition: all  0.3s ease;

}
.submit-btn:hover {
  position: relative;
  background-color:var(--green);
  width: 32rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border: solid 1px #000;
  color: #fff;

}
.submit-btn:hover::before,
.submit-btn:hover::after {
  position: absolute;
  content: "";
  display: block;
  background-color:var(--green);
}

.submit-btn::before {
  top: -1px;
  bottom: -1px;
  left: 12px;
  right: 12px;
}

.submit-btn::after {
  top: 12px;
  bottom: 12px;
  left: -1px;
  right: -1px;
}
.submit-btn span {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 768px) {
  .contact {
    padding: var(--section-margin_sp);
  }
  .contact h2::after {
    top: 0;
    left: 0;
    margin-left: calc(142 / 750 * 100%);
    margin-top: calc( -65 / 750 * 100%);
    width: calc(230 / 750 *100vw);
  }
  form {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    padding: calc(48 / 750 * 100vw);
    margin-top: calc(52 / 750 * 100vw);
    }
  form::before, form::after {
    display: none;
  }
  form dt {
    font-size: calc(28 / 750 * 100vw);
    margin-bottom: calc(8 / 750 * 100vw);
  }
  .formbox {
    width: 100%;
  }
  form input[type="text"], form input[type="email"] {
    width: 100%;
    height: calc(80 / 750 * 100vw);
    padding: 0 calc(24 / 750 * 100vw);
  }
  .input {
    margin-bottom: calc(21 / 750 * 100vw);
  }
  .error-message {
    font-size: calc(24 / 750 *100vw);
    color: #ff7676;
    margin-top: 0.5em;
  }
  textarea {
    width: 100%;
    height: calc(302 / 750 * 100vw);
    padding: calc(24 / 750 * 100vw);
    margin-bottom:0;
  }
  .privacy-policy {
    height: calc(300 / 750 * 100vw);
    overflow: auto;
    padding: calc(24 / 750 * 100vw);
    background-color: #fff;
    line-height: 1.8;
    margin-bottom: calc(24 / 750 * 100vw);
    margin-top: calc(80 / 750 * 100vw);
    font-size: calc(28 / 750 * 100vw);
  }
  .privacy-policy::-webkit-scrollbar {
    width: 10px;
    height: calc(100 / 750 * 100vw);
  }
  .privacy_check {
    font-size: calc(28 /  750 * 100vw);
    margin-bottom: calc(54 / 750 * 100vw);
  }
  .submit-btn {
    width: calc(478 / 750 * 100vw);
    height: calc(80 / 750 * 100vw);
    font-size: calc(28 / 750 * 100vw);
  }
  .submit-btn:hover {
    width: calc(478 / 750 * 100vw);
    height: calc(80 / 750 * 100vw);
  }
}


/* lesson */

footer {
  background-color: var(--light-grey);
}

.footer_logo {
  margin: 0 auto;
  text-align: center;
  padding: calc(94 / 1920 * 100%) 0;
}

.footer_logo img {
  width: 19.7rem;
}

.copywriter {
  background-color: var(--green);
  text-align: center;
  color: var(--light-grey);
  padding: calc(48 / 1920 * 100%) 0;
}
.copyright{
  font-family: Verdana, "Droid Sans" !important;
}
small{
  font-size: 1.2rem;
}
.pagetop{
  position: fixed;
  right: 0;
  bottom: 0;
  width: calc(25 / 1920 * 100%);
  margin-right: calc(15 / 1920 * 100%);
  z-index: 20000;
}

@media only screen and (max-width: 768px) {
  .footer_logo {
    padding: calc(80 / 750 * 100vw);
  }
  .footer_logo img {
    width: calc(197 / 750 * 100vw);
  }
  .copywriter {
    padding: calc(10 / 750 * 100vw) 0 calc(48 / 750 * 100vw);
  }
    small {
      font-size: calc(20 / 750 * 100vw);
  }
}

/* thanksページ */
.thanks{
  margin: calc(50 / 1920 * 100%) auto;
}
.thanks_text{
  padding: 4em 0;
  text-align: center;
}
.top_btn {
  display: inline-block;
  padding: 0.4em 1.6em;
  font-size: 1.5rem;
  color:  var(--green);
  text-decoration: none;
  user-select: none;
  border: 1px  var(--green) solid;
  border-radius: 20px;
  transition: 0.4s ease;
  margin-bottom: 1em;
}

.top_btn:hover {
  color: #fff;
  background: var(--green);
}
.btn_box{
  text-align: center;
  margin: 0 auto 4em;
}
@media only screen and (max-width: 768px) {
  .thanks_text {
    padding: 4em 0;
  }
  .btn_box{
    margin: 0 auto 4rem;
  }
}
/* 確認画面 */
.p-main{
  padding-bottom: 6.4rem;
}
.confirm{
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--blue);
    padding: 6.4rem 0;
    margin-top: 5.4rem;
}
.contact_confirm{

    background: #fff;
    width: 80%;
    margin: 0 auto 2.5em;
    border-collapse: collapse;
    text-align: left;
    font-size: 18px;
    border: 2px solid var(--green);
}
.contact_confirm th,.contact_confirm td{
  border: 2px solid var(--green);

}

.contact_confirm th{
width: 30%;
padding: 2em;
background-color:  var(--blue);
}

.contact_confirm td{
  width: 70%;
  padding: 1em;
  vertical-align: middle;
  }

  .confirm_text{
    text-align: center;
  }
.confirm_btn_box{
  text-align: center;
  margin-top: 2em;
}
  .confirm_btn {
    display: inline-block;
    padding: 1.2em 1.6em;
    font-size: 1.5rem;
    color: var(--green);
    text-decoration: none;
    user-select: none;
    border: 1px var(--green) solid;
    border-radius: 20px;
    transition: 0.4s ease;
    min-width: 200px;
    margin-right: 1em;
  }
  
  .confirm_btn:hover {
    color: #fff;
    background: var(--green);
  }
 
  .p-main form::before, .p-main form::after{
  display: none;
}

  @media only screen and (max-width: 768px) {
    .p-main{
      padding-bottom: 2.4rem;
    }
    .confirm{
      padding: 0;
      margin-bottom: 5.4rem;
  }
    .contact_confirm{
      width: 100%;
      border: 1px solid var(--green);

    }
    .contact_confirm th,.contact_confirm td{
      display: block;
      width: 100%;
      padding: 0.5em;
      border: 1px solid var(--green);
    }      
    .confirm_btn {
      margin-right: 0;
      margin-top: 1em;
    }
  }