﻿@charset "UTF-8";
/* ########### ＜アンビエンテ＞のウェルカムボード ########### */
/*
 * "Noto Serif JP" is lisenced under the SIL Open Font License 1.1
 * http://fonts.googleapis.com
 * https://www.google.com/fonts/attribution
 * http://scripts.sil.org/OFL
 */
/*
 * "Lora" is lisenced under the SIL Open Font License 1.1
 * http://fonts.googleapis.com
 * https://www.google.com/fonts/attribution
 * http://scripts.sil.org/OFL
 */
/* Copyright (c) 2023 ＜アンビエンテ＞のウェルカムボード
 Released under the MIT license
 https://opensource.org/licenses/mit-license.php */



/* ################## 共通 ################## */


.back--white {
  background-color: #ffffff;
}

.back--pink {
  background-color: rgb(225, 126, 131);
}

.back--blue {
  background-color: rgb(116, 167, 220);
}


.back--brown {
  background-color: rgb(90, 61, 28);
}

.back--gray {
  background-color: rgb(60, 60, 60);
}

.borderbottom1, .borderbottom-gray {
  border-bottom: 1px solid rgb(60, 60, 60);
}


.borderbottom-white {
  border-bottom: 1px solid rgb(255, 255, 255) !important;
}

.borderbottom-white2 {
  border-bottom: 2px solid rgb(255, 255, 255);
}

.borderbottom-brown {
  border-bottom: 1px solid rgb(90, 61, 28);
}

.borderbottom-brown2 {
  border-bottom: 2px solid rgb(90, 61, 28);
}


.box-shadow {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 2px;
}

.triangle-pink {
  margin: 10px auto 7px;
  display: inline-block;
  border-style: solid;
  border-width: 35px 40px 0 40px;
  border-color: rgb(225, 126, 131) transparent transparent transparent;
}

.drop-shadow2 {
  filter: drop-shadow(2px 2px 1.5px rgba(0, 0, 0, 0.25));
}

