@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+JP:wght@100..900&display=swap');


:root {
  --txt-color: #222222; /* テキストカラー */
  --gray-color: #787878; /* テキストカラー */
  --border-color: #c1c1c1; /* テキストカラー */
  --main-color01: #163F6E; /* メインカラー01 */
  --accent-color01: #E4EEF9; /* アクセントカラー01 */
  --accent-color02: #FCB500; /* アクセントカラー02 */
  --accent-color03: #7FCA20; /* アクセントカラー03 */
  --btn-color: #38B24F; /* ボタンの色 */
  --bg-color01: #F6F6F2; /* 背景カラー01 */
}

html {
  scroll-behavior: smooth;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 62.5%;
  margin: 0 auto;
  background-image: url(../img/bg.png);
  color: var(--txt-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.barlow-4 {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: normal;
}

p {
  font-size: 1.8rem;
  line-height: 3.3rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
}

@media screen and (max-width: 499px) {
  p {
    font-size: 1.6rem;
    line-height: 3rem;
    letter-spacing: 0.04rem;
  }
}
/*********header*********/
header {
  background-color: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 0;
  margin: 0;
  box-shadow: 0px 1px 1px 0px rgb(0 0 0 / 5%);
}
.header-box {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 1rem 1%;
}
.header-logo {
  width: 100%;
  max-width: 172px;
  height: auto;
}
.header-logo img{
  width: 100%;
  height: auto;
}
.header-box-txt {
  padding: 0;
  margin: 0;
}
.header-box-txt ul {
  display: flex;
  justify-content: right;
  padding: 0 0 0 10rem;
}
.header-box-txt li {
  font-size: 1.6rem;
  letter-spacing: 0.01rem;
  line-height: 2.8rem;
  padding: 1rem 1.5rem 1rem;
  transition: color 0.1s;
}
.header-box-txt li:nth-last-child(2) {
  padding: 1rem 3rem 1rem 1.5rem;
}

.header-box-txt ul li a:hover {
  color: var(--main-color01);
  font-weight: 900;
}

.hamburger-menu {
  display: none;
}
.header-cta-box {
  display: none;
}
@media screen and (min-width: 1121px) {
  .header-cta-box {
    display: block
  }
  .navigation {
    display: block !important; /* 重要度を付けて表示する */
  }
}

@media screen and (max-width: 1120px) {
  header {
    margin: 0;
    padding: 0;
  }
  .header-box {
    width: 100%;
    padding: 0;
  }
  .header-logo {
    padding: 1rem 0;
  }
  .hamburger-menu {
    display: block;
    width: 50px;
    height: 50px;
    position: relative;
    border: none;
    background: transparent;
    appearance: none;
    padding: 0;
    cursor: pointer;
    margin: 0.9rem 1% 0 0;
  }
  .hamburger-menu__bar {
    display: inline-block;
    width: 50%;
    height: 2.2px;
    background: var(--txt-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: .5s;
  }
  .hamburger-menu__bar:first-child {
    top: 16px;
  }
  .hamburger-menu__bar:nth-child(2) {
    top: 24px;
  }
  .hamburger-menu__bar:last-child {
    top: 32px;
  }
  .hamburger-menu--open .hamburger-menu__bar {
    top: 50%;
  }
  .hamburger-menu--open .hamburger-menu__bar:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
  }
  .hamburger-menu--open .hamburger-menu__bar:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  }
  .hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
    display: none;
  }
  .header-box-txt {
    padding: 0;
  }
  .header-box-txt ul {
    display: block;
    flex-direction: column;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .header-box-txt li {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2rem;
    padding: 3rem 0;
    border-left: none;
    border-right: none;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
    transition: color 0.1s;
    color:#fff;
    background-color: var(--main-color01);
  }
  .header-box-txt li:nth-last-child(2) {
    padding: 3rem 0;
  }
  .header-box-txt ul li a:hover {
    color: #fff;
    font-weight: 900;
  }
  .nav-txt-sp {
    display: block;
  }
  .header-box-txt a:hover {
    color: #fff;
  }
  .navigation {
    display: none;
    background: #fff;
    position: absolute;
    top: 70px;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 999;
  }
}

@media screen and (max-width: 500px) {
  .header-logo {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 1% 0 0 1%;
  }
  .hamburger-menu {
    margin: 1.5rem 3% 0 0;
  }
  .hamburger-menu__bar:first-child {
    top: 10px;
  }
  .hamburger-menu__bar:nth-child(2) {
    top: 18px;
  }
  .hamburger-menu__bar:last-child {
    top: 26px;
  }
  .hamburger-menu--open .hamburger-menu__bar {
    top: 50%;
  }
  .header-box-txt ul {
    display: block;
    flex-direction: column;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .header-box-txt li {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    line-height: 2rem;
    padding: 2.2rem 0;
    border-left: none;
    border-right: none;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
    transition: color 0.1s;
    color:#fff;
    background-color: var(--main-color01);
  }
  .header-box-txt li:nth-last-child(2) {
    padding: 2.2rem 0;
    border-bottom: solid 2px #fff;
  }
  .navigation {
    top: 65px;
  }
}




/********* 全体 *********/
main {
  padding: 0;
  margin: 0;
}

.wrap {
  margin-top: 100px;
}

/* パン屑リスト */
.bread-box {
  width: 100%;
  max-width: 1394px;
  font-size: 1.5rem;
  margin: 0 auto 3rem;
  padding: 0 2%;
}

.bread-box a {
  text-decoration: underline;
}

.bread-box span {
  padding: 1rem 1rem 0;
}
.child {
  color: var(--main-color01);
}

.link-box {
  display: flex;
  justify-content: right;
  max-width: 940px;
  margin: 5rem auto 0;
  padding: 0 5%;
  font-size: 2rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--main-color01);
}
.link-box:nth-last-child(1) {
  max-width: 1600px;
}
.link{
  position:relative;
  padding:0 0 10px;
  display:block;
  text-decoration: none;
  outline: none;
}
.link::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 90%;
  height: 2px;
  background: var(--main-color01);
}
.link::after {
  content: "";
  position: absolute;
  bottom:-3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--main-color01);
  border-right: 2px solid var(--main-color01);
  transform: rotate(45deg);
}
.link::before {
  animation: arrowlong01 2s ease infinite;
}
.link::after {
  animation: arrowlong02 2s ease infinite;
}
@keyframes arrowlong01{
  0%{width:0;opacity:0}
  20%{width:0;opacity:1}
  80%{width:100%;opacity:1}
  100%{width:100%;opacity:0}
}
@keyframes arrowlong02{
  0%{left:0;opacity:0}
  20%{left:0;opacity:1}
  80%{left:100%;opacity:1}
  100%{left:100%;opacity:0}
}

