/* reset */
@charset "UTF-8";

/* Google font Icon */
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
  zoom: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

table {
  border-collapse: collapse;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-size: 100%;
  font-weight: normal;
  line-height: 1;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 16px;
}

input[type="button"],
input[type="text"],
input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

textarea {
  resize: none;
  -webkit-appearance: none;
  border-radius: 0;
}

th,
td {
  border-collapse: collapse;
}

table th,
table td {
  white-space: nowrap;
}

ul,
ol {
  list-style-type: none;
}

img {
  vertical-align: text-bottom;
  vertical-align: -webkit-baseline-middle;
  max-width: 100%;
  height: auto;
  width
  /***/
  : auto;
}

/* //reset */

@media (max-width : 768px) {
  .pc {
    display: none;
  }
}

@media (min-width: 769px) {
  .sp {
    display: none;
  }
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

body {
  background: #FFF005;
  font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
}

/* s1 */
.s1 {
  padding: 70px 50px;
}

.s1 h1 {
  text-align: center;
}

.s1 h1 img {
  border-bottom: 4px solid;
  padding-bottom: 20px;
}

.s1-flex {
  text-align: center;
}

.s1-txt_flex {
  display: flex;
  justify-content: center;
  margin-top: -50px;
  gap: 50px;
  align-items: end;
}

.s1-fainal_txt_div {
  text-align: center;
  margin-top: 30px;
}

.s1-txt_flex_img {
  padding: 10px;
  background: #fff;
}

@media (max-width: 768px) {
  .container {
    padding: 0 5%;
  }

  .s1 {
    padding: 0px 0;
  }

  .s1-flex {
    margin-bottom: 80px;
  }

  .s1-flex img {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
  }

  .s1-txt_flex {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: -70px;
  }

  .s1-txt_flex h3 {
    text-align: center;
    width: 35%;
  }

  .s1-txt_flex_img {
    width: 35%;
  }

  .s1-txt_flex h3 img {
    width: 100%;
  }

  .s1-fainal_txt {
    width: 50%;
  }

  .s1-fainal_txt_div {
    margin: 15px 0;
  }


  .loop_wrap {
    margin-bottom: 20px !important;
  }

  .loop-dive {
    margin-bottom: 0 !important;
  }
}

/* s2 */
.s2 {
  text-align: center;
}

.se-bammer {
  text-align: center;
}

.se-bammer img {
  z-index: 2;
  position: relative;
}

.loop-dive {
  margin-top: -30px;
  margin-bottom: 100px;
  position: relative;
}

.loop_wrap {
  display: flex;
  width: 100vw;
  height: auto;
  overflow: hidden;
  z-index: 0;
}

.sns-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* margin-top: 30px; */
  position: absolute;
  z-index: 1;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.6);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.loop_wrap img {
  width: auto;
  height: 150px;
  object-fit: cover;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }

  to {
    transform: translateX(-200%);
  }
}

.loop_wrap img:first-child {
  animation: loop 50s -25s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 50s linear infinite;
}

@media (max-width: 768px) {
  .loop_wrap {
    height: 120px;
    margin-bottom: 50px;
  }

  .loop_wrap img {
    object-fit: cover;
  }

  .s2 .button img {
    width: 90%;
  }

  .se-bammer img {
    width: 80%;
  }
}

/* s3 */
.s3 {
  padding: 100px 0;
}

.s3 p {
  text-align: center;
  font-size: 24px;
}

.s3 img {
  margin: 20px auto;
  display: block;
}

@media(max-width: 768px) {
  .s3 {
    padding: 25px 0;
  }

  .s3 p {
    font-size: 16px;
  }
}

/* s4 */
.g-bg {
  text-align: center;
  padding: 50px 0;
  background: #50A14C;
  font-size: 50px;
  color: #fff;
}

.s4 .container {
  /* margin-top: 150px; */
}

.s4 .point1 {
  margin-top: 50px;
}

.s4 .point {
  border: 1px solid #000;
  background: #fff;
  padding: 80px 50px 50px;
  position: relative;
  margin-top: 150px;
}

