/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　about
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/



.about_wrapper {
  width: 100%;
  margin: 0 auto;
  margin-top: 150px;
}

.about_title {
  text-align: left;
  font-size: 52px;
  font-family: "EB Garamond", serif;
  color: #2C2C2C;
    letter-spacing: 5px;
  margin: 0 auto 40px 20%;
  padding: 0;
  font-weight: 300;
}

.about_title_small {
  text-align: left;
  font-size: 20px;
  color: #2C2C2C;
  letter-spacing: 0.2rem;
  margin: 0 auto 40px 20%;
  width: 100%;
      padding-left: 0;
}

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

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

.col-2_items_title_img {
  width: 60%;
}




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

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



}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  
  .col-2 {
    flex-direction: column;
  }

  .col-2_items_title {
      width: 100%;
  }

  .col-2_items_title_img {
    width: 80%;
    margin: 0 0 0 auto;
  }

  .about_title {
    font-size: 42px;
    margin: 0 auto 16px 10%;
  }

  .about_title_small {
    font-size: 16px;
    margin: 0 auto 40px 10%;
  }

}

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

#profile img {
  display: block;
  width: 80%;
}

#profile .col-2_items {
  width: 50%;
}

.col-2_items_profile {
  display: flex;
}

.col-2_items_profile_sp {
  display: none;
}

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

.profile_title_e {
  font-size: 20px;
  font-family: "EB Garamond", serif;
    letter-spacing: 2px;
}

.profiletxt{
  padding-left: 50px;
}

.profile_title {
  font-size: 30px;
  margin-bottom: 100px;
}

.name_j {
  font-size: 20px;
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}

.name_j:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #A25E4B;
}

.profile_txt_1 {
  font-size: 18px;
  padding: 14px 0;
}

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

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

  .profile_title {
    margin-bottom: 50px;
  }


}

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

  #profile .col-2_items {
    width: 100%;
  }

  #profile img {
    width: 90%;
    margin: 0 auto 20px;
  }
.profiletxt {
   padding-left: 0;
}
  .col-2_items_profile {
    display: none;
  }

  .col-2_items_profile_sp {
    display: flex;
  }

  .profile_title_e {
    font-size: 16px;
  }

  .profile_title {
    font-size: 26px;
    margin-bottom: 40px;
    margin-top: 10px;
  }

  #profile .mask-slidein {
    overflow: inherit;
}

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

  .profile_txt_2 {
    font-size: 14px;
  }

}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　message sign
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

.about_message{
  position: relative;
  width: 80%;
  margin: 80px auto;
  background-color: #ECEAE7;
  padding: 60px 0 80px;
}

.top_about_title {
  font-size: 28px;
  padding-bottom: 12px;
  width: 85%;
    margin: 0 auto;
}

.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;
  width: 85%;
    margin: 0 auto;
}

.sign {
  position: absolute;
  bottom: 40px;
  right: 80px;
  width: 23%;
}
/* ーーーータブレットーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px) {

    .about_message {
    padding-bottom:110px;
}
  .sign {
        bottom: 20px;
        right: 60px;
        width: 30%;
}
}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .about_message {
    width: 95%;
}

.top_about_title {
  font-size: 22px;
}

.top_about_txt {
    font-size: 14.5px;
}

.sign {
        bottom: 30px;
        right: 24px;
        width: 135px;
}

}


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

.history_title_e {
  position: absolute;
  top: 0;
  left: -140px;
  writing-mode: vertical-rl;
  font-family: "EB Garamond", serif;
  letter-spacing: 0.2rem;
  font-size: 80px;
  color: rgba(212, 209, 205, 0.3);
}

.history-item-content {
  padding: 0 0 80px 80px;
  position: relative;
}

.history-item-content:before {
  position: absolute;
  background-color: #3A4C5C;
  border-radius: 1em;
  content: "";
  left: 0%;
  top: 4%;
  bottom: 10%;
  width: 1px;
  height: 100%;
}

.history-item-content:nth-of-type(4):before {
  top: -5%;
  bottom: 10%;
  width: 1px;
  height: 10%;
}

.history-item-title {
    font-size: 27px;
  position: relative;
  padding-bottom: 16px;
}

.history-item-title:before {
  content: "";
  width: 12px;
  height: 12px;
  background: #3A4C5C;
  position: absolute;
  left: -85px;
  top: 10px;
  border-radius: 100%;
}

.history-item-title span {
  color: #999999;
}

.history-item-title-sub {
  font-size: 18px;
  padding-left: 46px;
  padding-bottom: 36px;
}

.history-item-txt {
  font-size: 16px;
  padding-left: 46px;
  padding-bottom: 20px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

span.bold {
  font-weight: bold;
}

span.back {
  background-color: #3A4C5C;
  color: #fff;
  padding: 4px;
}

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

  .history_title_e {
      left: -100px;
  }

  .history-item-content {
      padding: 0 0 80px 50px;
  }

  .history-item-title:before {
    left: -56px;
  }

  .history-item-content:before {
    top: 2%;
  }

  .history-item-content:nth-of-type(4):before {
    display: none;
  }
}

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

  .history-item-content {
    padding: 0 0 80px 40px;
  }

  .history_title_e {
    left: -24px;
    top: -58px;
    writing-mode: horizontal-tb;
    font-size: 70px;
}

  .history-item-title:before {
    left: -46px;
  }

  .history-item-title {
    font-size: 20px;
  }

  .history-item-title-sub {
    font-size: 16px;
    padding-left: 5px;
    padding-bottom: 30px;
  }

  .history-item-txt {
      font-size: 14px;
      padding-left: 5px;
  }

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

}

}

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

#company img{
  width: 200%;
  transition: clip-path 1.2s cubic-bezier(.215,.61,.355,1);
 
}
@media screen and (min-width: 1500px){
  #company img{
  width: 100%;
 
}
}

.company_information {
  padding: 28px 0 0 160px;
}

.company_e {
  font-size: 20px;
  font-family: "EB Garamond", serif;
  letter-spacing: 2px;
}

.company_j {
  font-size: 30px;
  padding: 48px 0;
}


/* table01 */
.table01 {
  border-collapse: collapse;
  width: 50vw;
}