@media screen and (max-width: 499px) {
  .wrap {
    margin-top: 21%;
  }
  .bread-box {
    font-size: 1.4rem;
    margin: 0 auto 1.8rem;
    padding: 0 4%;
  }
  .link-box {
    font-size: 1.8rem;
  }
}


/* セクションタイトル */
.sec-titlebox {
  width: 100%;
  max-width: 1320px;
  height: auto;
  background-image: linear-gradient(150deg, #163F6E,#163F6E, #1c5ba2,#163F6E,#163F6E,#163F6E);
  margin: 0 auto;
  color: #fff;
  padding: 4.5rem 0 4.5rem 3rem;
}
.sec-titlebox .tit-h1 {
  font-size: 4rem;
  font-weight: 700;
}
.sec-titlebox .tit-h1 .eng{
  font-size: 2.4rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  padding: 0 0 0 1rem;
}

.sec-titlebox .tit-h1 .br {
  display: none;
}

@media screen and (max-width: 499px) {
  .sec-titlebox {
    width: 100%;
    padding: 3.7rem 0 3.2rem 1.8rem;
  }
  .sec-titlebox .tit-h1 {
    font-size: 3.8rem;
    line-height: 3rem;
  }
  .sec-titlebox .priv-h1 {
    font-size: 3.8rem;
    line-height: 4.8rem;
  }
  .sec-titlebox .tit-h1 .eng{
    font-size: 2rem;
    padding: 0;
    margin: -20rem 0 0;
  }
  .sec-titlebox .tit-h1 .br {
    display: block;
    margin: 20vw 0 0;
  }
}

/********* fv *********/
.fv-box {
  width: 100%;
  height: auto;
}
.fv{
  margin: 0 auto;
  width: 100%;
  height: 760px;
  background-image: url(../img/fv-01.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fv-sp {
  display: none;
}
@media screen and (min-width: 500px) and (max-width: 1300px) {
  .fv{
    margin: 0 auto;
    width: 100%;
    height: 63vw;
    background-image: url(../img/fv-02.png);
  }
}
@media screen and (max-width: 499px) {
  .fv{
    display: none;
  }
  .fv-sp{
    display: block;
    margin: 0 auto;
    width: 100%;
  }
  .fv-sp img {
    width: 100%;
    height: auto;
  }
}

.top-h1 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--main-color01);
  font-size: 10rem;
  letter-spacing: 0.1rem;
  text-align: center;
  margin: 5rem auto 0;
  padding: 0 5%;
}
.top-h2 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
  color: transparent; /* 背景を透明に */
  font-size: 10.2rem;
  letter-spacing: 0.1rem;
  text-align: center;
  margin: 5rem auto 0;
  padding: 0 5%;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--main-color01);
}
.top-h3 {
  font-weight: 900;
  font-style: normal;
  color: var(--main-color01);
  font-size: 5.9rem;
  line-height: 8rem;
  letter-spacing: 0.1rem;
  text-align: center;
  margin: 0 auto;
  padding: 0 5%;
}
.about-txt {
  max-width: 940px;
  margin: 0 auto;
  padding: 1rem 5%;
}
.video-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}
.video-box video{
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.skill-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 2.5rem; /* 画像間の間隔を設定 */
  max-width: 940px;
  margin: 2rem auto 0;
  padding: 0 5%;
}
.skill-box img {
  width: 100%;
  height: auto;
}


