/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　共通部分
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
html {
  scroll-behavior: smooth;
}



.m-anime_arrow {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.m-anime_line {
    position: relative;
    overflow: hidden;
}

.m-anime_arrow::before, .m-anime_arrow::after {
    background-color: #477b99 !important;
}

.m-anime_line:before {
    opacity: 1;
    -webkit-transform: translateX(102%);
    transform: translateX(102%);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transition: -webkit-transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.m-anime_line:before, .m-anime_line:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.m-anime_arrow>i {
    width: 3.75vw;
    height: 3.75vw;
    margin-left: 1.19792vw;
}

.m-anime_arrow>i {
    position: relative;
    line-height: 1;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
}

.m-anime_arrow>i::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #898989;
    background-color: transparent;
    -webkit-transition: border-color 0.3s, background-color 0.3s;
    transition: border-color 0.3s, background-color 0.3s;
    content: '';
}

.m-anime_arrow>i::before, .m-anime_arrow>i::after {
    position: absolute;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.m-anime_arrow>i::after {
    top: 50%;
    left: 50%;
    color: #898989;
    -webkit-transform: scaleY(1.4) translate(-40%, -40%);
    transform: scaleY(1.4) translate(-40%, -40%);
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    content: '>';
}

.m-anime_line:after {
    -webkit-transform: translateX(-102%);
    transform: translateX(-102%);
    -webkit-transition: none;
    transition: none;
}

.no-touchevents .m-anime_arrow:hover, .no-touchevents a:hover .m-anime_arrow {
    color: #477b99 !important;
}


/* ボタン */
/* 全体リンクエリア */
.cta-line {
  display: inline-block;
  text-decoration: none;
  color: #3A4C5C;
  /* font-family: "Yu Gothic", YuGothic, sans-serif; */
  font-size: 16px;
  position: relative;
}

/* テキストとアイコンのセット */
.cta-content {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  position: relative;
  padding-bottom: 12px;
}

/* 下線アニメーション（テキスト＋アイコン全体に適用） */
.cta-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #BC4B2C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.cta-line:hover::after {
  transform: scaleX(1);
}

/* 丸アイコン */
.circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #A25E4B;
  position: relative;
  transition: background-color 0.3s ease;
}

.circle-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 46%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

/* ホバー時：丸の色を反転 */
.cta-line:hover {
  color: #BC4B2C;
}

.cta-line:hover .circle-arrow {
  background-color: #BC4B2C;
}

.cta-line:hover .circle-arrow::before {
  border-color: #A25E4B;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.cta-container {
  text-align: right;
  margin-top: 40px;
}

@media screen and (max-width: 520px) {
  .cta-line {
  font-size: 14px;
}
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　top_mv
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*
  .mainvisual-sp {
     display: none;
   } */

#mainvisual {
 width: 100vw;
 position: relative;
}

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

/* 複数画像切り替え---------------------------------------------- */
.slider-container {
   position: relative; /* コンテナ内でスライド位置を相対的に設定 */
   width: 100%; /* コンテナ幅を100%に */
   height: calc(100vh - 62px); /* コンテナの高さを固定 */
   overflow: hidden; /* スライドがコンテナ外に出ないように非表示 */
   margin-top: 63px;
}

/*画像の配置*/
.slideimg {
   position: absolute; /* 位置を絶対指定で重ねて配置 */
   inset: 0; /*親要素内にフルサイズで配置*/
   opacity: 0; /* 初期状態で透明に */
   background-size: cover; /* 画像をスライド全体にカバー */
   animation: slideAnime 20s infinite; /* 1サイクル15秒を無限ループ */
}

