@charset "UTF-8";
@import url("grid.css");

:root {
  /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
  --base-color: #10b981;
  --link-color: #4b5563;
  --linkhover-color: #059669;
  --back-color: #ffffff;
  --border-color: #e5e7eb;
  --white-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  min-height: 100vh;
}

h2,
h3,
h4 {
  color: #666;
}

p {
  color: #888;
  text-align: left;
}

p.indent{
  /* text-align: left; */
  text-indent: 1em;
}



img {
  max-width: 100%;
  height: auto;
  /*高さ自動*/
}

a {
  display: block;
  color: var(--link-color);
  text-decoration-line: none;
}

a:hover {
  color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header {
  display: flex;
  flex-direction: row;
  padding: 2rem 0 0 0;
}

.header-area {
  margin-bottom: 10px;
}

.header-box {
  margin-left: auto;
  margin-top: 16px;
}

.contact-button {
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-weight: 600;
  font-size: 16px;
  border-radius: 30px;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: #ffffff;
  opacity: 0.95;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 1rem 0 0 0;
  font-weight: bold;
}

nav li {
  flex: 1 0 auto;
  margin: 0;
}

nav li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}

nav a:hover {
  opacity: 0.8;
  color: #10b981;
  transition: all 0.3s ease;
}

nav a {
  padding: 0.5rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  /* PC時はMENUボタンを非表示 */
  #open,
  #close {
    display: none !important;
  }

  #navi {
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }

  .header #open,
  #close {
    position: absolute;
    top: 20px;
    right: 12px;
  }

  nav ul {
    flex-direction: column;
  }

  .header li {
    padding-top: 0;
  }

  /* スマホ時はMENUボタンを表示 */
  #open {
    display: block;
    background: url(/img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }

  #close {
    display: block;
    background: url(/img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }

  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}

/*メイン画像
-------------------------------------*/
.mainimg img {
  width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
  margin: 5rem 0 0 0;
}

section {
  margin: 5rem 0;
  padding: 3rem 0;
}

.gray-back {
  background: linear-gradient(135deg, #fafbff 0%, #f3f4f6 100%);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/*キャッチコピー
-------------------------------------*/
.catch {
  margin-top: -10px;
  text-align: center;
  color: var(--base-color);
  font-size: 40px;
  letter-spacing: 0.1em;
  font-family:fantasy;
  color:cornflowerblue";
}

@media screen and (max-width: 900px) {
  .catch {
    margin-top: 0px;
  }
}


.catch h2 {
  padding-bottom: 1rem;
}

.explanation-label {
  text-align: left;
  color: #475569;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.explanation-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  border-radius: 3px;
}

.under {
  /* border-bottom: 0.4rem solid var(--base-color); */
  /* padding: 0 1rem 1rem 1rem; */
  font-family: "Oswald", sans-serif;
  color: rgb(67, 197, 197);
  font-size: 32px;
  letter-spacing: 0.05em;
}

.center {
  text-align: center;
  margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
  margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
  background-color: var(--back-color);
  padding: 5rem 0;
}

footer h4 {
  border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 2rem 0;
}

.table {
  margin: 4rem 0;
}

.table th {
  width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background: -moz-linear-gradient(top, #4eb97b, #158475);
  background: -webkit-linear-gradient(top, #4eb97b, #158475);
  background: linear-gradient(to bottom, #4eb97b, #158475);
}

.copyright a {
  color: var(--white-color);
  text-decoration: none;
  display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}

#pagetop a {
  display: block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

#pagetop a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: #ffffff;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {
  /*ヘッダー
-------------------------------------*/
  .header-box {
    display: none;
  }

  /*お問い合わせ
-------------------------------------*/
  .table th {
    width: 100%;
    display: block;
  }

  .table td {
    display: block;
  }
}