.case-wrap {
  width: 100%;
  margin: 15rem 0 0;
  padding: 5rem 0;
  background-color: var(--accent-color01);
}
.line-box {
  display: flex;
  justify-content: space-between;
  background: transparent;
  appearance: none;
  padding: 0;
  margin: 2.4rem auto 0;
}

.line-box .line {
  width: 49.2%;
  height: 7px;
  background-color: var(--main-color01);
}

.line-box .line-turn {
  width: 47%;
  height: 7px;
  background-color: var(--main-color01);
  position: relative;
}

.line-box .line-turn::after {
  position: absolute;
  content: "";
  top: 0;
  left: -9.5%;
  width: 9.5%;
  height: 7px;
  background-color: var(--main-color01);
  transform: rotate(-35deg); /* 45度回転 */
  transform-origin: 100% 0; /* 回転の基準点を左下に設定 */
}



@media screen and (max-width: 768px) {
  .top-h1 {
    font-size: 8rem;
  }
  .top-h2 {
    font-size: 8.2rem;
  }
  .top-h3 {
    font-size: 4.2rem;
    line-height: 6rem;
    letter-spacing: 0.08rem;
    padding: 0;
  }
  .skill-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }
  .line-box {
    margin: 2.1rem auto 0;
  }
  .line-box .line {
    height: 5.6px;
  }
  .line-box .line-turn {
    height: 5.6px;
  }
  .line-box .line-turn::after {
    height: 5.6px;
    transform: rotate(-42deg);
  }
}
@media screen and (max-width: 499px) {
  .case-wrap {
    margin: 6rem 0 0;
    padding: 5rem 0;
  }
  .top-h1 {
    font-size: 16vw;
  }
  .top-h2 {
    font-size: 16.2vw;
    margin: 4rem auto 0;
  }
  .top-h3 {
    font-size: 8.4vw;
    line-height: 12vw;
    letter-spacing: 0.08rem;
    padding: 0;
  }
  .skill-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin: 2% auto 0;
  }
  .line-box {
    margin: 2.8vw auto 0;
  }
  .line-box .line {
    height: 1.2vw;
  }
  .line-box .line-turn {
    height: 1.2vw;
  }
  .line-box .line-turn::after {
    height: 1.2vw;
    transform: rotate(-40deg); /* 45度回転 */
  }
}
















.slider-wrap {
  margin: 8rem auto 0;
  padding: 0 2rem;
  max-width: 1500px;
}


.case-box {
  background-color: #F6F6F2;
  margin: 0 1.5rem;
  border-radius: 20px;
  padding: 3.2rem 3.6rem;
}

.case-box img{
  width: 100%;
  height: auto;
}

.case-box .title {
  text-align: center;
  font-size: 2.6rem;
  padding: 2rem 0 1rem;
  border-bottom: solid 4px var(--main-color01);
}

.case-box .name {
  text-align: center;
  font-size: 2.6rem;
  margin: 0 0 0 0.4rem;
  padding: 1rem 0 1.6rem;
}

.case-box span {
  font-size: 1.6rem;
  margin: 0 0 0 0.4rem;
}

.case-box .txt {
  text-align: left;
}

.ref-box {
  display: block;
  font-size: 1.1rem;
  color:#878787;
  text-align: right;
  padding: 0.5rem 2rem 0 0;
}
.ref {
  text-decoration: underline;
}



@media screen and (max-width: 499px) {
  .slider-wrap {
    margin: 10% auto 0;
    padding: 0;
    max-width: 600px;
  }
  .case-box {
    margin: 0 2rem;
    border-radius: 15px;
    padding: 2.8rem 2.4rem;
  }
}


.top-nav {
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 0;
}

.top-nav-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.top-nav a {
  position: relative;
  background-color: #fff;
  max-width: 500px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  border: solid var(--main-color01) 2px;
  border-left: 10px solid var(--main-color01);
  padding: 2rem 0;
  display: inline-block;
  text-decoration:none;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, var(--main-color01) 50%);
  background-position: 0 0;
  background-size: 200% auto;
  transition: .5s;
}
.top-nav a:hover{
  background-position: -100% 0;
  color: #fff;
  border-left: 10px solid var(--accent-color02);
}
.top-nav .jap {
  font-size: 3.4rem;
  letter-spacing: 0.2rem;
  font-weight: 700;
  text-align: center;
}

.top-nav .eng {
  font-size: 2.4rem;
  letter-spacing: 0.2rem;
  color: var(--main-color01);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-align: center;
  transition: .5s;
}
.top-nav a:hover .eng {
  color: #fff;
}