/* スライド個別設定 */
.slideimg:nth-of-type(1) { background-image: url("../img/top/top_mv_1.webp"); animation-delay: 0s; background-position: 65%; }
.slideimg:nth-of-type(2) { background-image: url("../img/top/top_mv_2.webp"); animation-delay: 5s; background-position: 30%; }
.slideimg:nth-of-type(3) { background-image: url("../img/top/top_mv_3.webp"); animation-delay: 10s; background-position: center; }
.slideimg:nth-of-type(4) { background-image: url("../img/top/top_mv_4.webp"); animation-delay: 15s; background-position: center; }
/*タイミング設定*/
@keyframes slideAnime {
   0%, 40%, 100% { opacity: 0; } /* 非表示のタイミング */
   15%, 25% { opacity: 1; } /* 表示されるタイミング */
}


.hero-text p,
.hero-text span {
  transition: color 1s ease; 
}

.hero-text.white-text p,
.hero-text.white-text span {
  color: #fff !important;
}

/* スクロールダウンの位置 */
.scroll {
  position: relative;
  writing-mode: vertical-rl;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 16px 10px;
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 4s infinite;
  background-color: #3A4C5C;
  top: -110px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
  z-index: 2;
}
/* 線の背景色 */
.scroll::after {
  background-color: #ccc;
  top: -110px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.hero-text {
  position: absolute;
  left: 10%;
  top: 36%;
}

.hero-text_p {
  display: flex;
  overflow: hidden;
  justify-content: center;
  text-align: center;
}

.hero-text_p_1 p {
  font-size: 28px;
}

.hero-text_p_2 p {
  font-size: 32px;
  margin: 0 0 24px;
}

.hero-text_p_3 p {
  font-size: 19px;
  color: #4D4D4D;
}

.hero-text_p p {
  opacity: 0;
}

.hero-text_p p.animate {
  animation: textanimation 1.5s forwards;
}

/* 3行目用：pタグ単位で下からふわっと */
.hero-text_p_3 p {
  opacity: 0;
  transform: translateY(20px);
}

.hero-text_p_3 p.animate {
  animation: fadeUp 1s forwards;
}

@keyframes textanimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



 /* ーーーータブレットーーーーーーーーーーーーーーーーーー */
 @media screen and (max-width: 1024px){
  .slider-container {
    height: calc(90vh - 66px);
    margin-top: 72px;
}

}
@media screen and (max-width: 900px) {

    .slideimg:nth-of-type(2) { 
    background-position: 52% center; }
      .slideimg:nth-of-type(3) { 
    background-position: 70% center; }
    
  .hero-text {
  left: 13%;
  top: inherit;
  bottom: 10%;

}
  .hero-text_p {
    justify-content: flex-start;
    text-align: left;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  }

  .hero-text_p_1 p {
    /* font-size: 20px; */
    color: #fff;
  }

  .hero-text_p_2 p {
    /* font-size: 24px; */
        color: #fff;
            margin: 0px 0 24px;
  }


  .hero-text_p_3 p {
    /* font-size: 16px; */
        color: #fff;
  }

.hero-text.custom-color p {
  color: #3A4C5C !important;
  text-shadow: none!important;
}

}


/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .slideimg:nth-of-type(2) { 
    background-position: 52% center; }
      .slideimg:nth-of-type(3) { 
    background-position: 70% center; }

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

  .slider-container {
    height: calc(80vh - 66px);
    margin-top: 72px;
}
  .scroll {
    font-size: 10px;
    padding: 16px 5px;
}
.hero-text {
  left: 13%;
  top: inherit;
  bottom: 6%;

}
  .hero-text_p {
    justify-content: flex-start;
    text-align: left;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.8);
  }

  .hero-text_p_1 p {
    font-size: 18px;
        /* color: #fff; */
  }

  .hero-text_p_2 p {
    font-size: 20px;
        /* color: #fff; */
            margin: 0px 0 24px;
  }


  .hero-text_p_3 p {
    font-size: 13px;
        /* color: #fff; */
  }
}


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

.top_philosophy_title_all{
    width: 70%;
      margin: 100px auto 0;
}

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

.top_philosophy_contents {
  width: 70%;
  margin: 100px auto;
}

.top_philosophy_e {
  font-size: 20px;
  font-family: "EB Garamond", serif;
  position: relative;
  margin-bottom: 20px;
  letter-spacing: 0.2rem;
}