.table01 tr {
  vertical-align: baseline;
  /* border-bottom: 1px solid #C3DBE2!important; */
}

.table01 th,
.table01 td {
  padding: 16px 0;
  border: none;
  letter-spacing: 2px;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.table01 th {
  width: 20%;
  text-align: left;
  color: #999999;
  font-weight: 400;
}


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

  .table01 {
    width: 60vw;
  }

  .company_j {
    padding: 24px 0;
  }

  .table01 th, .table01 td {
    padding: 16px 0;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  #company {
      margin: 0 auto;
  }


.img-wrap {
  width: 100%;         /* 画面幅いっぱい */
  height: 200px;       /* ← 見せたい高さだけ決める */
  overflow: hidden;    /* はみ出した部分を隠す */
  position: relative;
}

.img-wrap img {
  width: 100%;         /* 横幅いっぱい */
  height: auto;        /* アスペクト比維持 */
  top: -50px;          /* ← 上を少し削りたいなら調整 */
}

#company img {
  width: 100%;
}

  .company_j {
    font-size: 22px;
  }

  .company_e {
        font-size: 16px;
        margin-left: 0px;
        margin-top: 30px;
  }

  .table01 {
    width: 85vw;
    font-size: 14.5px;
  }

  .table01 th,
  .table01 td {
    width: 100%;
    display: block;
    padding: 24px 0 8px;
  }

  .table01 th {
    width: 100%;
  }

  .table01 td {
    padding-top: 0;
  }

}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　origin-logoの由来
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#origin {
  position: relative !important;
  z-index: 2147483647 !important; /* 最上位 */
}

#origin img {
  display: block;
  max-width: 320px;
  text-align: center;
  margin: 0 auto;
}

.modal {
  display: none;
  position: fixed;
   inset: 0; /* top,left,right,bottomを0にするショートハンド */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;      /* 画面の高さの90%までに制限 */
  overflow-y: auto;      /* 内容があふれたらスクロール */
  box-sizing: border-box;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  
}

#closePopup{
    position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  
}

.btn-wrap {
  text-align: center; /* 中央寄せ */
  margin: 40px 0;
}

.link-btn {
  background: none;        
  border: none;             
  color: #3A4C5C;             
  font-size: 1rem;         
  cursor: pointer;
    font-family: YuMincho,"Hiragino Mincho ProN",serif;
  text-decoration: none;    
  border-bottom: 1px solid #3A4C5C; /* 下線だけつける */
  padding: 4px 0;       
}

.link-btn:hover {
  opacity: 0.7;             /* ホバー時ちょっと薄く */
}

/* 追加 */




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

  #origin{

  margin: 100px auto;
  }
#origin img {
 width: 75vw;

}

.modal-content {

  width: 90%;
}
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　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: 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%;
  }

  .footer_txt {
    padding-left: 0px;
  }
  .arrow {

      margin-left: 0;
}
}

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

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


  .footer_medium {
    font-size: 24px;

}


    .footer_button a {
      margin-bottom: 72px;
      width: 80%;
      text-decoration: none;
      background-color: #3A4C5C;
      color: #fff;
      transition: 0.8s;
    }
  
    .footer_medium {
      color: #fff;
    }
  
    .footer_small {
      color: #fff;
    }


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

  .footer_button_flex_items {
    padding: 12px;
  }

  .footer_txt {
    font-size: 14px;
  }

}