@media screen and (max-width: 660px) {
  .top-nav-box {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .top-nav a {
    max-width: 660px;
  }
  .top-nav .jap {
    font-size: 2.8rem;
    letter-spacing: 0.1rem;
  }
  .top-nav .eng {
    font-size: 2rem;
    letter-spacing: 0.1rem;
  }
}

@media screen and (max-width: 499px) {
  .top-nav {
    padding: 4rem 0;
  }
}


/****************** 下層ページ ******************/

/* ----- サービス ----- */
.sec-h2 {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin: 8rem 0 0;
  padding: 0 2rem;
}
.sec-h3 {
  display: block;
  width: 400px;
  font-size: 3.6rem;
  line-height: 5rem;
  font-weight: 700;
  text-align: center;
  margin: 14rem auto 2rem;
  border-radius: 20px;
  border-bottom: 3px solid var(--main-color01);
  border-image-source: linear-gradient( 90deg, rgba(0, 128, 0, 0),var(--main-color01),var(--main-color01), rgba(0, 128, 0, 0) );
  border-image-slice: 1;
  padding: 2rem;
  color: var(--main-color01);
}
.sec-h2-txt {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 4%;
  text-align: justify;
}

.sec-h2 .br {
  display: none;
}

@media screen and (max-width: 499px) {
  .sec-h2 {
    margin: 3.8rem 0 0;
    padding: 0 2rem;
    font-size: 3.4rem;
  }
  .sec-h3 {
    display: block;
    width: 88%;
    font-size: 3rem;
    line-height: 3rem;
    margin: 8rem auto -3%;
    padding: 0 0 2rem;
  }
  .sec-h2 .br {
    display: block;
  }
}
.reason-sectit-box {
  width: 100%;
  max-width: 1200px;
  margin: 7rem auto 0;
  padding: 0 3rem;
  display: flex;
  justify-content: left;
}
.reason-num-box {
  color: var(--main-color01);
  padding: 0 3.2rem 0 2rem;
  border-right: var(--main-color01) 6px solid;
}
.numbox-txt {
  display: block;
  font-size: 1.6rem;
  text-align: center;
  margin: -2.1rem 0 1.1rem;
  padding: 1.8rem 0 0.4rem;
  white-space: nowrap;
}
.numbox-num {
  display: block;
  font-size: 10rem;
  font-weight: 600;
}
.numbox-tit {
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 0.07rem;
  line-height: 5rem;
  padding: 3rem 1rem 3rem 3rem;
  align-items: center;
}
.reason-flexbox {
  display: flex;
  justify-content: space-between;
  max-width: 1160px;
  padding: 4rem 0 0;
  margin: 0 auto;
}
.reason-flexbox .img {
  min-width: 400px;
  padding: 0 2rem;
}
.reason-flexbox .img img{
  width: 100%;
  height: auto;
}
.reason-flexbox .txt {
  padding: 0 2rem;
}

.skill-flexbox {
  display: flex;
  justify-content: space-between;
  max-width: 1160px;
  padding: 5rem 0 0;
  margin: 0 auto;
}
.skill-flexbox:nth-last-child(1) {
  padding: 5rem 0 10rem;
}
.skill-flexbox .img {
  max-width: 300px;
  padding: 0 2rem;
}
.skill-flexbox .img img{
  width: 100%;
  height: auto;
}
.skill-flexbox .box{
  width: 100%;
  padding: 0 3rem 0 1.8rem;
}
.skill-flexbox .tit {
  font-size: 2.4rem;
  line-height: 4rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--border-color);
  border-image-slice: 1;
}
.skill-flexbox .txt {
  padding: 1rem 0 0;
}

@media screen and (max-width: 768px) {
  .reason-sectit-box {
    display: block;
    justify-content: flex-start;
    padding: 0 4%;
  }
  .reason-num-box {
    padding-right: 3.2rem;
    border-right: none;
    flex-direction: column;
    padding: 0;
  }
  .numbox-txt {
    text-align: left;
    margin: 0;
    padding: 0;
    margin: -2rem 0 1.8rem;
    font-size: 1.4rem;
  }
  .numbox-tit {
    padding: 4.4rem 0 0;
  }
  .numbox-num {
    font-size: 9.8rem;
  }
  .numbox-num-02,
  .numbox-num-03 {
    font-size: 9.3rem;
    letter-spacing: -0.1rem;
  }
  .reason-flexbox {
    display: block;
    justify-content: flex-start;
    width: 100%;
    padding: 1.8rem 4% 0;
  }
  .reason-flexbox .img {
    min-width: 0;
    padding: 0;
  }
  .reason-flexbox .txt {
    padding: 1.5rem 0 0;
  }
}
@media screen and (max-width: 620px) {
  .skill-flexbox {
    display: block;
    justify-content: flex-start;
  }
  .skill-flexbox:nth-last-child(1) {
    padding: 5rem 0 10rem;
  }
  .skill-flexbox .img {
    max-width: 620px;
    width: 100%;
    padding: 0 2rem;
  }
  .skill-flexbox .box{
    padding: 0 2.5rem;
  }
}

