@charset "utf-8";
/* CSS Document */
.wrapper {
  max-width: 90%;
}



/* ============768pxの時だけのスタイル=============== */
@media (max-width: 767px) {
  .entry-button {
    padding: 7px 7px;
    margin-right: 0; /* ハンバーガーとの間隔 */
    font-size: 1rem;
  }
}
/*============Mainevisual==================*/
.mv {
  position: relative;
}

.mv-img{
  width: 100%;
}

.mv-text {
  position: absolute;
  top: 75%;
  left: 40%;
  font-size: 6.4rem;
  font-weight: 700;
  color: var(--primary-red);
  font-family: 'Bruno Ace SC';
}

.mv-text {
  position: absolute;
  top: 80%;
  left: 40%;
  transform: translate(-50%, -50%); /* 初期位置（中央） */
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示時に左から右へスライドイン（X方向だけアニメーション） */
.mv-text.show {
  opacity: 1;
  transform: translate(-50%, -50%) translateX(50px); /* ← +X方向にスライド */
}
@media (max-width: 960px) {
  .mv-text {
    font-size: 3vw; /* ←スマホの画面幅に対して可変サイズ */
    white-space: nowrap; /* ←改行を防ぐ */
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    max-width: 100%;
  }

  .mv-text.show {
    transform: translate(-3%, -80%);
  }
}
/*============Mainevisual_sh===================*/
@media (max-width:960px) {
  .mv-text {
    font-size: 2rem;
    left: 5%;
  }
}

/*============recruit===================*/
.recruit_section{
  margin: 100px auto 0;
  text-align: center;
  position: relative;
  padding: 40px 10px 40px;
  border: solid 2px var(--primary-red);
  width: 80%;
}
.recruit_label {
  font-size: 3rem;
  color: var(--primary-red);
  font-weight: bold;
  position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    background: #FFF;
    font-weight: bold;
}

.recruit_message{
  display: inline-block;
  margin: 0 auto;
  text-align: left;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-top: 20px;
}
.image-button-single{
  padding-top: 20px;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  transition: inherit;
  margin: 0 auto;
}
@media (max-width:960px) {
  .recruit_section{
    width: 85%;
    padding: 10px 5px 10px;
  }
  .recruit_label{
    font-size: 1.8rem;
  }
  .recruit_message{
    font-size: 1.4rem;
  }
}

/*====================concept================*/
#concept {
  margin: 150px 100px 0 100px;
  padding: 0 4%;
  display: flex;
  justify-content: space-around;
}
.concept_photo {
  margin: auto 0;
}
.concept_lead {
  padding-left: 4%;
}
.concept_lead img {
  width: 50%;
  justify-content: center;
}
.concept_lead p {
  padding: 30px 0px 0px 0px;
  font-size: 1.7rem;
  line-height: 2.4;
  display: inline-block;
  padding-left: 20%;
}
.concept_photo img {
  width: 100%;
}
/*=================concept_sh===============*/
@media(max-width:960px) {
  #concept {
    flex-wrap: wrap;
    margin: 100px auto 0;
    padding: 0;
  }
  .concept_lead {
    padding-left: 0;
  }
  .concept_lead p {
    padding: 30px 0 0 0;
    font-size: 1.6rem;
    line-height: 2.0;
    text-align: left;
  }
  .concept_lead p br {
    display: none;
  }
  .concept_lead img {
    max-width: 480px;
    width: 80%;
  }
}
/*====================service=================*/
h2{
  color:var(--primary-red);
}
#service {
  margin: 200px auto 0;
}
.title {
  display: block;
  margin-bottom: 100px;
  text-align: center;
}
.title h2 {
  font-size: 6.4rem;
  font-weight: 700;
  padding-bottom: 15px;
}
.title p {
  font-size: 1.8rem;
  color: #000;
  padding-left: 5px;
}
.service_content {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.service_content li {
  border: solid 1px var(--primary-red);
  list-style: none;
  width: 30%;
}
.service_content img {
  width: 100%;
  height: 200px; /* 任意の固定高さに */
  object-fit: cover;
  display: block;
}
.service_lead {
  padding: 7% 7% 4% 7%;
}
.service_lead h5 {
  font-size: 1.4rem;
  font-weight: 300;
  padding-bottom: 20px;
}
.service_lead h4 {
  font-size: 2.0rem;
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: solid 2px var(--primary-red);
}
.service_lead p {
  padding: 20px 0 20px 0;
  font-size: 1.7rem;
  line-height: 1.6;
}
.service_detail_link {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  text-align: right;
}
.service_link{
  text-align: right;
}
.service_detail_link:hover{
  filter: brightness(1.50); 
  cursor: pointer;
}
.service_detail_link .arrow {
  color: var(--primary-red);
  margin-left: 5px;
}
/*=================serviec_sh===============*/
@media (max-width:960px) {
  #service {
    margin: 80px auto;
  }
  .title {
    margin-bottom: 40px;
  }
  .title h2 {
    font-size: 3.2rem;
    text-align: center;
    padding-bottom: 10px
  }
  .title p {
    font-size: 1.5rem;
    padding-left: 0px;
  }
  .service_content {
    flex-wrap: wrap;
    gap: 0;
  }
  .service_content li {
    width: 93%;
    max-width: 480px;
    margin: 0 auto 60px auto;
  }
  .service_lead h4 {
    font-size: 1.8rem;
  }
  .service_lead p {
    padding: 20px 0;
    font-size: 1.6rem;
    line-height: 1.6;
  }
}
/*==========================btn================*/
.image-button {
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
#image-buttons {
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  margin: 100px auto 0;
}

