@charset "utf-8";

/* 共通設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Sawarabi Gothic", sans-serif;
  line-height: 1.8;
  color: #112538;
}

body {
  background: #f9f9f9;
}

header {
  background: #2D4F70;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* トップ */
.hero {
    background-image: url('img/back.jpg'); /* 背景画像を変更 */
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  
    /* セクション共通設定の打ち消し */
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0;
  }
  
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    color: #fff;
    max-width: 90%;
  }
  
  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
  }
  
  /* モバイル対応 */
  @media screen and (max-width: 600px) {
    .hero {
      height: 300px;
      padding: 1rem;
    }
  
    .hero h2 {
      font-size: 1.2rem;
    }
  
    .hero p {
      font-size: 0.9rem;
    }
  }
  
/* オーナーの悩み */
.owner-flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .owner-text {
    flex: 1 1 55%;
    padding-left: 10%;
  }
  
  .owner-image {
    flex: 1 1 40%;
    text-align: center;
  }
  
  .owner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* スマホ対応 */
  @media screen and (max-width: 768px) {
    .owner-flex {
      flex-direction: column;
    }
    .owner-text,
    .owner-image {
      width: 100%;
    }
  }

/* merit */

.merit {
  width: 600px;
  margin: 80px auto 0;
  text-align: center;
  background-color: #FFE49C;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}
.merit .title::before {
  position: absolute;
  content: '';
  left: 40%;
  top: -50px;
  width: 125px;
  height: 100px;
  border-radius: 55%;
  background-color: #FFE49C;
  background-image: url(img/idea.png);
  background-size: 45px;
  background-position: center;
  background-repeat: no-repeat;
  background-position-y: 10px;
  z-index: -1;
}

.merit .title {
  padding: 20px 0 15px;
  font-size: 1.2em;
  font-weight: bold;
}
.merit p {
  background-color: rgba(255,255,255,0.7);
  width: 90%;
  padding: 20px;
  line-height: 2.3em;
  margin: 0 auto;
}
  /* スマホ対応 */
  @media screen and (max-width: 768px) {
    .merit {
      width: 100%;
    }
    .sumaho {
      display: none;
    }
  }

/* メリットここまで */

/* サポート */
.info-support-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.info-support-text {
  flex: 1 1 55%;
}

.info-support-images {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.info-support-images img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .info-support-flex {
    flex-direction: column;
  }
  .info-support-images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}


h1 {
  font-size: 1.5rem;
  color: #fff;
  text-align: left;
}

section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  color: #fff;
  background: #2D4F70;
  padding: 15px;
  margin-bottom: 15px;
}

h3 {
  background: #cadef3;
  padding: 10px 15px;
  color: #2D4F70;
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-left: 5px solid #6081b7;
}

ul {
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 0.7em;
  position: relative;
  padding-left: 1.2em;
}

ul li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 8px;
  height: 8px;
  background: #9bb9da;
  border-radius: 50%;
}

/* プロセスフロー */
.process-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step {
  background: #fff;
  border: 1px solid #007b8a;
  padding: 10px 20px;
  border-radius: 5px;
  max-width: 100%;
  width: 70%;
  text-align: center;
  font-weight: bold;
}

.arrow {
  font-size: 1.2rem;
  color: #007b8a;
  line-height: 109%;
}

/* フォーム */
form {
  background: #f1f5f9;
  padding: 20px;
  border-radius: 8px;
}

dl span {
  color: #fff;
}
dl {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 0;
}

dt {
  width: 30%;
  background: #4c6881;
  color: #fff;
  text-align: center;
  padding: 10px 5px;
}

dd {
  width: 70%;
  background: #ebf2f8;
  padding: 10px;
}

input[type=text],
input[type=email] {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.botan {
  margin: 20px auto 0;
  display: block;
  width: 160px;
  height: 45px;
  font-size: 1rem;
  background: #2D4F70;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.botan:hover {
  opacity: 0.85;
}

/* 免責事項 */
.disclaimer {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 1rem;
    margin: 0 auto;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
  }
  
  .disclaimer h4 {
    font-size: 1rem;
    margin-bottom: 0.5em;
    color: #2D4F70;
    border-left: 4px solid #2D4F70;
    padding-left: 10px;
  }

  .disclaimer ul {
    padding-left: 3rem;
    margin-top: 0.5em;
  }
  
  .disclaimer ul li {
    list-style: disc;
    padding-left: 0;
    line-height: 110%;
  }
  .disclaimer ul li::before{
    display: none;
  }
  

/* 問い合わせ情報 */
.contact-box {
  text-align: center;
  border: 1px solid #6a82b9;
  background: rgba(255, 255, 255, 0.8);
  width: 90%;
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  color: #000;
}

.contact-box span {
  font-size: 1.4em;
  font-weight: bold;
}

.contact-box img {
  height: 150px;
  margin-top: 10px;
}

/* 特定商取引法に基づく表記 */
/*.law-list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  background: #fff;
}

.law-list dt,
.law-list dd {
  padding: 10px 15px;
  border-bottom: 1px solid #ccc;
}

.law-list dt {
  width: 30%;
  background: #f0f5fa;
  font-weight: bold;
  color: #2D4F70;
}

.law-list dd {
  width: 70%;
}

.law-list a {
  color: #2D4F70;
  text-decoration: underline;
  word-break: break-word;
}*/

/* モバイル対応 */
@media screen and (max-width: 600px) {
  .law-list dt,
  .law-list dd {
    width: 100%;
    display: block;
    font-size: 0.9rem;
  }
}

/* フッター */
footer {
  text-align: center;
  background: #2D4F70;
  color: #fff;
  padding: 20px;
  font-size: 0.9rem;
}

/* ページトップ */
#page_top {
  background: #6081b7;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
}

#page_top:hover {
  opacity: 1;
}

/* レスポンシブ対応 */
@media screen and (max-width: 600px) {
  h1 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  dl {
    flex-direction: column;
  }
  dt, dd {
    width: 100%;
  }
  #page_top {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 12px;
  }
}