@media screen and (max-width: 499px) {
  .reason-sectit-box {
    display: block;
    justify-content: flex-start;
    padding: 0 4%;
  }
  .numbox-txt {
    margin: 0 0 1.8rem;
    font-size: 1.3rem;
  }
  .numbox-tit {
    padding: 3rem 0 0;
    font-size: 3rem;
    line-height: 4.3rem;
  }
  .numbox-num {
    font-size: 8.58rem;
    margin: -0.3rem 0 0;
  }
  .numbox-num-02,
  .numbox-num-03 {
    font-size: 7.52rem;
    letter-spacing: -0.1rem;
    margin: -0.8rem 0 0;
  }
  .reason-flexbox {
    display: block;
    justify-content: flex-start;
    width: 100%;
    padding: 1.8rem 4% 0;
  }
  .reason-flexbox .img {
    min-width: 0;
    padding: 0;
  }
  .reason-flexbox .txt {
    padding: 1.5rem 0 0;
  }

  
  .skill-flexbox .tit {
    font-size: 2.3rem;
    line-height: 3.2rem;
    padding: 1.4rem 0;
  }
  .skill-flexbox .txt {
    padding: 1.2rem 0 0;
  }
}
/* ----- エピソード ----- */
.episode-flexbox {
  display: flex;
  justify-content: space-between;
  max-width: 1290px;
  width: 92%;
  padding: 4rem 3rem;
  border-radius: 8px;
  margin: 5rem auto 0;
  background-color: var(--accent-color01);
}
.episode-flexbox:nth-child(even) {
  background-color: var(--bg-color01);
}

.episode-flexbox:nth-last-child(1) {
  margin: 5rem auto 6rem;
}

.episode-flexbox .img {
  min-width: 400px;
  padding: 0 2rem;
}
.episode-flexbox .img img{
  width: 100%;
  height: auto;
}
.episode-flexbox .title {
  font-size: 2.4rem;
  text-align: center;
  color: var(--main-color01);
  padding: 2rem 0 0;
}
.episode-flexbox .name {
  font-size: 2.9rem;
  text-align: center;
  padding: 0.5rem 0 0;
}
.episode-flexbox .name span {
  font-size: 1.6rem;
}

.episode-flexbox .txt {
  padding: 0 1rem 0 2rem;
  font-weight: 500;
  text-align: justify;
}


@media screen and (max-width: 1200px) {
  .episode-flexbox {
    display: block; /* displayプロパティを無効にする */
    justify-content: flex-start;
    width: 92%;
    padding: 3rem 1rem;
    flex-direction: column;
  }
  .episode-flexbox:nth-last-child(1) {
    margin: 5rem auto 5rem;
  }
  .episode-flexbox .img {
    min-width: 0;
    width: 100%;
    padding: 0 1.6rem;
  }
  .episode-flexbox .title {
    padding: 2.8rem 0 0;
  }
  .episode-flexbox .name {
    padding: 0.5rem 0 2rem;
  }
  .episode-flexbox .name span {
    font-size: 1.6rem;
    padding: 0 0 0 0.3rem;
  }
  .episode-flexbox .txt {
    padding: 0 1.6rem;
    font-weight: 500;
  }
}


@media screen and (max-width: 499px) {
  .episode-flexbox {
    width: 92%;
    padding: 7% 5%;
    flex-direction: column;
  }
  .episode-flexbox .img {
    width: 100%;
    padding: 0;
  }
  .episode-flexbox .txt {
    padding: 0;
  }
}



/* ----- エピソード ----- */
.case-flexbox {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1290px;
  padding: 4rem 3rem;
  border-radius: 8px;
  margin: 5rem auto 0;
  background-color: var(--accent-color01);
}

.case-flexbox:nth-last-child(1) {
  margin: 5rem auto 6rem;
}

.case-flexbox .img {
  min-width: 360px;
  padding: 0 2rem;
}
.case-flexbox .img img{
  width: 100%;
  height: auto;
}
.case-flexbox .txt-box {
  display: flex;
  justify-content: left;
  padding: 3rem 1rem 2rem 2rem;
}
.case-flexbox .title {
  font-size: 3rem;
  color: var(--main-color01);
  padding: 0 2.6rem 0 0;
}
.case-flexbox .name {
  font-size: 3.2rem;
  letter-spacing: 0.3rem;
}
.case-flexbox .name span {
  font-size: 1.6rem;
}
.case-flexbox .txt {
  padding: 0 1rem 0 2rem;
  font-weight: 500;
  text-align: justify;
}

@media screen and (max-width: 990px) {
  .case-flexbox {
    display: block; /* displayプロパティを無効にする */
    justify-content: flex-start;
    width: 92%;
    padding: 4rem 1rem;
    flex-direction: column;
  }
  .case-flexbox .img {
    min-width: 0;
    width: 100%;
    padding: 0 1.5rem;
  }
  .case-flexbox .txt-box {
    display: flex;
    justify-content: left;
    padding: 3.2rem 0 0.4rem 1.6rem;
  }
  .case-flexbox .txt {
    padding: 0 1.6rem;
  }
}