.top_philosophy_e:after {
  position: absolute;
  content: "";
  width: 100px;
  height: 1px;
  top: 50%;
  left: 32%;
  background-color: #3A4C5C;
}


.top_philosophy_title {
  font-size: 28px;
  padding-bottom: 40px;
      white-space: nowrap;
}

.emphasis {
  font-size:40px;
}

.top_philosophy_txt {
  font-size: 18px;
  letter-spacing: 0.1rem;
  padding: 20px 0 0;
}

.beforeglow-line {
    display: -webkit-inline-box;
    width: 40px;
    height: 1px;
    background-color: #3A4C5C;
    margin-right: 10px;
    position: relative;
    top: -.3em;
}

.top_philosophy_img {
    width: 80%;
    max-width: 400px;
    height: auto;
    padding-left: 80px;
    padding-bottom: 80px;
}

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

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

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

.interview_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;
}

.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;
  /* display: block;
  text-decoration: none; */
}

.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%);
}

.sp-img {
  display: none;
}

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

  .pc-img {
    display: none;
  }

  #top_philosophy .col-2 {
    align-items: flex-start;
    flex-direction: column;
  }

  .interview_contents {
    padding: 60px 40px 60px 80px;
    width: 70%;
  }

  .hover-opacity {
      margin: 40px 0 0;
  }

}
@media screen and (max-width: 800px) {
  .top_philosophy_title {
    white-space: wrap;
    font-size: 24px;
  }

  .emphasis {
    font-size: 28px;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  
  .interview_txt {
    font-size: 14px;
      font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

    /* font-family: 'Noto Sans JP', "Yu Gothic", YuGothic, sans-serif; */
  }

  .top_philosophy_contents {
    width: 85%;
    margin: 80px auto;
  }

  .top_philosophy_e {
    font-size: 16px;
    margin-bottom: 16px;
  }


  .top_philosophy_e:after {
    width: 80px;
    left: 50%;
  }

  .top_philosophy_title {
    font-size: 17.4px;
    padding-bottom: 16px;
  }

  .top_philosophy_txt {
    font-size: 16px;
    padding: 16px 0 0;
  }

  .emphasis {
    font-size: 22px;
  }

  .interview_contents {
        padding: 40px 20px 40px 24px;
        width: 82%;
  }

  .interview_title {
    font-size: 17px;
    padding: 20px 0 48px;
  }

  .interview_txt {
    padding-left: 20px;
  }

  .play_movie {
    font-size: 16px;
  }

  .hover-opacity:before {
    width: 50px;
    height: 50px;
  }

  .hover-opacity:after {
    border-width: 10px 0 10px 20px;
  }

  #youtubeFrame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　top_about
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#top_about {
  margin: 150px auto 100px;
}

.top_about_wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

#top_about .col-2 {
  display: flex;
  justify-content: flex-start; 
  margin-right: 30px;
}

.col-2_items {
  /* padding: 20px; */
}

.col-2_items_profile {
  display: flex;
  align-items: flex-start;
  width: 40%;
  padding-right: 80px;
}

.col-2_items_profile_contents {
  display: block;
}

.name_j {
  font-size: 26px;
  padding-left: 30px;
  padding-top: 10px;
}

.position {
  font-size: 14px;
    padding-left: 30px;
}

/* .top_about_contents {
  width: 70%;
  margin: 100px auto;
} */

.name_e {
  writing-mode: vertical-rl;
  font-family: "EB Garamond", serif;
  font-size: 26px;
  letter-spacing: 3px;
}

.top_about_title_e {
  font-size: 20px;
  font-family: "EB Garamond", serif;
  position: relative;
  margin-bottom: 20px;
      letter-spacing: 2px;
}

.top_about_title_e:after {
  position: absolute;
  content: "";
  width: 100px;
  height: 1px;
  top: 50%;
  left: 20%;
  background-color: #3A4C5C;
}


