/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　philosophy
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
body {
  background-color: #ECEAE7;
}

.header_all.scrolled {
    background: rgb(236 234 231 / 80%);
}

.philosophy_wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 150px;
}

.philosophy_contents {
  margin: 0 auto 80px;
  padding: 60px 0 40px 140px;
  position: relative;
}

.philosophy_title_e {
  position: absolute;
  top: 70px;
  left: -16px;
  writing-mode: vertical-rl;
  font-family: "EB Garamond", serif;
  letter-spacing: 0.2rem;
  font-size: 80px;
  color: #D4D1CD;
}

.philosophy_title {
  text-align: left;
  font-size: 40px;
  color: #2F2F2F;
  letter-spacing: 0.2rem;
  margin: 0 auto 40px;
  padding: 0;
  font-weight: 300;
  white-space: nowrap;
}

.philosophy_title_sub {
  text-align: left;
  font-size: 20px;
  color: #2F2F2F;
  letter-spacing: 0.05rem;
  margin: 0 auto 80px;
  width: 100%;
}

.col-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.col-2_items {
}

.col-2_items_img {
  width: 40%;
}

.philosophy_txt {
  margin-bottom: 40px;
  line-height: 2;
  color: #2F2F2F;
}

.philosophy_contents .col-2_items ul {
  padding: 60px 0;
}

.philosophy_txt_ul {
  font-size: 18px;
  padding: 16px 0;
  color: #3A4C5C;
  letter-spacing: 0.1rem;
}

.philosophy_txt_li {
  font-size: 18px;
  letter-spacing: 0.05rem;
  padding: 16px 0;
  color: #2F2F2F;
  border-bottom: solid 1px #D4D1CD;
}

.philosophy_txt_li a{
    color: #2F2F2F;
    text-decoration: none;
}

.philosophy_txt_li a:hover{
    color: #a25e4b;
    transition: 0.5s;
}

.sp_img {
  display: none!important;
}




/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .philosophy_contents {
    padding: 60px 0 40px 120px;
  }

  .philosophy_title {
    font-size: 40px;
  }

  .philosophy_title_sub {
      margin: 0 auto 30px;
  }

  .col-2_items_img {
    display: none;
  }

  .sp_img {
    display: block!important;
    margin: 0 0 40px auto;
    width: 70%;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {

  .header__inner {
    background: #ECEAE7;;
  }
  .philosophy_wrapper {
      margin-top: 50px;
  }

  .philosophy_title_e {
      font-size: 60px;
              color: #d4d1cd4a;
  }

  .philosophy_contents {
    padding: 75px 0 40px 28px;
    margin: 0 auto;
  }

  .philosophy_title {
      font-size: 30px;
      margin: 0 auto 20px;
  }

  .philosophy_title_sub {
    font-size: 14px;
  }

  .philosophy_contents .col-2_items ul {
    padding: 40px 0;
  }

  .philosophy_txt_li {
    font-size: 14px;
    letter-spacing: 0;
  }

}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　section_1
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#section_1 {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 100px;
  display: block;
  text-align: left;
}

#section_1 .col-2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}

#section_1 .col-2_items {
  padding: 40px;
}

.col-2_items_img {
  width: 45%;
  margin-left: 5%;
}

.col-2_items_img img {
  display: block;
  padding: 8px 0 100px;
}


.section_1_contents {
  width: 60%;
}

.section_1_title {
  font-size: 28px;
    letter-spacing: 0.05rem;
}

.section_1_title_sub {
  font-size: 18px;
  padding-bottom: 40px;
}

.section_1_title_sub span{
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: #3A4C5C;
    margin-right: 6px;
    vertical-align: baseline;
    position: relative;
    top: -0.35em;
}


.section_1_txt {
  font-size: 16px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  letter-spacing: 0.05rem;
  padding: 20px 0 0;
  color: #2F2F2F;
}

.section_1_txt span {
  font-weight: bold;
}

.sentence-line1 {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: #2F2F2F;
    margin-right: 6px;
    vertical-align: baseline;
    position: relative;
    top: -0.35em;
}


/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .section_1_contents {
    width: 80%;
  }

  #section_1 .sp_img {
    display: block;
    width: 80%;
  }



}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  #section_1 {
      margin-top: 0;
  }
  
  #section_1 .col-2_items {
    padding: 0px;
}
    .section_1_contents {
        width: 90%;
    }
    .section_1_title {
      font-size: 20px;
      line-height: 1.5;
      padding-bottom: 10px;
    }

  .section_1_title_sub {
      font-size: 14px;
      padding-bottom: 24px;
  }
.section_1_title_sub span {
    width: 30px;
    top: -0.3em;
}

.section_1_txt span {
    font-weight: 900;
    font-family: "Gothic BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

}


  .sp_img {
      margin: 0 0 24px auto;
  }

  .section_1_txt {
      font-size: 15px;
  }



}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　section_2
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#section_2 {
  text-align: center;
  width: 100%;
  margin: 100px auto;
  display: block;
  text-align: left;
}