@media screen and (max-width: 499px) {
  .case-flexbox {
    padding: 7% 5%;
  }
  .case-flexbox .title {
    padding: 0 5% 0 0;
  }
  .case-flexbox .img {
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  .case-flexbox .txt-box {
    padding: 3.2rem 0 0.4rem 0;
  }
  .case-flexbox .txt {
    padding: 0;
  }
}


/* ----- エピソード ----- */
.flow-flexbox {
  display: flex;
  flex-direction: space-between;
  max-width: 1290px;
  padding: 4rem 3rem 2rem;
  border-radius: 8px;
  margin: 1rem auto 0;
}
.flow-flexbox:nth-of-type(3) {
  margin: 5rem auto 0;
}
.flow-flexbox:nth-last-child(1) {
  margin: 1rem auto 2rem;
}
.flow-flexbox .box {
  padding: 0 5% 0 0;
  width: 45%;
}

.flow-flexbox .fukidashi {
  position: relative;
  display: inline-block;
  margin: 1rem 0 3.2rem;
  padding: 1.5rem 1.8rem 1.8rem;
  max-width: 100%;
  background: var(--main-color01);
  color: #fff;
}
.flow-flexbox .fukidashi:before {
  content: "";
  position: absolute;
  top: 98%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid var(--main-color01);
  transform: translate(0%, 0%);
  -webkit-transform: translate(0%, 0%);
  -ms-transform: translate(0%, 0%);
}
.flow-flexbox .step {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 4.6rem;
  padding: 0;
  margin: 0;
}
.flow-flexbox .tit {
  font-size: 3rem;
  line-height: 4rem;
  margin: 0 0 1rem;
  border-bottom: solid 2px var(--border-color);
  padding: 0 0 1.4rem;
}

.flow-flexbox .img {
  width: 55%;
  padding: 0;
}
.flow-flexbox .img img{
  width: 100%;
  height: auto;
}

@media screen and (max-width: 880px) {
  .flow-flexbox {
    flex-direction: column-reverse;
  }
  .flow-flexbox .box {
    padding: 2.4rem 0 3rem;
    width: 100%;
  }
  .flow-flexbox .img {
    width: 100%;
    padding: 0;
  }
}
@media screen and (max-width: 499px) {
  .flow-flexbox .fukidashi {
    margin: 1rem 0 2rem;
    padding: 1.0rem 1.2rem 1.2rem;
    max-width: 100%;
  }
  .flow-flexbox .fukidashi:before {
    margin-left: -11px;
    border: 11px solid transparent;
    border-top: 11px solid var(--main-color01);
  }
  .flow-flexbox .step {
    font-size: 3.2rem;
  }
  .flow-flexbox .tit {
    font-size: 2.6rem;
    line-height: 3.7rem;
  }
}

/* ----- 料金 ----- */
.price-h2 {
  display: block;
  margin: 10rem auto 5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  vertical-align: bottom;
}
.price-h2 .getugaku-box {
  background-color: var(--accent-color02);
  height: 100%;
  padding: 0.5rem 0.3rem 0.8rem 1.2rem;
  margin: 0.2rem 1.6rem 0 0;
}
.price-h2 .getugaku {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 1rem;
}
.price-h2 .price {
  font-size: 13rem;
  letter-spacing: 0.2rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.price-h2 .manen {
  font-size: 3.4rem;
  font-weight: 700;
  margin: 3.2rem 0 0 0.4rem;
}
.price-flexbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 2.5rem;
  max-width: 1300px;
  padding: 0 3.5rem;
  margin: 5rem auto 6rem;
}
.price-flexbox .box {
  border-radius: 5px;
  border: 2px solid var(--txt-color);
  padding: 4rem 3rem ;
  width: 100%;
}
.price-flexbox .tit {
  position: relative;
  text-align: center;
  font-size: 3rem;
  line-height: 4rem;
  margin: 1rem 0 4rem;
}
.price-flexbox .tit::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--main-color01);
  bottom: -1.6rem;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.price-flexbox .txt {
  text-align: left;
}
.price-flexbox .br{
  display: none;
}

@media screen and (max-width: 1235px) {
  .price-flexbox {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 0 7%;
  }
}
@media screen and (max-width: 910px) {
  .price-flexbox {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 7%;
  }
}
@media screen and (max-width: 499px) {
  .price-flexbox {
    gap: 2.4rem;
    padding: 0 5%;
  }
  .price-flexbox .box {
    padding: 2.6rem 2rem ;
  }
  .price-flexbox .tit {
    font-size: 2.4rem;
    line-height: 3rem;
  }
  .price-h2 {
    margin: 8rem auto 3rem;
  }
  .price-h2 .getugaku-box {
    padding: 0.1rem 0.4rem 0.22rem 1rem;
    margin: 0.4rem 0.6rem 0 0;
  }
  .price-h2 .getugaku {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.4rem;
  }
  .price-h2 .price {
    font-size: 9rem;
    letter-spacing: 0.2rem;
  }
  .price-h2 .manen {
    font-size: 2.4rem;
    margin: 2.2rem 0 0 0.1rem;
  }
}



