@charset "utf-8";

/*
 * "Fredericka" is lisenced under the SIL Open Font License 1.1
 * http://fonts.googleapis.com
 * https://www.google.com/fonts/attribution
 * http://scripts.sil.org/OFL
 */

/* =====================================
   共通設定（PC基準）
===================================== */

body {
  background-color: #fdfefe;
}

a {
  color: #696969;
}

a:hover {
  color: #a9a9a9;
}

.bg-primary,
.btn-primary {
  background-color: #00008b !important;
}

.border-primary {
  border-color: #00008b !important;
}

.bg-maincolor {
  background-color: #f0f8ff !important;
}

.bg-yl-color {
  background-color: #fffaf0 !important;
}

.text-shadow {
  text-shadow: 1px 1px 3px #000;
}

.font-patrick {
  font-family: 'Fredericka the Great', cursive;
}

/* =====================================
   見出し
===================================== */

h1 {
  font-size: 1.0rem;
  text-align: center;
}

h2 {
  position: relative;
  font-weight: bold;
  letter-spacing: 0.12em;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, #ffa500, #00bcd4);
  border-radius: 999px;
  margin: 12px auto 0;
}

/* =====================================
   ヘッダー
===================================== */

#nav01 {
  border-bottom: 3px solid #00008b;
}

/* ヘッダーメニュー ホバー拡大（PCのみ有効） */
#nav01 a,
#nav02 a {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

#nav01 a:hover,
#nav02 a:hover {
  transform: scale(1.08);
  color: #ffa500;
}

#nav02 .nav-fill {
  width: 100%;
}

#nav02 .nav-item {
  border-left: 1px solid #dee2e6;
}

#nav02 .last-list-md {
  border-right: 1px solid #dee2e6;
}

/* ロゴ（PCはそのまま） */
.responsive-logo {
  height: auto;
  max-width: none;
}

/* =====================================
   フッター
===================================== */

footer {
  background-color: #666;
  text-align: center;
  padding: 26px 0px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  list-style-type: none;
}

/* フッターメニュー ホバー拡大（PCのみ） */
footer li a {
  display: inline-block;
  color: #fafafa;
  font-size: 0.875rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

footer li a:hover {
  transform: scale(1.08);
  color: #0bd;
}

footer p {
  color: #fafafa;
  font-size: 0.87575rem;
}

/* トップへ戻る */
#gotop {
  position: fixed;
  right: 50px;
  bottom: 50px;
}

#gotop a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: gray;
  border-radius: 50%;
  text-decoration: none;
  color: #fcc;
  text-shadow: 2px 2px 3px #333;
  text-align: center;
  line-height: 50px;
}

/* =====================================
   トップページ jumbotron（PC基準）
===================================== */

.jumbotron {
  background-image: url("../img/top-image.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 25%;
  min-height: 60vh;
  position: relative;
}

.jumbotron::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
}

/* =====================================
   下層ページ
===================================== */

.breadcrumb-item + .breadcrumb-item:before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: small;
  color: #fff;
}

#page .jumbotron {
  background: #f1efff url("../img/subpage-headding.jpg") no-repeat center center;
  background-size: cover;
  border-radius: initial;
}

/* 下層ページ jumbotron 見出し */
#page .jumbotron h2,
.jumbotron h2.display-4 {
  font-size: 2.2rem;
}

/* =====================================
   カード（コース・Map）
===================================== */

.shadow-sm {
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-sm:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

/* =====================================
   Instagram（投稿ホバー拡大）
===================================== */

a[href*="instagram"] img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a[href*="instagram"] img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* =====================================
   体験レッスン申込ボタン
===================================== */

.btn-warning {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-warning:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* =====================================
   フォーム
===================================== */

.form {
  margin-top: 10px;
  margin-left: 10%;
}

form div {
  margin-bottom: 14px;
}

label {
  font-size: 1.125rem;
  margin-bottom: 10px;
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  background-color: rgba(0, 0, 255, .1);
  border: 1px #fff solid;
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  max-width: 240px;
}

textarea {
  width: 100%;
  max-width: 480px;
  height: 6rem;
  resize: none;
}

/* 送信ボタン（元の見た目） */
input[type="submit"],
.button {
  background-color: gray;
  color: #FFFAFA;
  border-radius: 5px;
  transform: none;
  box-shadow: none;
}

input[type="submit"]:hover,
.button:hover {
  background-color: #0bd;
  transform: none;
  box-shadow: none;
}

/* =====================================
   コース詳細 説明セクション
===================================== */

article section h2 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

/* ==================================================
   タブレット・スマホ（991px以下）
================================================== */

@media (max-width: 991.98px) {

  .responsive-logo {
    max-width: 70%;
    height: auto;
  }

  .shadow-sm:hover,
  .btn-warning:hover,
  #nav01 a:hover,
  #nav02 a:hover,
  footer li a:hover {
    transform: none;
    box-shadow: none;
  }

  .location-map iframe {
    max-width: 100%;
    height: auto;
  }
}

/* ==================================================
   スマホ専用（575px以下）
================================================== */

@media (max-width: 575.98px) {

  footer li a,
  footer p {
    font-size: 0.6rem;
  }

  #page .jumbotron h2,
  .jumbotron h2.display-4 {
    font-size: 1.6rem;
  }

  article section h2 {
    font-size: 1.25rem;
  }

  .jumbotron {
    min-height: 40vh;
    background-position: center top;
  }
}