.fuchidori {
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
    -1px 1px 0 #FFF, 1px -1px 0 #FFF,
    0px 1px 0 #FFF, 0-1px 0 #FFF,
    -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.zindex99 {
  z-index: 99;
}

.white {
  color: white !important;
}

.brown {
  color: rgb(90, 61, 28) !important;
}

.blue {
  color: rgb(116, 167, 220);
}

.pink {
  color: rgb(255, 126, 131);
}

.orange {
  color: rgb(238, 125, 0);
}

.blue2 {
  color: rgb(0, 102, 153);
}

.box-shadow {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 2px;
}

.drop-shadow2 {
  filter: drop-shadow(1.5px 1.5px 0.5px rgba(0, 0, 0, 0.35));
}

.fuchidori {
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
    -1px 1px 0 #FFF, 1px -1px 0 #FFF,
    0px 1px 0 #FFF, 0-1px 0 #FFF,
    -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.marker1 {
  background: linear-gradient(transparent 75%, rgb(252, 199, 0) 75% 95%, transparent 95%);
}

@font-face {
  font-family: "Yu Mincho";
  font-style: normal;
  font-weight: 600;
  src: url("../font/yumindb.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 200;
  src: url("../font/NotoSerifJP-ExtraLight.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 300;
  src: url("../font/NotoSerifJP-Light.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 400;
  src: url("../font/NotoSerifJP-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 500;
  src: url("../font/NotoSerifJP-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 600;
  src: url("../font/NotoSerifJP-SemiBold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 700;
  src: url("../font/NotoSerifJP-Bold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 800;
  src: url("../font/NotoSerifJP-Black.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  src: url("../font/Lora-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  src: url("../font/Lora-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  src: url("../font/Lora-SemiBold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  src: url("../font/Lora-Bold.woff") format("woff");
  font-display: swap;
}

.serif {
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho", "Yu Mincho", "MS PMincho", serif !important;
}

.sans {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ヒラギノ角ゴ ProN W3", "HiraKakuProN-W3", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
}

.lola {
  font-family: "Lora";
}


label, td, th, p, div, dd, dt, li, a, input, textarea, select, h1, h2, h3, h4, h5, h6 {
  color: rgb(90, 61, 28);
  letter-spacing: 0.35px;
}

input, select, textarea {
  outline: none;
  border: 1px solid rgb(90, 61, 28);
}

button, optgroup, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.sousin {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

body {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  font-family: "Noto Serif JP", "Yu Mincho", "Times New Roman", "Hiragino Mincho ProN", "MS PMincho", serif !important;
}


html {
  line-height: 1.5;
  text-align: justify;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  display: inline-block;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  /* image-rendering: -webkit-optimize-contrast; */
}

video {
  max-width: 100%;
  height: auto;
}

.nowrap {
  white-space: nowrap;
}

.hidden {
  overflow: hidden;
}

.hidden-x {
  overflow-x: hidden;
}

.flip-horizontal {
  transform: scale(-1, 1);
}

.utikesi {
  text-decoration: line-through;
}

.line-height1 {
  line-height: 1 !important;
}

.line-height11 {
  line-height: 1.1 !important;
}

.line-height135 {
  line-height: 1.35 !important;
}

.line-height15 {
  line-height: 1.5 !important;
}

.line-height175 {
  line-height: 1.75 !important;
}

.line-height2 {
  line-height: 2 !important;
}

.margin-top-auto {
  margin-top: auto;
}

.margin-top05 {
  margin-top: 0.5em;
}

.margin-top1 {
  margin-top: 1em;
}

.margin-top2 {
  margin-top: 2em;
}

.margin-bottom025 {
  margin-bottom: 0.25em;
}

.margin-bottom05 {
  margin-bottom: 0.5em;
}

.margin-bottom1 {
  margin-bottom: 1em;
}

.padding-bottom1 {
  padding-bottom: 1em;
}

.padding-bottom2 {
  padding-bottom: 2em;
}


.big {
  font-size: 120%;
}

.normal {
  font-weight: normal;
}

.weight300 {
  font-weight: 300 !important;
}

.weight400 {
  font-weight: 400 !important;
}

.weight500 {
  font-weight: 500 !important;
}

.weight600 {
  font-weight: 600 !important;
}

.weight700 {
  font-weight: 700 !important;
}

.weight800 {
  font-weight: 800 !important;
}

.weight900 {
  font-weight: 900 !important;
}

.bold {
  font-weight: 700;
}


.asterisk {
  font-size: 70%;
  vertical-align: 5px;
}

.middle {
  vertical-align: middle;
}

.initial {
  text-align: initial;
}

.center {
  text-align: center;
}

.justify {
  text-align: justify;
}

.right {
  text-align: right;
}

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

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.fontsize0 {
  font-size: 0;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.inline-block-middle {
  display: inline-block;
  vertical-align: middle;
}

.block {
  display: block;
}

.katuko-left {
  display: inline-block;
  margin-left: -0.5em;
}

.katuko-right {
  display: inline-block;
  margin-right: -0.5em;
}

.text-indent1 {
  padding-left: 1.1em;
  text-indent: -1.1em;
}

.margin-auto {
  margin: 0 auto;
}

.text-narrow {
  transform: scale(0.8, 1);
}

.letterspacingm05 {
  letter-spacing: 0.5px;
}

.letterspacingm1 {
  letter-spacing: 1px;
}

.letterspacing-m05 {
  letter-spacing: -0.5px;
}

.letterspacing-m1 {
  letter-spacing: -1px;
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
  opacity: 0;
}

.fadeUpTrigger2 {
  opacity: 0;
}

.fadeUpTrigger3 {
  opacity: 0;
}

.fadeUpTrigger4 {
  opacity: 0;
}

.wrapper {
  overflow: hidden;
}

/* righttoleft*/
.righttoleft {
  opacity: 0;
  animation: RightToLeft 1.15s forwards;
  animation-delay: 0.25s;
  z-index: 9999;
}

@keyframes RightToLeft {
  0% {
    opacity: 0;
    transform: translateX(75px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* lefttoright*/
.lefttoright {
  opacity: 0;
  animation: LeftToRight 1.15s forwards;
  animation-delay: 0.25s;
}

@keyframes LeftToRight {
  0% {
    opacity: 0;
    transform: translateX(-75px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* effectfade*/
.effectfade {
  opacity: 0;
  animation: EffectFade 0.9s forwards;
  animation-delay: 0.05s;
}

@keyframes EffectFade {
  0% {
    opacity: 0;
    transform: translateY(65px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 右へ */
.flipRight {
  animation-name: flipRightAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  perspective-origin: left center;
  opacity: 0;
  animation-delay: 0.5s;
}

@keyframes flipRightAnime {
  from {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
    opacity: 0;
  }

  to {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
    opacity: 1;
  }
}

/* 左へ */
.flipLeft {
  animation-name: flipLeftAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  perspective-origin: left center;
  opacity: 0;
  animation-delay: 0.5s;
}

@keyframes flipLeftAnime {
  from {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(-30deg);
    opacity: 0;
  }

  to {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
    opacity: 1;
  }
}


.h2-common {
  color: rgb(90, 61, 28);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 2px;
  line-height: 1.5;
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho", "Yu Mincho", "MS PMincho", serif !important;
  text-align: center;
}

.h3-common {
  color: rgb(90, 61, 28);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho", "Yu Mincho", "MS PMincho", serif !important;
}


label, td, th, p, dd, dt, li, a, input, textarea, select {
  line-height: 1.5;
  font-size: 16px;
}

.text14 {
  line-height: 2;
  font-size: 14px;
  font-weight: 600;
}

.text {
  line-height: 2;
  font-size: 15.85px;
  font-weight: 600;
  letter-spacing: 0px;
}

.text18 {
  line-height: 2;
  font-size: 18px;
  font-weight: 600;
}

.text19 {
  line-height: 2;
  font-size: 19px;
  font-weight: 600;
}

.text21 {
  line-height: 2;
  font-size: 21px;
  font-weight: 600;
}

.flex-reason__ol-innner img {
  margin-bottom: 15px;
}

/* ###### メイン ####### */


.main__back {
  position: relative;
}

.main__back img {
  width: 100%;
  /*height: 410px;*/
  height:auto;
  object-fit: cover;
  font-family: "object-fit: cover";
  object-position: center center;
  z-index: -1;
}

.main__block-text {
  max-width: 1160px;
  height: 410px;
  z-index: 1;
  position: absolute;
  padding: 0 30px 0;
  margin: auto;
  left: 0;
  right: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-flow: column;
  top: 49%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.main__sub {
  z-index: 1;
  position: relative;
  font-size: 21px;
  letter-spacing: 1.5px;
  line-height: 1.75;
  justify-content: center;
  font-weight: 600;
}

.main__title {
  z-index: 1;
  position: relative;
  font-family: "Lora";
  font-weight: 500;
  font-size: 58px;
  letter-spacing: 3px;
}

.main__title.ad {
  font-size: 52px;
}

.main__title.ad2 {
  font-size: 52px;
}

.main__design {
  z-index: 0;
  position: absolute;
  padding: 0 30px 0;
  margin: auto;
  top: 49%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  right: 0;
  display: flex;
  justify-content: center;
  flex-flow: column;
}

/* ###### メイン2 ####### */
.main__title2 {
  z-index: 1;
  position: relative;
  font-size: 36px;
  letter-spacing: 1.5px;
  line-height: 1.35;
  justify-content: center;
  font-weight: 600;
}

.slider li img {
  padding: 5px;
}

.slider {
  margin-top: 20px;
}

/* ###### メイン3 ####### */

.main__back2 {
  z-index: -1;
  position: relative;
}

.main__back2 img {
  width: 100%;
  z-index: -1;
}

.main__block-text2 {
  max-width: 1160px;
  z-index: 1;
  position: absolute;
  padding: 0 30px 0;
  margin: auto;
  left: 0;
  right: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  top: 49%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.back--blue-transparent {
  z-index: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(116, 167, 220, 0.8);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.back--orange-transparent {
  z-index: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(238, 125, 0, 0.8);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.back--brown-transparent {
  z-index: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(229, 148, 118, 0.8);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.back--blue2-transparent {
  z-index: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(63, 149, 220, 0.8);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.back--blue3-transparent {
  z-index: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(0, 128, 192, 0.6);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.back--green-transparent {
  z-index: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(64, 128, 128, 0.7);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.xx-outer img {
  vertical-align: middle;
  margin-top: -8px;
  margin-left: 15px;
  margin-right: 15px;
}

.camvas-text {
  line-height: 2;
  margin-top: 15px;
}

/* ###### 理由 ####### */

.flex-reason__ol>li {
  margin-top: 45px;
  padding: 50px 60px;
  background-color: white;
  -webkit-filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.2));
  -moz-filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.2));
  -ms-filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.2));
}

.flex-reason__ol-innner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.flex-reason__ol-innner li {
  width: 30%;
}


.horizontal {
  margin-right: 7px;
  vertical-align: middle;
}

.flip-horizontal {
  margin-left: 5px;
  margin-right: 17px;
  vertical-align: middle;
}

.reason-text2 {
  padding: 10px 0;
  margin: 15px 0 30px;
  border-bottom: 1px solid rgb(90, 61, 28);
  border-top: 1px solid rgb(90, 61, 28);
}

.h4-common {
  font-size: 23px;
  line-height: 1.55;
  justify-content: center !important;
  font-weight: 600;
  display: flex;
  text-align: center;
  justify-content: center;
  margin-bottom: 15px;
}

.reason-file-img {
  width: 300px !important;

}


/* ###### メイン4 ####### */
#main4 {
  width: 100%;
  background: url(../image/back-memories-forever.jpg) center center / cover no-repeat;
}

.slider, .slider2, .slider3 {
  display: flex;
  flex-wrap: wrap;
}

.flex-main4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.slider2, .slider3 {
  width: 16%;
  text-align: center;
}

.slider2 li, .slider3 li {
  text-align: center;
  padding: 15px 10px;
}


.main4-textblock {
  width: 36%;
  text-align: center;
}


/* ###### Button-all ###### */

.button-outer a {
  margin-top: 20px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 6px 20px 7px 20px;
  max-width: 300px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 5px;
  outline: none;
  background-color: rgb(90, 61, 28);
  border: 2px solid rgb(90, 61, 28);
  color: rgb(255, 255, 255);
  transition: all .5s ease 0s;
}

.button-outer a:hover {
  color: rgb(90, 61, 28);
  background-color: rgb(255, 255, 255);
}

.button-outer a:hover::after {
  border-top: 1.5px solid rgb(90, 61, 28);
  border-right: 1.5px solid rgb(90, 61, 28);
}

.button-outer a::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 37%;
  width: 10px;
  height: 10px;
  margin-bottom: 1px;
  margin-left: 10px;
  border-top: 1.5px solid rgb(255, 255, 255);
  border-right: 1.5px solid rgb(255, 255, 255);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: all .5s ease 0s;
}

.button-outer.pink-type a {
  background-color: rgb(225, 126, 131);
  border: 2px solid rgb(225, 126, 131);
}

.button-outer.pink-type a:hover {
  color: rgb(225, 126, 131);
  background-color: rgb(255, 255, 255);
}

.button-outer.pink-type a:hover {
  color: rgb(225, 126, 131);
}

.button-outer.pink-type a:hover::after {
  border-top: 1.5px solid rgb(225, 126, 131);
  border-right: 1.5px solid rgb(225, 126, 131);
}

/* ################################################## 479px以下 ################################################## */

@media (max-width: 479px) {
  .sfinline {
    display: inline !important;
  }

  .sf {
    display: block !important;
  }

  .tb {
    display: none !important;
  }

  .tbsfinline {
    display: inline !important;
  }

  .tbsf {
    display: block !important;
  }

  .pcinline {
    display: none !important;
  }

  .pctbinline {
    display: none !important;
  }

  .pctb {
    display: none !important;
  }

  .pc {
    display: none !important;
  }

  .pc1 {
    display: none !important;
  }

  .pc2 {
    display: none !important;
  }

  .pc2inline {
    display: none !important;
  }

  .pc1tbsfinline {
    display: inline !important;
  }

  .pc1tbsf {
    display: block !important;
  }

  .contents0 {
    padding: 0px 0px;
  }

  .contents {
    padding: 35px 15px 38px;
  }


  .contents-half {
    padding: 15px 0px;
  }

  .effectfade {
    animation-delay: 0.5s !important;
  }


  label, td, th, p, dd, dt, li, a, input, textarea, select {
    line-height: 1.5;
    font-size: 14px;
  }

  .text14 {
    font-size: 12px;
  }

  .text {
    font-size: 14px;
  }

  .text18 {
    font-size: 14px;
  }

  .text19 {
    font-size: 15.5px;
  }

  .text21 {
    font-size: 17px;
  }


  .h2-common {
    font-size: 21px;
    letter-spacing: 1px;
  }

  .h3-common {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .triangle-pink {
    margin: 10px auto 10px;
    display: inline-block;
    border-style: solid;
    border-width: 25px 30px 0 30px;
    border-color: rgb(225, 126, 131) transparent transparent transparent;
  }

  /* ###### メイン ###### */

  .main__back img {
    width: 100%;
    /*height: 220px;*/
    height:auto;
    object-position: 35% center;
    z-index: -1;
  }

  .main__block-text {
    height: 300px;
    padding: 0 15px 0;
    max-width: 270px;
    width: 100%;
    left: auto;
  }

  .main__sub {
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.75;
  }

  .main__title {
    font-size: 36px;
    letter-spacing: 3px;
    line-height: 1.25;
  }

  .main__title.ad {
    font-size: 32px;
    letter-spacing: 3px;
    line-height: 1.25;
  }

  .main__design {
    padding: 0 15px 0;
  }

  .main__design img {
    width: 140px
  }

  /* ###### メイン2 ####### */

  .main__title2 {
    font-size: 24px;
    letter-spacing: 1.5px;
  }

  .back-main2 {
    background: url(../image/back-top2-tbsf.jpg) center center / cover no-repeat;
  }

  .slider {
    margin-top: 10px;
  }

  /* ###### メイン3 ####### */

  .main__block-text2 {
    z-index: 1;
    padding: 0 20px 0;
  }

  .back--blue-transparent {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
  }

  .xx-outer {
    padding: 0 20px 0;
    margin-bottom: 5px;
  }

  .xx-outer img {
    vertical-align: middle;
    margin-top: -5px;
    width: 25px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .camvas-text {
    font-size: 15px;
    line-height: 2;
    margin-top: 35px;
    text-align: left;
    padding-right: 30px;
    padding-left: 30px;
    text-align: justify;
  }

  /* ###### 理由 ####### */
/*
  #reason {
     background: url(../image/back-reason-sf.jpg) center center / auto repeat; 
  }
*/

  .flex-reason__ol .main__title2 {
    text-align: center;
    line-height: 1.85;
  }

  .flex-reason__ol>li {
    margin-top: 25px;
    padding: 25px 20px;
    background-color: white;
  }

  .flex-reason__ol-innner {
    margin-top: 15px;
  }

  .flex-reason__ol-innner li {
    width: 100%;
  }

  .flex-reason__ol-innner li:nth-child(n+2) {
    margin-top: 30px;
    border-top: 1px solid rgb(90, 61, 28);
    padding-top: 30px;
  }

  .horizontal {
    margin-right: 7px;
  }

  .flip-horizontal {
    margin-left: 5px;
    margin-right: 0px;
  }

  .reason-text2 {
    padding: 8px 0;
    margin: 8px 0 30px;
  }

  .h4-common {
    font-size: 18.5px;
    line-height: 1.55;
    margin-bottom: 10px;
    letter-spacing: 0.1px;
  }

  .li-ad {
    padding-top: 15px;
  }

  /* ###### メイン4 ####### */

  #main4 {
    width: 100%;
    background: url(../image/memories-forever-back-sf.jpg) center center / cover no-repeat;
  }

  .flex-main4 {
    display: block;
  }

  .slider2, .slider3 {
    width: 100%;
  }

  .slider2 li, .slider3 li {
    padding: 5px 5px;
  }

  .main4-textblock {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 25px;
  }

  .main__title.ad2 {
    font-size: 38px;
  }

  .main4-text-ad {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 2px;
  }

  .main4-illust img {
    width: 170px;
  }

  /* ###### Button-all ####### */

  .button-outer a {
    margin-top: 15px;
    padding: 6px 15px 6px;
    font-size: 16px;
  }

  .button-outer a::after {
    width: 9px;
    height: 9px;
  }

}

/* ################################################## 480px以上767px以下 ################################################## */

@media (min-width: 480px) and (max-width: 767px) {
  .sf {
    display: none !important;
  }

  .sfinline {
    display: none !important;
  }

  .tb {
    display: block !important;
  }

  .tbsfinline {
    display: inline !important;
  }

  .tbsf {
    display: block !important;
  }

  .pcinline {
    display: none !important;
  }

  .pctb {
    display: block !important;
  }

  .pctbinline {
    display: inline !important;
  }

  .pc {
    display: none !important;
  }

  .pc1 {
    display: none !important;
  }

  .pc2 {
    display: none !important;
  }

  .pc2inline {
    display: none !important;
  }

  .pc1tbsfinline {
    display: inline !important;
  }

  .pc1tbsf {
    display: block !important;
  }

  .contents0 {
    padding: 0px 0px;
  }

  .contents {
    padding: 50px 20px 55px;
  }

  .contents-half {
    padding: 20px 0px;
  }

  label, td, th, p, dd, dt, li, a, input, textarea, select {
    line-height: 1.5;
    font-size: 15px;
  }

  .text14 {
    font-size: 13px;
  }

  .text {
    font-size: 15px;
  }


  .text18 {
    font-size: 16px;
  }

  .text19 {
    font-size: 17px;
  }

  .text21 {
    font-size: 19px;
  }


  .h2-common {
    font-size: 25px;
  }

  .h3-common {
    font-size: 21px;
  }

  .triangle-pink {
    margin: 10px auto 7px;
    display: inline-block;
    border-style: solid;
    border-width: 28px 33px 0 33px;
    border-color: rgb(225, 126, 131) transparent transparent transparent;
  }

  /* ###### メイン ###### */
  .main__back img {
    width: 100%;
    height: 260px;
    object-position: 25% center;
    z-index: -1;
  }

  .main__block-text {
    height: 260px;
    padding: 0 20px 0;
    max-width: 350px;
    width: 100%;
    left: auto;
  }

  .main__sub {
    font-size: 19px;
    letter-spacing: 0.5px;
    line-height: 1.75;
  }

  .main__title {
    font-size: 46px;
    letter-spacing: 3px;
    line-height: 1.25;
  }

  .main__title.ad {
    font-size: 40px;
    letter-spacing: 3px;
    line-height: 1.25;
  }

  .main__design {
    padding: 0 20px 0;
  }

  .main__design img {
    width: 150px
  }

  /* ###### メイン2 ####### */

  .main__title2 {
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  .back-main2 {
    background: url(../image/back-top2-tbsf.jpg) center center / cover no-repeat;
  }

  .slider {
    margin-top: 15px;
  }

  /* ###### メイン3 ####### */


  .main__block-text2 {
    z-index: 1;
    padding: 0 20px 0;
  }

  .back--blue-transparent {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
  }

  .xx-outer img {
    vertical-align: middle;
    margin-top: -5px;
    width: 25px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .camvas-text {
    font-size: 15px;
    line-height: 2;
    margin-top: 15px;
  }

  /* ###### 理由 ####### */
/*
  #reason {
    background: url(../image/back-reason.jpg) center center / auto repeat;
  }
*/

  .flex-reason__ol .main__title2 {
    text-align: center;
    line-height: 1.75;
  }

  .flex-reason__ol>li {
    margin-top: 30px;
    padding: 40px;
    background-color: white;
  }

  .flex-reason__ol-innner {
    margin-top: 15px;
  }

  .flex-reason__ol-innner li {
    width: 100%;
  }


  .flex-reason__ol-innner li:nth-child(n+2) {
    margin-top: 35px;
    border-top: 1px solid rgb(90, 61, 28);
    padding-top: 30px;
  }

  .horizontal {
    margin-right: 7px;
  }

  .flip-horizontal {
    margin-left: 5px;
    margin-right: 0px;
  }

  .reason-text2 {
    padding: 10px 0;
    margin: 10px 0 35px;
  }

  .h4-common {
    font-size: 21px;
    line-height: 1.55;
    margin-bottom: 10px;
  }


  /* ###### メイン4 ####### */


  #main4 {
    width: 100%;
    background: url(../image/memories-forever-back-sf.jpg) center center / cover no-repeat;
  }

  .flex-main4 {
    display: block;
  }

  .slider2, .slider3 {
    width: 100%;
  }

  .slider2 li, .slider3 li {
    padding: 5px 5px;
  }

  .main4-textblock {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .main__title.ad2 {
    font-size: 52px;
  }

  .main4-text-ad {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .main4-illust img {
    width: 220px;
  }


  /* ###### Button-all ####### */

  .button-outer a {
    margin-top: 15px;
    padding: 6px 20px 7px 20px;
    font-size: 16px;
  }


}

/* ################################################## 768px以上 ################################################## */

@media (min-width: 768px) {

  .sf {
    display: none !important;
  }

  .sfinline {
    display: none !important;
  }

  .tb {
    display: none !important;
  }

  .tbsfinline {
    display: none !important;
  }

  .tbsf {
    display: none !important;
  }

  .pcinline {
    display: inline !important;
  }

  .inline-block-pc {
    display: inline-block;
  }

  .pctb {
    display: block !important;
  }

  .pctbinline {
    display: inline !important;
  }

  .pc {
    display: block !important;
  }


  /* ###### メイン ####### */
  /* ###### メイン2 ####### */

  .back-main2 {
    background: url(../image/back-top2.jpg) center center / cover no-repeat;
  }

  /* ###### メイン3 ####### */
  /* ###### 理由 ####### */
*/
  #reason {
    background: url(../image/back-reason.jpg) center center / auto repeat;
  }
*/

  /* ###### メイン4 ####### */

  .slider3 {
    transform: rotate(-180deg);
  }

  .slider3 li {
    transform: rotate(-180deg);
  }

  .main4-text-ad {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  /* ###### Button-all ####### */
}

@-moz-document url-prefix() {}

/* ################################################## 調整 ################################################## */

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


  .contents {
    padding: 60px 30px 65px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1160px;
  }

  .contents-half {
    padding: 30px 0px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1160px;
  }

  .contents0 {
    padding: 0px 0px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1160px;
  }

  .pc1 {
    display: block !important;
  }

  .pc2 {
    display: none !important;
  }

  .pc2inline {
    display: none !important;
  }

  .pc1tbsfinline {
    display: inline !important;
  }

  .pc1tbsf {
    display: block !important;
  }

  /* ###### メイン ####### */

  .main__back img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    font-family: "object-fit: cover";
    object-position: 20% center;
    z-index: -1;
  }

  /* ###### メイン2 ####### */
  /* ###### メイン3 ####### */

  .xx-outer {
    margin-bottom: -10px;
  }

  .camvas-text {
    font-size: 16px;
    line-height: 1.75;
    margin-top: 8px;
  }

  /* ###### 理由 ####### */

  .flex-reason__ol>li {
    margin-top: 45px;
    padding: 40px 50px;
    background-color: white;
  }

  .flex-reason__ol-innner {
    margin-top: 15px;
  }

  .flex-reason__ol-innner li {
    width: 47%;
  }

  .flex-reason__ol-innner li:nth-child(even) {
    margin-left: 3.5%;
  }

  .flex-reason__ol-innner li:nth-child(n+3) {
    margin-top: 3.5%;
  }

  .flex-reason__ol-innner.aaa li:nth-child(n+3) {
    border-top: 1px solid rgb(90, 61, 28);
    padding-top: 50px;
  }

  .flex-reason__ol-innner.aaa li:nth-child(n+3) {
    margin-top: 50px;
  }


  .horizontal {
    margin-right: 7px;
  }

  .flip-horizontal {
    margin-left: 5px;
    margin-right: 17px;
  }

  .reason-text2 {
    padding: 10px 0;
    margin: 15px 0 30px;
  }

  .h4-common {
    font-size: 21px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .nayami {
    min-height: 65px;
  }


  /* ###### メイン4 ####### */

  #main4 {
    width: 100%;
    background: url(../image/back-memories-forever.jpg) center center / cover no-repeat;
  }

  .flex-main4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .slider2, .slider3 {
    width: 15%;
  }

  .slider2 li, .slider3 li {
    padding: 15px 5px;
  }

  .main4-textblock {
    width: 40%;
  }

  .main__title.ad2 {
    font-size: 42px;
  }

  .main4-text-ad {
    font-size: 14px;
  }

  .main4-illust img {
    width: 200px;
  }
}

@media (min-width: 1160px) {
  .contents {
    padding: 70px 30px 75px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1160px;
  }

  .contents-half {
    padding: 40px 0px;
    margin-right: auto;
    margin-left: auto;
  }

  .contents0 {
    padding: 0px 30px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1160px;
  }

  .pc1 {
    display: none !important;
  }

  .pc2 {
    display: block !important;
  }

  .pc2inline {
    display: inline !important;
  }

  .pc1tbsfinline {
    display: none !important;
  }

  .pc1tbsf {
    display: none !important;
  }

  /* ###### メイン ####### */
  /* ###### メイン2 ####### */
  /* ###### メイン3 ####### */
  /* ###### 理由 ####### */

  .flex-reason__ol-innner.aaa li:nth-child(1) {
    margin-left: 1px;
  }

  .flex-reason__ol-innner.aaa li:nth-child(2) {
    margin-right: 1px;
  }

  .flex-reason__ol-innner li:nth-child(n+2) {
    margin-left: 3.5%;
  }

  .flex-reason__ol-innner.aaa li:nth-child(3) {
    margin-left: 3.5%;
  }

  .flex-reason__ol-innner.aaa li:nth-child(4) {
    margin-right: 3.5%;
  }

/*  .flex-reason__ol-innner.aaa li:nth-child(n+3) {
    margin-top: 50px;
  }*/

  .nayami {
    min-height: 65px;
  }

/*  .flex-reason__ol-innner.aaa li:nth-child(n+3) {
    border-top: 1px solid rgb(90, 61, 28);
    padding-top: 35px;
  }*/

  /* ###### メイン4 ####### */

  .main4-text-ad {
    font-size: 16px;
  }
}


/***********************************************************************************************************************
ウェルカムボードLP追加
************************************************************************************************************************/
@media (max-width: 640px) {
  .exam_image{width:96%; height:auto; margin:3% auto; text-align: center; background:#fff8dc; padding: 3%; font-size: 16px;}
  .exam_image p img{display: block; width: 80%; margin: 2% auto 2%;}
  }



/* ################################################## 479px以下 ################################################## */



  .h2-sub2 {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
  }


  /* ###### MAIN ###### */



  .h2-sub2 {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 4px;
  }


/* ################################################## 768px以上 ################################################## */

  .h2-sub2 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 5px;
  }


.ac_banner_container{
	width:960px;
        height:auto;
	display:flex;
	margin:30px auto 100px;
	justify-content:space-between;
}

.ac_banner_flex_a,.ac_banner_flex_b{
	flex:0 0 460px;
}

.ac_banner_flex_a{border:1px solid #9f543d; margin-bottom:0;}
.ac_banner_flex_b{border:1px solid #273f57;}

.ac_banner_midashi_a{font-size:1.2rem; color:#9f543d; text-align:center; margin:15px;}
.ac_banner_midashi_b{font-size:1.2rem; color:#273f57; text-align:center; margin:15px;}

.ac_banner_flex_a p,.ac_banner_flex_b p{
	font-size:1.0rem; text-align:center; margin:0 15px 15px;
}


@media (max-width: 640px) {

.ac_banner_container{
	width:96%;
        height:auto;
	display:block;
	margin:5% auto 15%;
}


.ac_banner_flex_a{border:1px solid #9f543d; margin-bottom:5%;}
.ac_banner_flex_b{border:1px solid #273f57;}

.ac_banner_midashi_a{font-size:1.2rem; color:#9f543d; text-align:center; margin:3%;}
.ac_banner_midashi_b{font-size:1.2rem; color:#273f57; text-align:center; margin:3%;}

.ac_banner_flex_a p,.ac_banner_flex_b p{
	font-size:1.0rem; text-align:center; margin:0 3% 3%;
}

}