/* ----- よくあるご質問 ----- */

.faq-tit {
  text-align: center;
  font-size: 2.2rem;
  line-height: 3.3rem;
  font-weight: 600;
  padding: 8rem 3% 0;
}

.accordion_wrap{
  width:100%;
  max-width: 1320px;
  margin: 0 auto ;
}

.accordion_box {
  width: 100%;
  margin: 0 0 3rem;
}

.accordion_top {
  margin: 8rem 0 3rem;
}

.accordion_headerbox {
  position: relative;
  width: 100%;
  transition: background-color 0.6s ease;
  background-color: #E4F1FB;
  border-radius: 8px;
  padding: 0;
  display: flex;
  justify-content: left;
}

.accordion_headerbox-sub {
  background-color: #F6F6F2;
}

.guest-icon {
  width: 10%;
  min-width: 90px;
  max-width: 90px;
  margin: auto 0;
  padding: 0.8rem 0 0.8rem 2rem;
}
.guest-icon img {
  width: 100%;
  height: auto;
}

.accordion_header {
  width: 90%;
  font-weight: 600;
	font-size: 1.8rem;
  line-height: 2.6rem;
  letter-spacing: 0.05rem;
  text-align: left;
  align-items: center;
  padding: 2.5rem 5.6rem 2.5rem 2rem;
  cursor: pointer;
  transition-duration: 0.2s;
}

.accordion_header:before,
.accordion_header:after {
  display: flex;
  content: '';
  background-color: var(--main-color01);
  border-radius: 10px;
  width: 25px;
  height: 3px;
  position: absolute;
  top: 50%;
  right: 3.5%;
  transform-origin: center center;
  transition: transform 0.6s;
}