.top_about_title {
  font-size: 28px;
  padding-bottom: 40px;
}

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

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


.example {
  width: 80%;
  margin: 80px auto;
  padding: 20px 20px 20px 0;
  border: solid 1px #3A4C5C;
}

.example_box {
  display: flex!important;
  justify-content: space-around!important;
  align-items: center;
}

.example_box_item1 {
  width: 20%;
  padding: 80px 60px 80px 0;
  text-align: center;
  border-right: solid 1px #3A4C5C;
}
.example_ul {
  padding-left: 0;
}

.example_ul li {
  padding: 8px;
  position: relative;
    padding-left: 1.5em; /* ●と本文の間 */
  line-height: 1.8;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

}

.example_ul li span{
font-weight: bold;
}

.example_ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 8px;
  color: #3A4C5C; /* 色調整OK */
}

.sp-p {
  display: none;
}

@media screen and (max-width: 1300px){
  .example_box_item1 {
    padding: 80px 10px 80px 0;
}
.example_ul {
    padding-left: 50px;
}
.example_ul li span {
    font-weight: 900;
    font-family: "Gothic BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
}

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

  /* #top_about .col-2 {
    flex-direction: column-reverse;
  } */


  #top_about .col-2 {
    flex-direction: column;
    margin-right: auto;
  }

  .pc-p {
    display: none;
  }

  .sp-p {
    display: block;
  }

  .col-2_items_profile {
    padding-right: 0px;
    width: 65%;
            margin-bottom: 40px;
}


  .example {
    width:88%;
  }

  .example_box {
    flex-direction: row!important;
  }

  .example_box_item1 {
    padding: 80px 24px;
  }

  .example_ul {
    padding: 0 0 0 20px;
  }

  .name_j {
  padding-left: 0px;
}

.position {
    padding-left: 0;
}

}

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

#top_about {
    margin:100px auto;
}

    .top_about_wrapper {
    width: 88%;
  }
  /* .top_about_txt {
    font-family: 'Noto Sans JP', "Yu Gothic", YuGothic, sans-serif;
} */



  .col-2_items_profile {
    margin-top: 0px;
    margin-bottom: 40px;
    width: 95%;
  }

  .position {
    font-size: 13px;
}

  .top_about_title_e {
      font-size: 16px;
      margin-bottom: 16px;
  }

  .top_about_title_e:after {
    width: 80px;
    left: 26%;
  }

  .top_about_title {
    font-size: 20px;
    padding-bottom: 16px;
  }

  .top_about_txt {
    font-size: 15px;
    padding: 16px 0 0;
  }

  .example {
    width: auto;
    padding: 10px 0;
  }
  .example_ul {
    padding: 0 ;
  }
  
  .example_ul li {
    font-size: 14px;
}

  .example_box {
      display: block!important;
          width: 90%;
    margin: 0 auto;
  }

  .example_box_item1 {
    display: inline-block;
    padding: 20px 12px 10px;
    text-align: left;
    width: auto;
    border-right: none;
    border-bottom: solid 1px #3A4C5C;
    margin-left: 14px;
  }







}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　top_service
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#top_service {
  margin-top: 160px;
  background-image: url("../img/top/top_service_bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: left;
  padding: 100px 0px 90px;
}

@media screen and (min-width: 1500px){
  #top_service {

  padding: 100px 80px 160px;
}
  
}

.top_service_content {
  width: 90%;
  margin: 0 auto;
}

.top_service_title_e {
  font-size: 20px;
  font-family: "EB Garamond", serif;
  color: #fff;
  margin-bottom: 30px;
  letter-spacing: 0.2rem;
}

.top_service_title {
  font-size: 35px;
  color: #fff;
}

.top_service_txt {
  font-size: 16px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: #fff;
  margin: 40px 0 60px;
}

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

