@charset "utf-8";


/*----------------------------------------
hero
----------------------------------------*/
/* 共通スタイル */
.hero {
  width: 100%;
}
.hero-inr {
  margin: 0 auto;
}
.hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* 初期状態で hero-box を非表示（PC表示用） */
.hero-box {
  display: none;
  background: #F1F0E6;
}

/* スマホ表示（768px以下） */
@media (max-width: 768px) {
  .hero-img {
    display: none; /* PC用画像を非表示 */
  }

  .hero-box {
    display: block;
    overflow: hidden;
    position: relative;
  }

  .hero-list {
    display: flex;
    width: 100%;
    animation: slide 12s infinite;
    list-style: none;
  }

  .hero-list li {
    width: 100%;
    flex-shrink: 0;
  }

  .hero-list img {
    width: 100%;
    height: auto;
  }

  /* スライドアニメーション */
  @keyframes slide {
    0%   { transform: translateX(0%); }
    33%  { transform: translateX(0%); }
    36%  { transform: translateX(-100%); }
    66%  { transform: translateX(-100%); }
    69%  { transform: translateX(-200%); }
    99%  { transform: translateX(-200%); }
    100% { transform: translateX(0%); }
  }
}

/*----------------------------------------
intro
----------------------------------------*/
/* ベーススタイル */
.intro {
  background: #F1F0E6;
  padding: 45px 0 30px;
}
.intro-inr {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}
.intro-heading {
  font-size: 32px;
  text-align: center;
  font-weight: 500;
}
.intro-btn{
  position: absolute;
  top: 8px;
  right: 0;
}
.intro-btn a {
  display: inline-block;
  padding: 10px 20px;
  background: #f47575;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  transition: all .2s;
}

.intro-btn a:hover{
  opacity: 0.8;
}

.intro-list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
}

.intro-list li {
  flex: 1;
  background: #fff;
  padding: 10px 10px 20px;
  border-radius: 8px;
}

.intro-list li a{
  display: block;
  transition: all .2s;
}

.intro-list li a:hover{
  opacity: 0.8;
}

.intro-list img {
  width: 100%;
  height: auto;
  display: block;
}

/* レスポンシブ：スマホ用 */
@media (max-width: 768px) {
  .intro{
    padding: 25px 0 30px;
  }
  .intro-heading {
    font-size: 1.5rem;
  }

  .intro-list {
    width: 92vw;
    margin: 20px auto 0;
    flex-direction: column;
    display: block;
    gap: 0;
  }

  .intro-list li{
    margin: 20px auto 0;
  }

  .intro-btn{
    width: 60%;
    position: relative;
    top: inherit;
    margin: 30px auto 0;
  }

  .intro-btn a {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }
}

/*----------------------------------------
info
----------------------------------------*/
/* 共通スタイル */
.info {
  padding: 45px 0 30px;
  background-color: #fff;
}
.info-inr {
  max-width: 1000px;
  margin: 0 auto;
}
.info-heading {
  font-size: 32px;
  text-align: center;
  font-weight: 500;
}

/* 情報リストボックス */
.info-box {
  background: #F1F0E6;
  padding: 20px;
  max-height: 200px; /* スクロールする高さ */
  overflow-y: auto;
  border-radius: 8px;
  margin: 20px auto 0;
}

.info-box a::after {
  content: '[PDF]';
  color: red;
  font-weight: bold;
  margin-right: 4px;
  text-decoration: none;
  margin: 0 0 0 10px;
}

/* リスト構造に合わせて整える */
.info-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-box li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: solid 1px #000;
}
.info-box dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}
.info-box dt {
  width: 12%;
  font-weight: bold;
  padding: 5px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}
.info-box dd {
  width: 88%;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  margin: 0;
}
.info-box a {
  color: #000;
  text-decoration: underline;
}
.info-box a:hover {
  text-decoration: none;
}

/* スクロールバー装飾（オプション） */
.info-box::-webkit-scrollbar {
  width: 8px;
}
.info-box::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .info{
    padding: 25px 0 30px;
  }
  .info-box {
    width: 92vw;
    max-height: 400px;
    padding: 15px;
    margin: 20px auto 0;
    box-sizing: border-box;
  }
  .info-box dt,
  .info-box dd {
    width: 100%;
    padding: 6px 8px;
    border-bottom: 1px solid #ddd;
  }
}

/*----------------------------------------
reason
----------------------------------------*/
/* 共通スタイル */
.reason {
  padding: 25px 0 30px;
  background-color: #fff;
}

.reason-inr {
  max-width: 1024px;
  margin: 0 auto;
}

.reason-heading {
  font-size: 32px;
  text-align: center;
  font-weight: 500;
  position: relative;
}

.reason-heading span{
  font-size:50px;
}

.reason-heading:before {
  width: 30%;
  height: 1px;
  content: "";
  background: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.reason-heading:after {
  width: 30%;
  height: 1px;
  content: "";
  background: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.reason-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
}

.reason-list li {
  width: 32%;
  background-color: #fff;
  overflow: hidden;
}

.reason-list dt img {
  width: 100%;
  height: auto;
  display: block;
}

.reason-text {
  font-size: 20px;
  color: #F47575;
  text-align: center;
  font-weight: 600;
  margin: 20px auto 0;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
  .reason{
    padding: 20px 20px;
  }
  .reason-heading {
    font-size: 28px;
    text-align: center;
  }
  .reason-heading:before, .reason-heading:after {
    width: 10%;
  }

  .reason-list {
    flex-direction: column;
    gap: 20px;
  }

  .reason-list li {
    width: 100%;
    flex: 1 1 100%;
    margin: 20px auto 0;
  }

    .reason-list li:first-child {
      margin: 0 auto 0;
    }

  .reason-text {
    font-size: 18px;
    padding: 0;
    margin: 10px auto 0;
  }
}

/*----------------------------------------
top-inq
----------------------------------------*/
/* 共通スタイル */
.top-inq {
  padding: 15px 0 80px;
  background-color: #fff;
  text-align: center;
}

.top-inq-inr {
  max-width: 1024px;
  margin: 0 auto;
  background: #F1F0E6;
  border-radius: 8px;
  padding: 30px 0 30px;
}

.top-inq-heading {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 500;
}

.top-inq-tel {
  margin-bottom: 20px;
}

.top-inq-tel a img {
  max-width: 100%;
  height: auto;
}

.top-inq-text {
  font-size: 16px;
  margin-bottom: 5px;
}

.top-inq-btn{
  width:450px;
  margin: 0 auto 0;
}

.top-inq-btn a {
  transition: all .2s;
}

.top-inq-btn a:hover{
  opacity: 0.8;
}

.top-inq-btn a img {
  width: 100%;
  height: auto;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
  .top-inq {
    padding: 40px 15px;
  }

  .top-inq-heading {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .top-inq-tel{
    width: 60%;
    margin: 0 auto 0;
  }

  .top-inq-text {
    font-size: 15px;
    margin: 20px auto 0;
  }

  .top-inq-btn{
    width: 78.67vw;
    margin: 10px auto 0;
  }

  .top-inq-btn a{
    display: block;
  }

  .top-inq-btn a img {
    max-width: 100%;
  }
}