.s4 .title-img {
  position: absolute;
  top: -100px;
  right: 0;
  left: 0;
  margin: auto;
  display: inline-table;
}

.s4 hr {
  border-color: #000;
  margin: 30px 0;
}

.s4 .content {
  text-align: center;
}

.s4 .content p {
  text-align: center;
  font-size: 24px;
}

.s4 .point2 .pr-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.s4 .point2 .pr-flex .right-txt p {
  margin-bottom: 30px;
}

.s4 .point2 .pr-flex p {
  text-align: left;
}

.s4 .point2 .pr-flex .right-txt h2 {
  margin-bottom: 30px;
  font-size: 32px;
}

.s4 .point2 .pr-flex .right-txt span {
  color: #50A14C;
}

.s4 .point2 ul {
  width: 55%;
  margin: 30px auto 0;
  display: grid;
  gap: 35px;
}

.s4 .point2 ul li {
  font-size: 20px;
}

.s4 .point2 ul li span {
  padding: 10px 13px;
  background: #FFF005;
  border-radius: 50px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .g-bg {
    font-size: 28px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.3;
  }

  .s4 .point {
    padding: 50px 5% 25px;
    margin-top: 80px;
  }

  .s4 .point2 .pr-flex {
    display: grid;
    margin-bottom: 0;
  }

  .s4 .content img {
    margin: 0;
  }

  .s4 .content p {
    font-size: 16px;
  }

  .s4 .point2 ul {
    width: 100%;
    gap: 20px;
    margin-top: 25px;
  }

  .s4 .point2 ul li {
    font-size: 13px;
  }

  .s4 .title-img {
    text-align: center;
    top: -40px;
    /* top: -60px; */
  }

  .s4 .title-img img {
    width: 60%;
    /* width: 90%; */
  }

  .s4 .point2 ul li span {
    padding: 8px 10px;
  }
}

/* s5 */
.s5 {
  background: #fff;
}

.s5 .g-bg {
  margin-top: 100px;
}

.s5 .step-title {
  padding: 80px 50px 50px;
  border: 1px solid #000;
  background: #FFF005;
  position: relative;
  margin-top: 150px;
}

.s5 .step-title h2 {
  position: absolute;
  top: -100px;
  right: 0;
  left: 0;
  margin: auto;
  display: inline-table;
}

.s5 .content {
  text-align: center;
}

.s5 .content p {
  text-align: center;
  font-size: 24px;
  /* margin-bottom: 20px; */
}

.s5 .content img {
  margin-top: 20px;
}

.s5 .fn-img {
  margin: 100px auto 0;
  padding-bottom: 100px;
  text-align: center;
}