.section_2_box, .section_2_box p {
  color: #fff;
}

.section_2_box:nth-of-type(2) {
  background-image: url("../img/philosophy/section_2_1.webp");
  background-repeat:  no-repeat;
  background-position: center;
  background-size: cover;
    padding: 120px 80px;
}

.section_2_box:nth-of-type(3) {
  background-image: url("../img/philosophy/section_2_2.webp");
  background-repeat:  no-repeat;
  background-position: center;
  background-size: cover;
    padding: 120px 80px;
}

.section_2_box:nth-of-type(4) {
  background-image: url("../img/philosophy/section_2_3.webp");
  background-repeat:  no-repeat;
  background-position: center;
  background-size: cover;
    padding: 120px 80px;
}

.col-3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}

.col-3_items:nth-of-type(2) {
  width: 60%;
}

.section_2_index {
  font-size: 30px;
    letter-spacing: 0.05rem;
  display: flex;
  align-items: center;
  margin: 200px auto 80px;
}

.section_2_index:before,
.section_2_index:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #3A4C5C;
}

.section_2_index:before {
  margin-right: 4rem;
}

.section_2_index:after {
  margin-left: 4rem;
}

.section_2_no {
  font-size: 100px;
  border-bottom: solid 1px;
  line-height: 1;
  padding-bottom: 16px;
  text-align: center;
}

.section_2_no_sub {
  font-size: 18px;
  text-align: center;
  padding: 20px 0;
}

.section_2_title {
  font-size: 28px;
}

.section_2_txt {
  font-size: 16px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  letter-spacing: 0.05rem;
  padding: 20px 0 0;
}

.section_2_txt span {
  font-weight: bold;
}

.section_2_title_rl {
  font-size: 70px;
  writing-mode: vertical-rl;
  position: relative;
  padding: 0;
  margin: 0;
      letter-spacing: 10px;
}

.section_2_title_rl::after {
  position: absolute;
  content: "";
  background-color: #fff;
  width: 2px;
  height: 50%;
  top: 0;
  right: 10%;
}

.col-3_items_sp {
  display: none;
}



/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
.col-3_items_pc {
  display: none;
}

.col-3_items_sp {
  display: block;
}

.col-3 {
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}

.col-3_items {
  width: 25%;
  box-sizing: border-box;
}

.section_2_no {
    font-size: 80px;
}

.col-3_items_sp {
  width: 100%!important;
}

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .section_2_index {
      font-size: 18px;
      margin: 0 auto 30px;
  }

  .section_2_index:before {
      margin-right: 1rem;
  }

  .section_2_index:after {
      margin-left: 1rem;
  }

  .section_2_box:nth-of-type(2), .section_2_box:nth-of-type(3), .section_2_box:nth-of-type(4) {
      padding:88px 40px;
  }

  .section_2_box:nth-of-type(4) {
        background-position: 60% center;

}
.col-3_items {
  width: 35%;
  box-sizing: border-box;
}
.section_2_title_rl {
  font-size: 40px;
  margin-top: 12px;
  padding-left: 20px;
  letter-spacing: 6px;
  white-space: nowrap;
}
  .section_2_title {
      font-size: 24px;
      line-height: 1.8;
  }

  .section_2_txt {
    font-size: 15px
}

.section_2_txt span {
    font-weight: 900;
    font-family: "Gothic BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

}


}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　section_3
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#section_3 {
  text-align: center;
  width: 88%;
  margin: 0 auto;
  margin-top: 100px;
  display: block;
  text-align: left;
}

#section_3 .col-2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}

.section_3_title {
  font-size: 30px;
  padding-bottom: 40px;
  line-height: 1.5;
}

.section_3_txt {
  font-size: 16px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  letter-spacing: 0.05rem;
  padding: 20px 0 0;
  color: #2F2F2F;
}

.section_3_txt span {
  font-weight: bold;
}

.img_relative {
  position: relative;
}

.philosophy_img1 {
    width: 100%;
    max-width: 400px;
    height: auto;
}
.philosophy_img2 {
    width: 90% !important;
    max-width: 400px;
    height: auto;
}


.img_absolute_wrapper {
  position: absolute;
  top: 72%;
  left: -40%;
  width: 80%;
  height: auto;
  overflow: hidden; /* mask-slideinで使うため */
}

.img_absolute {
  width: 100%;
  height: auto;
  position: relative; /* absoluteではなくrelative */
}

.sp-img {
  display: none;
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .sp-img {
    display: block;
    width: 40%;
    margin: 0 0 40px auto;
  }

  .pc-img{
    display: none;
  }

  .img_absolute_wrapper {
    top: 40%;
    left: -70%;
  }
}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  #section_3 {
      width: 90%;
  }

  .section_3_title {
      font-size: 20px;
      padding-bottom: 18px;
  }

  .sp-img {
    margin: 0 0 24px auto;
  }

  .section_3_txt {
      font-size: 15px;
  }

  .section_3_txt span {
    font-weight: 900;
    font-family: "Gothic BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

}