.card_items {
  background-color: #EEEEEF;
  padding: 20px 32px;
  width: 40%;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.card_title_e {
  font-size: 12px;
  font-family: "EB Garamond", serif;
  margin: 16px 0 0;
  letter-spacing: 0.1rem;
  border-top: solid 1px #3A4C5C;
  padding: 8px 20px 0;
}

.card_title {
  font-size: 26px;
  padding: 20px 20px 16px;
}

.card_txt {
  font-size: 15px;
  line-height: 1.6;
  border-bottom: dashed 1px #3A4C5C;
  padding: 0 20px 36px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

}

.card_items ul {
  padding: 20px 20px 80px;
  border-bottom: solid 1px #3A4C5C;
  line-height: 2.4;
}

#top_service .cta-line {
  color: #fff;
}



/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  #top_service {
    margin-top: 0;
    padding: 60px 60px 80px;
  }

  .top_service_content {
    width: 90%;
    margin-bottom: 40px;
  }

  .col-2-card {
    display: block;
  }


  .card_items {
    width: 100%;
    margin-bottom: 30px;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  #top_service {
    margin-top: 0;
    padding: 72px 20px 40px;
  }



  .top_service_content {
    width: 100%;
  }

  .top_service_title_e {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .top_service_title {
    font-size: 28px;
  }

  .top_service_txt {
    font-size: 15px;
    /* font-family: 'Noto Sans JP', "Yu Gothic", YuGothic, sans-serif; */

    margin: 30px 0 40px;
  }

  .col-2-card {
    display: block;
    width: 90%;
  }

  .card_title_e {
    padding: 8px 12px 0;
  }

  .card_title {
    font-size: 20px;
    padding: 20px 12px 16px;
  }

  .card_txt {
    font-size: 14px;
    padding: 0 12px 28px;
  }

  .card_items {
    width: 95%;
    margin-bottom: 30px;
    padding: 20px;
  }

  .card_items ul {
    padding: 20px 0 60px;
    line-height: 2;
    font-size: 14px;
  }

}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#impression {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 2.5rem 0 1rem;
    text-align: center;
}

.impression_contents {
  padding: 60px 0 100px;
}

.impression_title_e {
  font-family: "EB Garamond", serif;
  font-size: 14px;
  color: #2B2B2B;
}

.impression_title_e b {
    display: inline-block;
    /* letter-spacing: -0.06em; */
    /* font-size: 80px; */
    /* font-family: "Zen Old Mincho", serif;
    font-weight: 700; */
    width: 80px;
        margin-bottom: 12px;
}

.impression_title {
  font-size: 26px;
  margin: 40px 0;
  letter-spacing: 0.1rem;
  color: #2B2B2B;
}

.impression_contents p {
  font-size: 16px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

  color: #2B2B2B;
}

.impression_image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    /* z-index: -1; */
    /* pointer-events: none; */
    height: 1000px;
    /* transform: translate3d(0, 0, 0);
    perspective: 2000px;
    perspective-origin: 50% 50%;
    overflow: hidden; */
}

.impression_image>li:nth-child(1) {
    transform: translate3d(0, 0, 15px);
}

.impression_image>li:nth-child(1) {
    width: 20.2rem;
    /* height: 29.9rem; */
    left: 0;
    top: 0;
}

.impression_image>li:nth-child(2) {
    transform: translate3d(0, 0, 20px);
}

.impression_image>li:nth-child(2) {
    width: 12.5rem;
    /* height: 32.7rem; */
    left: 13.9rem;
    top: 16rem;
    z-index: -1;
}

.impression_image>li:nth-child(3) {
    transform: translate3d(0, 0, 17px);
}

.impression_image>li:nth-child(3) {
    width: 15.8rem;
    /* height: 30.4rem; */
    right: 0;
    top: 0;
}

.impression_image>li:nth-child(4) {
    transform: translate3d(0, 0, 21px);
}

.impression_image>li:nth-child(4) {
    width: 16.4rem;
    /* height: 28.4rem; */
    right: 4.5rem;
    top: 14rem;
    z-index: -1;
}

.impression_image>li {
    position: absolute;
    z-index: -2;
    overflow: hidden;
    transform-style: preserve-3d;
}