@media (max-width: 768px) {
  .s5 .g-bg {
    margin-top: 25px;
  }

  .s5 .fn-img {
    margin-top: 25px;
    padding-bottom: 0;
  }

  .s5 .content p {
    font-size: 18px;
  }

  .s5 .step-title {
    margin-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .s5 .step-title h2 {
    text-align: center !important;
    top: -35px;
    /* top: -60px; */
  }

  .s5 .step-title h2 img {
    width: 50%;
    /* width: 70%; */
  }
}

/* s6 */
.s6 .container {
  padding: 60px 0 100px;
}

.s6-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.s6-flex .txt {
  font-size: 24px;
}

.privacy {
  background: #fff;
  padding: 100px 50px;
}

.privacy h3 {
  text-align: center;
  font-size: 50px;
  color: #50A14C;
}

.privacy p {
  text-align: center;
  font-size: 24px;
  margin-top: 30px;
}

.privacy p a {
  color: #50A14C;
  text-decoration: none;
}

@media (max-width: 768px) {
  .s6 .container {
    padding: 25px 5%;
  }

  .s6-flex {
    display: grid;
  }

  .s6-flex img {
    margin: 0 auto;
  }

  .s6-flex .txt {
    font-size: 16px;
  }

  .privacy {
    padding: 50px 5%;
  }

  .privacy h3 {
    font-size: 28px;
  }

  .privacy p {
    font-size: 18px;
  }
}

/* s7 */
.s7 {
  background: #fff;
}

.s7 .container {
  padding: 50px 80px;
}

.s7 .coment-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.s7 .bottom-txt {
  padding: 100px 0;
  text-align: center;
}

.s7 .bottom-txt p {
  text-align: center;
  font-size: 24px;
}

.s7 .bottom-txt img {
  margin: 30px 0;
}

.s7 .cm-div {
  padding: 30px;
  background-color: #fdf001;
  box-shadow: 5px 5px 0px 1px #f1e65c;
}

.s7 .cm-div p {
  font-size: 16px;
  text-align: center;
  padding-bottom: 10px;
}

.s7 .cm-div h2 {
  font-size: 24px;
  text-align: center;
  color: #df4d23;
  font-weight: bold;
  padding-bottom: 25px;
}

@media (max-width: 768px) {
  .s7 .container {
    padding: 25px 5%;
  }

  .s7 .bottom-txt {
    padding: 25px 0 0;
  }

  .s7 .bottom-txt p {
    font-size: 18px;
  }

  .s7 .coment-flex {
    grid-template-columns: repeat(1, 1fr);
  }

  .s7 .cm-div {
    padding: 16px;
  }

  .s7 .bottom-txt img {
    margin: 15px 0;
  }
}

/* media */
.media .container {
  padding: 50px 0;
}

.media .media-flex img {
  margin-top: 20px;
  margin-bottom: 20px;
}

.media .media-flex p {
  margin-bottom: 50px;
  text-align: center;
  font-size: 16px;
}

@media (max-width: 768px) {
  .media .container {
    padding: 25px 5%;
  }
}

/* s8 */
.s8 .container {
  padding: 50px 0 80px;
}

.s8 .container img {
  margin-bottom: 30px;
}

.s8 .container p {
  font-size: 24px;
  line-height: 2.5;
}

.s8 .container h3 {
  font-size: 30px;
  color: #50A14C;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .s8 .container {
    padding: 0;
  }

  .s8 .container p {
    font-size: 16px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .s8 .container h3 {
    padding-right: 5%;
    padding-left: 5%;
  }

  .media .media-flex p {
    margin-bottom: 25px;
  }
}

/* footer */
footer {
  background: #503220;
  padding: 30px 0 50px;
}

footer ul {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

footer ul li:last-child {
  border: none;
}

footer ul li {
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  padding-right: 10px;

}

footer p {
  text-align: center;
  font-weight: bold;
  margin-top: 14px;
  color: #fff;
}

.page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
}

.page-top img {
  transition: .4s;
}

.fn-buttom {
  text-align: center;
}

@media (max-width: 768px) {
  footer ul {
    display: grid;
  }

  footer ul li {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    text-align: center;
    border-right: 0;
    padding-right: 0;
  }

  footer ul li a {
    font-size: 14px;
  }

  .page-top {
    text-align: end;
  }

  .page-top img {
    width: 50%;
  }

  .fn-buttom img {
    width: 90%;
  }
}

/* pop up */
.popup_wrap input {
  display: none;
}

.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.popup_content {
  position: relative;
  align-self: center;
  width: 90%;
  max-width: 800px;
  padding: 30px 40px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
  text-align: justify;
}

.popup_content p {
  color: #000;
  text-align: left;
  font-size: 12px;
}

.close_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  background: #000;
  color: #fff;
  border-radius: 15px;
  line-height: 14px;
  font-weight: bold;
}

.popup_wrap input:checked~.popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.popup_wrap input:checked~.popup_overlay .popup_content {
  transform: translateY(50px);
}

.open_btn {
  position: relative;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

@media (max-width: 768px) {
  footer ul li {
    font-size: 12px;
  }

  .open_btn {
    text-align: center;
  }

  .popup_wrap input:checked~.popup_overlay .popup_content {
    transform: translateY(600px);
  }
}