@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');
body {
 font-family: 'Shippori Mincho', sans-serif;
}
p{
  line-height: 2em;
}

/* 共通 */

.sub_title{
  font-size: 12px;
  font-style: italic;
}

h1{
  background-image: linear-gradient(to top, #795a44, #d9b989);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* テキストの色を透明にする */
  font-size: 100px !important;
}

h2{
  background-image: linear-gradient(to top, #935124, #c9b088);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* テキストの色を透明にする */
  font-size: 22px !important;
}

p{
  font-size: 15px;
}

/* トップ画像 */

@media only screen and (min-width: 768px){

  .top_wrapper {
    position: relative;
  }
  
  .top_images {
    position: relative;
    margin: 0;
    overflow: hidden;
  }
  
  .slider {
    position: relative;
    width: 100vw;
    height: calc(100vh);
    display: flex;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1); 
    transition: opacity 1s ease-in-out, transform 8s ease-in-out;
  }
  
  .slider_sp{
    display: none;
  }
  
  .active {
    opacity: 1;
    transform: scale(1.1); 
  }
  
  .center_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* 追加: テキストも中央揃えにする */
  }
  
  .box_center {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  
  .bc1{
    height: auto;
  }
  
  .bc2 {
    position: relative;
    top: -50px;
    width: 430px;
    height: auto;
  }
  
  .box_scllor{
    position: relative;
  }
  
  .scllor {
    color: #fff;
    position: relative;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scllor::before {
    content: '';
    position: absolute;
    bottom: 30px; /* 文字の真上に配置するために調整 */
    left: 50%;
    transform: translateX(-50%);
    height: 200%;
    width: 1px;
    background-color: white;
  }
}


@media only screen and (max-width: 767px) {
  .top_wrapper {
    position: relative;
  }
  
  .top_images {
    position: relative;
    margin: 0;
    overflow: hidden;
  }
  
  .slider {
    display: none;
  }
  
  .slideSP {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1); 
    transition: opacity 1s ease-in-out, transform 8s ease-in-out;
  }
  
  .slider_sp{
    position: relative;
    width: 100vw;
    height: calc(100vh);
    display: flex;
  }
  
  .active {
    opacity: 1;
    transform: scale(1.1); 
  }
  
  .center_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* 追加: テキストも中央揃えにする */
  }
  
  .box_center {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  
  .bc1{
    width: 300px;
    height: auto;
  }
  
  .bc2 {
    position: relative;
    top: -20px;
    width: 320px;
    height: auto;
  }
  
  .box_scllor{
    position: relative;
  }
  
  .scllor {
    color: #fff;
    position: relative;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scllor::before {
    content: '';
    position: absolute;
    bottom: 30px; /* 文字の真上に配置するために調整 */
    left: 50%;
    transform: translateX(-50%);
    height: 200%;
    width: 1px;
    background-color: white;
  }

}


/* introdcution */

.top_introdcution {
  position: relative; /* 親要素に相対的な位置指定を行う */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('../img/top/bg.jpg');
  background-size: cover;
  background-position: center;
  color: #000000;
  padding: 60px 50px 90px 50px;
}

.top_introdcution_wrap {
  position: relative; /* 相対的な位置指定を行う */
  background-image: url('../img/deco_left.png'),url('../img/deco_right.png');
  background-repeat: no-repeat;
  background-position: left top, right bottom;
  background-size: 90px auto ,90px auto;
  background-color: #fff;
  max-width: 800px; /* 必要に応じて最大幅を指定 */
  padding: 20px 80px 20px 80px;
  border: 2px solid; /* 枠線の基本スタイル */
  /* グラデーションの設定 */
  border-image: linear-gradient(to bottom right, #9d5521, #eadcc5, #9d5521); /* グラデーションの定義 */
  border-image-slice: 1; /* グラデーションの境界を設定 */
}

.sub_title{
  margin-top: 5px;

}

.top_introdcution_wrap h2 {
  padding: 10px;
  position: relative;
}

.top_introdcution_wrap h2::after {
  content: '';
  display: block;
  border-bottom: 1px solid #c3af98;
  width: 100px;
  position: absolute;
  bottom: -5px;
  left: 50%; /* 横線を真ん中に配置 */
  transform: translateX(-50%); /* 左右中央に配置するための調整 */
}

.top_introdcution_wrap p{
  padding: 30px 0;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

.btn_center {
  position: absolute; /* 絶対的な位置指定を行う */
  bottom: 70px; /* 下端に寄せる */
  left: 50%; /* 横方向は真ん中に寄せる */
  transform: translateX(-50%); /* 左右中央に寄せる */
  background: linear-gradient(to bottom, #c3ab84, #eadcc5, #c3ab84);
  border: 1px solid #efe6d6; /* 白い線で囲む */
  box-shadow: 0 0 0 2px #c3ab84; /* 茶色の線で囲む */
  padding: 10px 30px;
}

.btn_center button{
  margin-bottom: 0.2em;
}

/* 画像 */

.images {
  width: 100%;
}

.images_ul {
  display: flex;
}

.images_ul li {
  flex: 1; /* 各li要素が均等に幅を取るようにする */
}

.images_ul li img {
  width: 100%; /* 画像を親要素（li）の幅に合わせる */
  height: auto; /* アスペクト比を維持して画像の高さを調整する */
  display: block; /* インライン要素としての余白をなくす */
}

/* メインコンテンツ */
.wrapper_content{
  padding: 80px 0;
}

.main_content{
  background-image: url('../img/top/bg.jpg');
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
}

.content_area{
  background-color: #f3ede8;
}

.content_area:nth-child(even){
  display: flex;
  flex-direction: row-reverse; /*左右入れ替え*/
}
  
.content_area:nth-child(odd){
    display: flex;
     }

@media(max-width : 750px ){
    .content_area:nth-child(odd){
     display: block;
     }
    .content_area:nth-child(even){
     display: block;
     }
}

.big_title{
  bottom: 260px;
  padding-bottom: 10px;
  border-bottom: 1px solid #816b48; /* 線の色や太さを調整する場合は適宜変更してください */
  display: inline-block; /* インライン要素にブロック要素のプロパティを適用するために必要です */
  font-style: italic;
}

.parent-container {
  width: 50%;
  overflow: hidden; /* 親要素からはみ出た部分を隠す */
}

.content_img {
  width: 100%; /* 親要素いっぱいに広がるようにする */
  height: 100%; /* 親要素いっぱいに広がるようにする */
  display: flex;
  justify-content: center;
  align-items: center;
}

.content_img img{
  object-fit: cover; /* 画像を親要素いっぱいに隙間なくクリッピング */
  width: 100%;
  height: 100%;
}

.content_text1{
display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  width: 50%;
  padding: 30px 30px 70px 30px;
}

.content_text2{
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  width: 50%;
  padding: 30px 30px 70px 30px;
}

.content_text1 p,.content_text2 p{
  padding: 30px 0 0 0;
}

.child_group{
  width: 90%;
  display: flex;
  flex-direction: column; /* 子要素を縦に配置 */
}

.childcontent{
  margin: 10px; /* 子要素の間隔 */
}

.content_btn{
  text-align: center;
  padding: 10px;
  background: linear-gradient(to bottom right, #c3af96, #e1d2c0, #c3af96);
  border: 1px solid #efe6d6; /* 白い線で囲む */
  box-shadow: 0 0 0 2px #c3af96; /* 茶色の線で囲む */
  margin-top: 50px;
  width: 200px;
}

/* メニューバー */

.menu_bar{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  letter-spacing: 1px;
  display: flex;
  text-align: center;
  justify-content: center;
  background-image: url(../img/top/bg3.jpg);
  margin: 80px 0;
}

.menu_bar a{
  color: white;
}

.tel,
.contact {
  width: 300px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 10px; /* 適切な間隔を設定 */
  border: 1px solid #ffffff;
}

.tel_inner{
  background: url("../img/ico_tel.png") left center no-repeat;
  padding-left: 34px;  /* アイコンの分の余白 */
  line-height: 0.8;
  background-size: 25px;
}

.subtel{
  font-size: 0.5em;
}

.contact_inner {
  font-size: 22px;
  background: url("../img/ico_contact.png") left center no-repeat;
  padding-left: 40px;  /* アイコンの分の余白 */
  display: block;
  margin: auto;
  background-size: 33px;
}

/* サブコンテンツ */

.sub_content{
  background-color: #f7f4f3;
  padding: 50px 0;
}

.mini_title{
  font-size: 25px !important;
}

.content_area2 {
  position: relative; /* 相対位置指定 */
  margin-bottom: 50px;
}
.content_area2:nth-child(even){
  display: flex;
  flex-direction: row-reverse; /*左右入れ替え*/
}

.content_area2:nth-child(odd){
  display: flex;
}

@media(max-width : 750px ){
  .content_area2:nth-child(odd){
   display: block;
   }
   .content_area2:nth-child(even){
   display: block;
   }
}

.subcontent_img {
  position: relative; /* 相対位置指定 */
  height: 400px;
  width: calc(60% - 20px); /* 右側に20pxのマージンを持つように幅を調整 */
}

.subcontent_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.parent_system, .parent_about {
  text-align: center;
  position: absolute;
  background-image: url('../img/deco_left.png'),url('../img/deco_right.png');
  background-repeat: no-repeat;
  background-position: left top, right bottom;
  background-size: 60px auto ,60px auto;
  top: 0;
  width: 500px;
  transform: translateY(40%);
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.5);
  display: flex; /* flexコンテナに変更 */
  flex-direction: column; /* 垂直方向に配置 */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 中央揃え */
}

.parent_system{
  left: calc(50%)
}

.parent_about{
  left: calc(20%);
}

@media(max-width : 1070px ){
  .parent_system{
    left: calc(35%)
  }
  
  .parent_about{
    left: calc(5%);
  }
}

.content_area2 p{
  padding-top: 10px;
}

.content_btn2{
  text-align: center;
  padding: 10px;
  background: linear-gradient(to bottom right, #c3af96, #e1d2c0, #c3af96);
  border: 1px solid #efe6d6; /* 白い線で囲む */
  box-shadow: 0 0 0 2px #c3af96; /* 茶色の線で囲む */
  margin: 20px 0 10px 0;
  width: 200px;
}

/* アクセス */
h3{
  color: #af9976;
  padding-top: 20px;
}

.parent_access {
  display: flex; /* flexコンテナに変更 */
  flex-direction: column; /* 垂直方向に配置 */
  align-items: center; /* 横方向に中央揃え */
  text-align: center;
  padding: 50px 0 80px 0;
  background-image: url(../img/top/bg2.jpg);
}

.access_text {
  margin-bottom: 20px; /* .content_btn との間に余白を追加 */
}

.access_text h2{
  font-size: 40px !important;
  font-weight: 600;
  padding: 10px;
}

.access_btn{
  text-align: center;
  padding: 20px;
  background: linear-gradient(to bottom, #835227, #b69054, #835227);
  border: 2px solid #9d5521; /* 白い線で囲む */
  margin: 20px 0 10px 0;
  width: 300px;
  border-radius: 80px; /* 角丸の半径を指定 */
}

.access_tel{
  background: -webkit-linear-gradient(#f7f3ed, #e2c79b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.access_tel_inner{
  background: url("../img/ico_tel_grd.png") left center no-repeat;
  background-size: 20px;
  padding-left: 30px;  /* アイコンの分の余白 */
  line-height: 0.8;
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.access_subtel{
  font-size: 0.5em;
  color: #fff !important;
}

.map {
  position: relative;
  width: 100%;
  height: 50vh; /* ビューポートの高さいっぱいに広げる */
  overflow: hidden; /* 不要なスクロールを防止 */
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; /* 枠線を非表示 */
}

/* タブレット */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  
  h1 {
    font-size: 80px !important;
  }
  
  .content_text1,.content_text2 {
    padding: 0px 0px 50px 10px;
  }

  .content_text1 p, .content_text2 p {
    padding: 10px 0 0 0;
  }

  .content_btn {
    margin-top: 17px;
    width: 200px;
  }

  .menu_bar{
    margin: 0;
  }

  .parent_system {
    left: calc(32%);
  }

  .map {
    height: 30vh;
  }
}


/* スマホ */
@media only screen and (max-width: 767px) {
  .top_introdcution{
    padding: 30px 10px 45px 10px;
  }

  .top_introdcution_wrap {
    background-size: 60px auto ,60px auto;
    padding: 20px 20px 20px 20px;
  }

  .top_introdcution_wrap h2 {
    padding: 25px;
  }

  .sub_title {
    font-size: 15px;
  }

  .top_introdcution_wrap p {
    padding: 20px 0 70px 0;
    line-height: 1.8;
    letter-spacing: 0;
    font-size: 13px;
  }

  .btn_center {
    bottom: 75px;
    padding: 10px 20px;
    width: 200px;
  }

  .wrapper_content {
    padding: 50px 0;
  }

  .parent-container {
    width: 100%;  
    overflow: hidden;
  }

  .content_text1, .content_text2 {
    width: 100%;
  }

  h1 {
    text-align: center;
    font-size: 70px !important;
    padding-right: 5px;
  }

  .childcontent {
    margin: 0px;
  }

  .content_text1,.content_text2 {
    padding: 10px 10px 20px 10px;
  }

  .content_text1 p, .content_text2 p {
    padding: 20px 0 0 0;
  }


  .content_btn {
    margin: 30px 0 25px auto;
    text-align: center;
  }

  .big_title{
    padding-bottom: 20px;
  }
  

  .menu_bar{
    display: block;
    padding:10px 0;
    margin: 0;
    text-align: center;
  }
  .tel,
  .contact {
    width: 300px;
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    margin: 20px auto; /* 上下の余白を持つために左右をautoに設定 */
    border: 1px solid #ffffff;
  }

  .tel_inner,
  .contact_inner {
    display: inline-block; /* インラインブロック要素に変更 */
    vertical-align: middle; /* 子要素の垂直方向の中央揃え */
  }

  .subcontent_img{
    width: 80%;
    height: auto;
  }

  .parent_system, .parent_about {
    position: absolute;
    background-color: rgba(255, 255, 255, 1.0);
    top: 50px;
    left: 50px;
    max-width: calc(100% - 70px);
    z-index: 1;
  }
    .mini_title {
      font-size: 20px !important;
      font-weight: bold;
    }

    .content_area2 {
      margin-bottom: 230px;
  }

  .access_text{
    width: 80%;
  }

}