.accordion_header:before {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.accordion_header.open:before {
  background-color: var(--main-color01);
  content: none;
  transition: transform 0.6s;
}
.accordion_header.open:after {
  background-color: var(--main-color01);
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  transition: transform 0.6s;
}


.accordion_header-sub:before,
.accordion_header-sub:after {
  background-color: var(--main-color01);
}

.accordion_header-sub.open:before {
  background-color: var(--main-color01);
}
.accordion_header-sub.open:after {
  background-color: var(--main-color01);
}

.accordion_inner {
  display: none;
  background-color: transparent;
  padding: 3.5rem 3rem 5rem;
}

.accordion_faq-txt {
  padding: 0;
}


@media screen and (max-width: 499px) {
  .faq-tit {
    text-align: center;
    font-size: 1.65rem;
    line-height: 2.7rem;
    padding: 3.6rem 4% 0;
  }

  .accordion_box {
    margin: 0 0 1.8rem;
  }
  .accordion_top {
    margin: 3.4rem 0 1.8rem;
  }
  .accordion_headerbox {
    height: 100%;
    padding: 0 0 0 1rem;
  }
  .guest-icon {
    min-width: 54px;
    max-width: 54px;
    padding: 1rem 0 1rem 0;
  }
  .accordion_header {
    width: 90%;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: 0;
    padding: auto 1rem auto 0;
  }
  .accordion_header:before,
  .accordion_header:after {
    width: 20px;
    right: 4%;
  }
  .accordion_inner {
    padding: 1.6rem 2rem 5rem;
  }
  .accordion_faq-txt p{
    padding: 0;
    font-size: 1.5rem;
  }
}


/********* プライバシーポリシー *********/
.priv-h2 {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin: 8rem 0 6.6rem;
  padding: 0 2rem;
  color: var(--main-color01);
}
.priv-h3 {
  margin: 6rem auto 0;
  max-width: 1080px;
}
.priv-h3 p{
  width: 100%;
  font-size: 2.4rem;
  line-height: 3.8rem;
  font-weight: 600;
  text-align: left;
  margin: 0 2rem 0 2.2rem;
  border-left: solid 6px var(--main-color01);
  padding: 0 5rem 0 2rem;
}

.priv-txt {
  max-width: 1080px;
  font-weight: 500;
  font-size: 1.6rem;
  margin: 1.6rem auto 0;
  padding: 0 2rem;
}

.priv-txt:nth-last-of-type(1) {
  margin: 1.6rem auto 10rem;
}

.priv-h2 .br{
  display: none;
}

@media screen and (max-width: 450px) {
  .priv-h2 .br{
    display: block;
  }
}

/********* お問い合わせ（共通部分） *********/
.contact-wrap {
  background-color: #FBF8EF;
  width: 100%;
  padding: 5rem 0 4.5rem;
}
.contact-wrap .flex-box {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.contact-wrap .img{
  width: 37%;
  min-width: 400px;
}
.contact-wrap .img img{
  width: 100%;
  height: auto;
}
.contact-wrap .box{
  width: 63%;
  padding: 0;
  margin: 0 1rem 0 3%;
}
.contact-wrap .tit {
  font-size: 2.4rem;
  letter-spacing: 0.1rem;
  padding: 6.1rem 0 0.8rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.contact-wrap .tit::before,
.contact-wrap .tit::after {
  content: "";
  width: 28px;
  height: 2px;
  background-color: var(--txt-color);
  margin: 4px 4px 4px;
}
.contact-wrap .tit::before {
  transform: rotate(55deg);
}
.contact-wrap .tit::after {
  transform: rotate(-55deg);
}
.contact-wrap .dis {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
  text-align: center;
}

.btn,
.header-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  color: #fff;
  background:var(--btn-color);
  transition: all 0.5s;
  padding: 1.6rem 0;
  border-radius: 100px;
}

.header-btn {
  padding: 0.77rem 3rem;
}

.btn:hover,
.header-btn:hover {
  opacity: 0.88;
}
.btn p{
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  margin: 0 0.5rem 0 0;
}

.header-btn p{
  font-size: 1.6rem;
  margin: 0 0.2rem 0 0;
}
.btn span{
  width: 22px;
  overflow: hidden;
  vertical-align: top;
  background-repeat: no-repeat;
  margin: 0.7rem 0 0 0.5rem;
}
.header-btn span{
  width: 16px;
  margin: 0.6rem 0 0 0.2rem;
}
.btn span img{
  width: 100%;
  height: auto;
}

@media screen and (max-width: 860px) {
  .contact-wrap {
    padding: 4rem 0 2rem;
  }
  .contact-wrap .flex-box {
    display: initial;
    justify-content: initial;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  .contact-wrap .img{
    min-width: 0;
    width: 100%;
    padding: 0 5rem;
  }
  .contact-wrap .box{
    width: 100%;
    padding: 0 5rem;
    margin: 0;
  }
  .contact-wrap .tit {
    padding: 3rem 0 1rem;
  }
}

@media screen and (max-width: 499px) {
  .contact-wrap {
    padding: 4rem 0 2rem;
  }
  .contact-wrap .flex-box {
    padding: 0;
  }
  .contact-wrap .img{
    padding: 0 3%;
  }
  .contact-wrap .box{
    padding: 0 3%;
  }
  .contact-wrap .tit {
    padding: 3rem 0 1rem;
  }
  .header-btn {
    padding: 0.77rem 3rem;
  }
  .btn p{
    font-size: 5.6vw;
    letter-spacing: 0.05rem;
    margin: 0 0.5rem 0 0;
  }

  .btn span{
    width: 22px;
    overflow: hidden;
    vertical-align: top;
    background-repeat: no-repeat;
    margin: 1.7% 0 0 0.5rem;
  }
  .contact-wrap .tit {
    font-size: 4.8vw;
    letter-spacing: 0.1rem;
    padding: 10% 0 1%;
  }
  .contact-wrap .dis {
    font-size: 3vw;
  }
}


/*********footer*********/
footer{
  width: 100%;
  padding: 1rem 0;
  background-color:var(--main-color01);
  color: #fff;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1% 0 2%;
}
.footer-logo {
  max-width: 210px;
  padding: 1.8rem 0 0;
}
.footer-logo img{
  width: 100%;
  height: auto;
}
.footer-nav {
  margin: 2.5rem 0 0;
  padding: 1rem 0 0;
  display: flex;
  justify-content: left;
  font-size: 1.4rem;
}

.footer-nav li {
  margin-right: 2.2rem;
  line-height: 2rem;
}
.copyright {
  display: block;
  text-align: center;
  padding: 0 2%;
  font-size: 1.1rem;
  margin: 0 auto;
}

@media screen and (max-width: 1030px) {
  .footer-logo {
    padding: 1.4rem 0 0;
  }
  .footer-nav {
    display: initial;
    justify-content: initial;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: auto;
    gap: 0.8rem;
    padding: 0;
  }
  .copyright {
    padding: 2% 2% 0;
  }
}

@media screen and (max-width: 790px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    gap: 0.8rem;
    padding: 0;
  }
}
@media screen and (max-width: 680px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    gap: 0.8rem;
    padding: 0;
  }
}
@media screen and (max-width: 550px) {
  footer{
    padding: 1rem 0 2.4rem;
  }
  .footer-logo {
    max-width: 180px;
    padding: 1.6rem 0 0;
    margin: 0 auto;
  }
  .footer-nav {

    padding: 0 0 0 3%;
    display: block;
  }
  .footer-nav li {
    margin-top: 0;
    margin-bottom: 1.6rem;
  }
}









/*==waiting==*/
.up {
  opacity: 0;
  position: relative;
}
.up {
  bottom: -40px;
}

/*==action==*/
.upstyle {
  opacity: 1;
  transition: opacity 2s ease;
  bottom: 0px;
}
.upstyle {
  bottom: 0px;
}

/*==レスポンシブ==*/
.pc {
  display: none;
}

/* スマートフォン用のスタイル */
.sp {
  display: block;
}

/* 768px以上の場合のスタイル */
@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}