.image-button img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  transition: inherit;
  margin: 0 auto;
}
.image-button:hover {
  transform: translateY(1px); /* ↓ 少し沈む */
  opacity: 0.9; /* わずかに暗くなる */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* 影を出す */
  cursor: pointer;
}

.image-button:hover img {
  opacity: 0.8;
  cursor: pointer;
}

@media (max-width:960px) {
    .image-button img {
      width: 90%;
      margin: 0 auto;
    }
    #image-buttons {
      gap: 50px;
    }
  }
/*==========================mail================*/
#contact_section{
  margin: 0 auto;
}
.mail_block_sh {
  display: none;
}
.mail_lead {
  display: block;
  margin: 100px auto 40px auto;
  text-align: center;
}
.mail_lead p {
  display: inline-block;
  font-size: 1.6rem;
  text-align: left;
  margin: 0 auto;
  line-height: 1.5;
  color: #000;
}
.contact_flex {
  display: flex;
  justify-content: space-evenly;
}
.mail_block {
  text-align: center;
}
.mail_block p {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
}
/*== 少し出ていた線が伸びる */
.btnlinestretches2 {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  color: #484848;
  padding: 30px 30px;
  display: inline-block;
  text-decoration: none;
  outline: none;
  width: 200px;
}
/*線の設定*/
.btnlinestretches2::before, .btnlinestretches2::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*事前に出現させる線の形状*/
  border: solid var(--primary-red);
  width: 10px;
  height: 10px;
  /*アニメーションの指定*/
  transition: all 0.3s ease-in-out;
}
.btnlinestretches2::before {
  /*事前に出現させる線の位置*/
  top: 0;
  left: 0px;
  /*事前に出現させる線の形状*/
  border-width: 2px 0 0 2px;
}
.btnlinestretches2::after {
  /*事前に出現させる線の位置*/
  bottom: 0;
  right: 0px;
  /*事前に出現させる線の形状*/
  border-width: 0 2px 2px 0;
}
/*hoverした際の線の形状*/
.btnlinestretches2:hover::before, .btnlinestretches2:hover::after {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-color: var(--primary-red)
}
@media(max-width:960px) {
  #contact_section{
    margin: 0 auto;
  }
  .mail_lead {
    margin: 60px auto 40px auto;
  }
  .mail_block {
    display: none;
  }
  .mail_block_sh {
    display: block;
    border: solid 1px var(--primary-red);
    padding: 30px 4%;
    max-width: 240px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .mail_block_sh a {
    text-decoration: none;
    color: #484848;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
  }
  .mail_lead p {
    font-size: 1.4rem;
    color:#484848;
  }
}
/*===========access===========================*/
#access {
  margin: 160px auto 0 auto;
}
#access iframe {
  width: 70%;
  margin: 0 auto;
  display: block;
}
/*===============access_sh===================*/
@media(max-width:960px) {
  #access {
    margin: 100px auto 0 auto;
  }
  #access iframe {
    width: 100%;
    height: 370px;
  }
}
/*=================measures====================*/
#measures {
  margin: 200px auto 0 auto;
}
.title2 {
  display: block;
  margin-bottom: 60px;
  text-align: center;
}
.title2 h3 {
  font-size: 2.4rem;
  font-weight: 700;
  padding-bottom: 25px;
}
.title2 p {
  font-size: 1.6rem;
  line-height: 1.5;
  display: inline-block;
  margin: 0 auto;
}
.measures_flex {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  width: 100%;
}
.measures_flex li {
  list-style: none;
  width: 23%;
  padding: 4% 0 4% 9%;
}
.measures_flex li img {
  width: 30%;
}
.measures_flex .measures_family {
  width: 45%;
}
.measures_flex h5 {
  font-size: 1.8rem;
  font-weight: 600;
  padding: 20px 0;
}
.measures_flex p {
  font-size: 1.6rem;
  line-height: 1.5;
}
/*==================measures_sh===============*/
@media(max-width:960px) {
  #measures {
    margin: 120px auto 0 auto;
  }
  #measures .title2 h3 {
    font-size: 1.8rem;
    line-height: 1.5;
    padding-bottom: 15px;
  }
  #measures .title2 p {
    font-size: 1.6rem;
    line-height: 1.5;
    width: 90%;
    display: inline-block;
  }
  #measures .title2 p br {
    display: none;
  }
  .measures_flex {
    flex-direction: column;
    align-items: center;
    width: 93%;
    margin: 0 auto;
  }
  .measures_flex li br {
    display: none;
  }
  .measures_flex li {
    width: 90%;
    padding: 10% 0;
  }
  .measures_flex .measures_family {
    width: 35%;
  }
  .title2 {
    margin-bottom: 30px;
  }
  .title2 p {
    font-size: 1.5rem;
  }
}
/*=============trading==========================*/
#trading {
  margin: 140px auto 0 auto;
}
.flex_trading {
  margin: 0 auto;
  width: max-content;
}
.flex_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 80px;
}
.flex_box li {
  list-style: none;
  font-size: 1.6rem;
  font-weight: 500;
  padding-bottom: 60px;
}
.notes {
  font-size: 1.6rem;
  padding-left: 10px;
}
/*=========trading_sh===================*/
@media(max-width:700px) {
  #trading {
    margin: 120px auto 0 auto;
  }
  .flex_box {
    flex-direction: column;
    margin-top: 60px;
    margin-left: 7%;
  }
}