.entries {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.entry {
    /* counter-increment: entry; */
    /* flex: 0 1; */
    flex-basis: calc(33.3333% - .6rem);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    max-width: calc(33.3333% - .6rem);
    position: relative;
    box-sizing: border-box;
    margin: .6rem .3rem 0;
    padding: 45px 20px 40px;
    background: #fff;
    border: solid 1px #D1D1D2;
}

.card {
  font-size: 16px;
  color: #2C2C2C;
  margin-bottom: 20px;
}

.entry small {
  font-size: 14px;
  color: #B9B9B9;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

}

@media screen and (max-width: 1300px){

  .impression_image>li:nth-child(1) {
      width: 14.2rem;
  }

  .impression_image>li:nth-child(2) {
    width: 10.5rem;
    left: 6.9rem;
    top: 11rem;
  }

  .impression_image>li:nth-child(3) {
    width: 10.8rem;
  }

  .impression_image>li:nth-child(4) {
    width: 14.4rem;
    right: 1.5rem;
    top: 10rem;
  }
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */

@media screen and (max-width: 1200px){
#impression {
    padding: 2.5rem 0 6rem;
}
  .impression_contents {
    padding: 60px 0 40px;
  }

  /* .impression_contents p {
    font-family: 'Noto Sans JP', "Yu Gothic", YuGothic, sans-serif;

} */

  .impression_image>li:nth-child(1) {
      width: 8.2rem;
  }

  .impression_image>li:nth-child(2) {
        width: 5.5rem;
        left: 5.9rem;
        top: 3.8rem;}


  .impression_image>li:nth-child(3) {
    width: 6.8rem;
        top: 3rem;
        z-index: 10;
  }

  .impression_image>li:nth-child(4) {
        width: 6.4rem;
        right: 4.5rem;
        top: 0rem;
  }
  .entries {
    justify-content: space-between;
  }

  .entry {
      flex-basis: calc(50% - 0.6rem);
      max-width: calc(50% - 0.6rem);
      padding: 4.2rem 3rem;
  }

  /* .entry small {
    font-family: 'Noto Sans JP', "Yu Gothic", YuGothic, sans-serif;

} */


}

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



  .impression_image>li:nth-child(1) {
      width: 8.2rem;
  }

  .impression_image>li:nth-child(2) {
        width: 5.5rem;
        left: 5.9rem;
        top: 3.8rem;}


  .impression_image>li:nth-child(3) {
    width: 6.8rem;
        top: 3rem;
        z-index: 10;
  }

  .impression_image>li:nth-child(4) {
        width: 6.4rem;
        right: 4.5rem;
        top: 0rem;
  }

  .impression_title {
    font-size: 22px;
    margin: 36px 0;
  }

    .impression_contents {
        padding: 170px 0 40px;
    }

    .impression_title_e b {
    width: 56px;
}

  .impression_contents p {
    font-size: 14px;
  }

  .entries {
    width: 98%;
  }

  .entry {
    margin: .4rem .2rem 0;
    padding: 1.8rem 0.4rem;
    flex-basis: calc(50% - 0.4rem);
    max-width: calc(50% - 0.4rem);
            min-height: 144px;
  }

  .card {
      font-size: 13.5px;
      margin-bottom: 16px;
  }

  .entry small {
    font-size: 12px;
}

}



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



.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: #3A4C5C;
  color: #fff;
  transition: 0.8s;
}

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

.footer_button_flex {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.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;
  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%;
  }

  .footer_txt {
    padding-left: 0px;
  }

}

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

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

.footer_medium {
  color: #fff;
}

.footer_small {
  color: #fff;
}

    .footer_button a {
      width: 88%;
      margin: 72px auto;
      text-decoration: none;
      background-color: #3A4C5C;
      color: #fff;
      transition: 0.8s;
      padding: 24px 10px;
    }

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

  .footer_button_flex_items {
    padding: 12px;
  }

  .footer_txt {
    font-size: 14px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

  }

}