.sentence-line1{display: none;}

}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　section_4
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#section_4 {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 100px;
  display: block;
  text-align: left;
}

#section_4 .col-2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}

.section_4_contents {
  width: 80%;
  background-color: #3A4C5C;
  margin: 0 auto;
  padding: 60px 40px;
}

.section_4_title_e {
  color: #fff;
  font-size: 15px;
  font-family: "EB Garamond", serif;
  letter-spacing: 0.2rem;
}

.section_4_title {
  font-size: 22px;
  padding-bottom: 40px;
  color: #fff;
  padding: 20px 0 60px;
}

.section_4_txt {
  font-size: 15px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  letter-spacing: 0.1rem;
  padding-left: 40px;
  color: #fff;
  border-left: solid 1px;
}

.section_4_txt span {
  font-weight: bold;
}

.hover-opacity {
  transition-property: opacity;
  transition-duration: 0.5s;
}
.hover-opacity:hover {
  opacity: 0.7;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#youtubeFrame {
  width: 560px;
  height: 315px;
}

.modal-content {
  position: relative;
  background: #000;
  padding: 1rem;
  border-radius: 8px;
  max-width: 90%;
}

.close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.hover-opacity {
  position: relative;
}

.hover-opacity:before {
  position: absolute;
  content: "";
  display: block;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid #fff;
  width: 60px;
  height: 60px;
}

.hover-opacity:after {
  position: absolute;
  content: "";
  display: block;
  top: 40%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 15px 0 15px 25px;
}

.play_movie {
  color: #fff;
  font-size: 20px;
  font-family: "EB Garamond", serif;
  letter-spacing: 0.2rem;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  #section_4 .col-2 {
      flex-direction: column;
  }

  .section_4_contents {
    width: 70%;
    padding: 60px;
  }

  .hover-opacity {
    margin: 60px auto 0
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  #section_4 {
      margin-top: 64px;
  }

  .section_4_contents {
        width: 90%;
        padding: 50px 20px;
  }

  .section_4_title {
      font-size: 18px;
      padding: 16px 0 40px;
  }

  .section_4_txt {
      font-size: 14px;
      padding-left: 32px;
  }

  #youtubeFrame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .hover-opacity:before {
    width: 50px;
    height: 50px;
  }

  .hover-opacity:after {
    border-width: 10px 0 10px 20px;
  }
      .play_movie {
        font-size: 16px;
    }

}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　footer_contact
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#footer_contact {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  margin-top: 100px;
  display: block;
  text-align: left;
}

.footer_button {
}

.footer_button a {
  display: block;
  margin: 32px auto 100px;
  padding: 80px;
  /* max-width: 320px; */
  /* width: 70%; */
  color: #3A4C5C;
  /* background-color: #3A4C5C; */
  text-decoration: none;
  transition: 0.8s;
  border: solid 1px #3A4C5C;
}

.footer_button a:hover {
  text-decoration: none;
  background-color: #fff;
  color: #3A4C5C;
  transition: 0.8s;
}

.footer_button a:hover .footer_medium,
.footer_button a:hover .footer_small,
.footer_button a:hover .footer_txt {
  color: #3A4C5C;
  transition: 0.8s;
}

.footer_button_flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
      width: 80%;
    margin: 0 auto;
}

.footer_button_flex_items {
  padding: 24px;
}

.footer_medium {
  /* color: #fff; */
  font-size: 30px;
  font-family: "EB Garamond", serif;
  letter-spacing: 0.2rem;
  font-weight: 300;
  transition: 0.8s;
}

.footer_small {
  /* color: #fff; */
  font-size: 16px;
  transition: 0.8s;
}

.footer_button a:hover.footer_medium, .footer_button a:hover.footer_small {
  color: #3A4C5C;
  transition: 0.8s;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 72px;
  height: 1px;
  margin-top: 16.3px;
      margin-left: 20px;
  border-radius: 9999px;
  background-color: #a25e4b;
}

.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 24px;
  height: 1px;
  border-radius: 9999px;
  background-color: #a25e4b;
  transform: rotate(30deg);
  transform-origin: calc(100% - 0.5px) 50%;
}

.footer_txt {
  /* color: #fff; */
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 15px;
  padding-left: 40px;
  line-height: 2;
  transition: 0.8s;
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .footer_button a {
    padding: 24px;
    width: 90%;
  }

  .arrow {

      margin-left: 0;
}

  .footer_txt {
    padding-left: 0px;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 900px) {
  #footer_contact {
    margin-top: 64px;
    width: 90%;
  }

  .footer_contact_wrapper {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .footer_medium {
    font-size: 24px;

}

.footer_small {
  font-size: 14px;
  transition: 0.8s;
}


  .footer_button a {
    padding: 24px 10px;
        margin: 32px auto 60px;
  }

  .footer_button_flex {
    flex-direction: column;
    text-align: center;
  }

  .footer_button_flex_items {
    padding: 12px;
  }

  .footer_txt {
    font-size: 14px;
  }

}
