@charset "UTF-8";
/*========================================
  style.css
  index.html / video.html 共通スタイル

  構成
    1. 基本設定（旧 letter.css）
    2. 汎用（p / li / br / .pc .sp）
    3. ボタン（.btn / .btn-green）
    4. フッター（#footer）
    5. ユーティリティ（video.html）
    6. index.html 用（.form）
    7. video.html 用（#header-top / #line / 動画 / モーダル）
    8. アニメーション

  ブレイクポイント
    SP : max-width 768px
    PC : min-width 769px
========================================*/

:root {
  --bg-image: url(../images/form-background.jpg);        /* index.html フォーム背景 */
  --video-bg-image: url(../images/video-background.jpg); /* video.html 背景 */
}

/*----------------------------------------
  1. 基本設定
----------------------------------------*/
html {
  font-size: 62.5%;
}
* {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-style: normal;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
a {
  color: rgb(0, 229, 255);
}
a:hover {
  text-decoration: none;
}
a img {
  transition: .5s;
}
a:hover img {
  opacity: .5;
}
small {
  word-break: break-all;
}

/*----------------------------------------
  2. 汎用
----------------------------------------*/
li {
  list-style: none;
  font-weight: bold;
  line-height: 130%;
}
p {
  color: #333;
  line-height: 160%;
}
p:last-child,
li:last-child,
.inner:last-child,
.text:last-child {
  margin-bottom: 0 !important;
}

@media screen and (min-width: 769px) {
  p {
    margin-bottom: 5%;
    font-size: 16px;
    font-size: 1.6rem;
  }
  li {
    margin-bottom: 3%;
    font-size: 16px;
    font-size: 1.6rem;
  }
  .sp,
  .break-sp {
    display: none;
  }
  .pc {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  p {
    margin-bottom: 4.3vw;
    font-size: 13px;
    font-size: 3.5vw;
  }
  li {
    margin-bottom: 2.7vw;
    font-size: 20px;
    font-size: 5.3vw;
  }
  br {
    display: none;
  }
  .break,
  .break-sp,
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/*----------------------------------------
  3. ボタン
----------------------------------------*/
.btn {
  margin: 0 auto;
  width: 100%;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: -0.05em;
  display: block;
  text-align: center;
  border-radius: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.btn-green {
  color: #fff;
  text-shadow: 0 0px 3px #0f830d, 0 0px 5px #0f830d, 0 0 7px #0f830d;
  background-color: rgb(28, 168, 0);
  background: linear-gradient(to bottom, #0fff0d 25%, #04af14 75%);
  box-shadow: 0 1rem 0 #045b0c;
  border: 1px solid #37e70b;
  overflow: hidden;
}
.btn-green::after {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn 3s ease-in-out infinite;
}

@media screen and (min-width: 769px) {
  .btn {
    margin-bottom: 2%;
    padding: 0.5em 1em;
    max-width: 600px;
    font-size: 38px;
    font-size: 3.8rem;
    line-height: 110%;
  }
  .btn:hover {
    box-shadow: none;
    transform: translate3d(0, 10px, 0);
  }
  .btn-green {
    max-width: 800px;
    /* ボタン幅に文字が収まるよう画面幅に追従（上限 38px） */
    font-size: min(2.8vw, 3.8rem);
  }
}
@media screen and (min-width: 769px) and (max-width: 980px) {
  .btn-green {
    font-size: min(4.4vw, 3.8rem);
  }
}
@media screen and (max-width: 768px) {
  .btn {
    padding: 1em 5%;
    font-size: 16px;
    font-size: 4.3vw;
    line-height: 130%;
  }
  .btn-green {
    margin-bottom: 2rem;
    font-size: 19px;
    font-size: 5vw;
  }
}

/*----------------------------------------
  4. フッター
----------------------------------------*/
@media screen and (min-width: 769px) {
  #footer {
    padding: 10px 0;
    overflow: hidden;
    background: #333;
  }
  #footer .inner {
    margin: 0 auto;
    width: 900px;
  }
  #footer p {
    margin-bottom: 0;
    font-size: 10px;
    font-size: 1rem;
    color: #fff;
    float: left;
  }
  #footer-navi {
    padding-right: 10px;
    overflow: hidden;
    border-right: 1px solid #fff;
    float: right;
  }
  #footer-navi li {
    margin: 0 0 0 10px;
    padding-left: 10px;
    font-size: 10px;
    font-size: 1rem;
    color: #fff;
    border-left: 1px solid #fff;
    float: left;
  }
  #footer-navi li a {
    color: #fff;
  }
}
@media screen and (max-width: 768px) {
  #footer {
    text-align: center;
    background: #fff;
  }
  #footer li {
    margin-bottom: 0;
    font-size: 16px;
    font-size: 4.3vw;
    color: #fff;
    background: #333;
    border-bottom: 1px dotted #fff;
  }
  #footer a {
    padding: 5%;
    color: #fff;
    display: block;
  }
  #footer .copyright {
    margin-bottom: 0;
    padding: 3%;
    font-size: 14px;
    font-size: 3.7vw;
    color: #666;
  }
}

/*----------------------------------------
  5. ユーティリティ（video.html）
----------------------------------------*/
.fc-y  { color: #ffc926 !important; }
.fw-n  { font-weight: normal; }
.fw-b  { font-weight: 900; }
.lh-120 { line-height: 1.2; }
.lh-140 { line-height: 1.4; }
.lh-160 { line-height: 1.6; }
.ta-c  { text-align: center; }
.mt-0  { margin-top: 0 !important; }
.mt-30 { margin-top: 3% !important; }
.mb-0  { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 1% !important; }
.mb-20 { margin-bottom: 2% !important; }
.mb-30 { margin-bottom: 3% !important; }
.w-35  { width: 35% !important; margin: 0 auto; }
.w-40  { width: 40% !important; margin: 0 auto; }
.w-80  { width: 80% !important; margin: 0 auto; }

@media screen and (min-width: 1440px) {
  .fs-18 { font-size: 18px; font-size: 1.8rem !important; }
  .fs-35 { font-size: 35px; font-size: 3.5rem !important; }
  .fs-40 { font-size: 40px; font-size: 4rem !important; }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .fs-18 { font-size: 1.25vw !important; }
  .fs-35 { font-size: 2.43vw !important; }
  .fs-40 { font-size: 2.78vw !important; }
}
@media screen and (max-width: 768px) {
  .fs-sp28 { font-size: 2.8vw !important; }
  .fs-sp30 { font-size: 3vw !important; }
  .fs-sp42 { font-size: 4.2vw !important; }
  .fs-sp45 { font-size: 4.5vw !important; }
  .fs-sp50 { font-size: 5vw !important; }
  .w-sp80  { width: 80% !important; margin: 0 auto; }
  .w-sp90  { width: 90% !important; margin: 0 auto; }
  .mb-sp5  { margin-bottom: 1.3333vw !important; }
  .p-sp5   { padding: 6.6667vw !important; }
}

/*----------------------------------------
  6. index.html 用（.form）
----------------------------------------*/
.form input[type=text],
.form input[type=email] {
  margin: 0 auto 2%;
  width: 100%;
  color: #272f6b;
  line-height: 160%;
  border: 3px solid #272f6b;
  background: #fff;
}
.form h5 {
  margin-bottom: 0.5em;
  color: #fff;
  text-align: center;
  background: #000;
  border-radius: 1rem;
}

@media screen and (min-width: 769px) {
  .form {
    padding: 3% 0 5%;
    background: var(--bg-image) no-repeat center top fixed;
    background-size: cover;
  }
  .form .inner {
    margin: 0 auto;
  }
  .form form {
    margin: 0 auto;
    padding: 3% 5%;
    width: 60%;
    text-align: center;
    background: #f00;
    box-shadow: 0 0 10px #000;
    border-radius: 1rem;
  }
  .form input[type=text],
  .form input[type=email] {
    padding: 0.5em 1em;
    font-size: 25px;
    font-size: 2.5rem;
  }
  .form h4 {
    margin-bottom: 3%;
  }
  .form h5 {
    padding: 0.5em;
    font-size: 25px;
    font-size: 2.5rem;
  }
}
@media screen and (min-width: 769px) and (max-width: 980px) {
  .form form {
    width: 90%;
  }
}
@media screen and (max-width: 768px) {
  .form {
    background: var(--bg-image) no-repeat center top;
    background-size: 130%;
  }
  .form form {
    margin: 0 auto;
    padding: 2rem;
    background: #d00;
  }
  .form input[type=text],
  .form input[type=email] {
    padding: 0.4em 3%;
    font-size: 18px;
    font-size: 4.8vw;
  }
  .form h4 {
    margin-bottom: 1rem;
  }
  .form h5 {
    padding: 0.3em 1em;
    font-size: 13px;
    font-size: 3.5vw;
  }
}

/*----------------------------------------
  7. video.html 用
----------------------------------------*/
/* 帯 */
#header-top {
  width: 100%;
  text-align: center;
  background: #900;
}
#header-top p {
  margin-bottom: 0 !important;
  color: #fff;
  font-weight: bold;
  line-height: 130%;
}

/* 本文 */
#line .text p {
  color: #333;
  text-align: center;
}

@media screen and (min-width: 769px) {
  #header-top {
    padding: 1% 0;
  }
  #header-top p {
    font-size: 16px;
    font-size: 1.6rem;
  }
  #line {
    background: var(--video-bg-image) no-repeat center top fixed;
    background-size: cover;
  }
  #line .inner {
    margin: 0 auto;
    width: 70%;
  }
  #line .text {
    padding: 1% 0 3%;
    background: rgba(255, 255, 255, 0.85);
  }
  .header-line-btn {
    display: block;
    width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0px 12px 0px #005b25);
    transition: .5s;
    transform: translateY(0);
    border-radius: 12px;
  }
  .header-line-btn:hover {
    filter: none;
    transform: translateY(12px);
  }
}

/* 動画プレイヤー（YouTube 通常埋め込み） */
.video-shell {
  position: relative;
  margin: 3% 5% 5% 5%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media screen and (max-width: 768px) {
  #header-top {
    padding: 1rem;
  }
  #header-top p {
    font-size: 10px;
    font-size: 2.7vw;
    line-height: 160%;
  }
  #line .inner {
    background: var(--video-bg-image) repeat-y center top;
    background-size: 300%;
  }
  #line .text {
    padding: 8% 5% 10%;
    background: rgba(255, 255, 255, 0.85);
  }
  .video-shell {
    margin: 6% 0 8%;
  }
  #line .btn-green {
    margin-bottom: 6%;
  }
}


/* LINE モーダル */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px 15px;
  z-index: 9999;
}
.modal-overlay.is-open {
  display: flex;
}
.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 40px 30px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover {
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  .modal-content {
    padding: 40px 20px 24px;
    border-radius: 12px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    font-size: 18px;
  }
}

/*----------------------------------------
  8. アニメーション
----------------------------------------*/
/* ボタンの光沢 */
@keyframes shiny-btn {
  0%   { -webkit-transform: scale(0) rotate(45deg);  transform: scale(0) rotate(45deg);  opacity: 0; }
  80%  { -webkit-transform: scale(0) rotate(45deg);  transform: scale(0) rotate(45deg);  opacity: 0.5; }
  81%  { -webkit-transform: scale(4) rotate(45deg);  transform: scale(4) rotate(45deg);  opacity: 1; }
  100% { -webkit-transform: scale(50) rotate(45deg); transform: scale(50) rotate(45deg); opacity: 0; }
}

/* LINE 登録ボタンの拡縮 */
.purun {
  animation: purun 1.5s linear infinite;
}
.purun:hover {
  animation: none;
}
@keyframes purun {
  0%  { transform: scale(.93); }
  15% { transform: scale(1.06); }
  30% { transform: scale(.98); }
  45% { transform: scale(1.02); }
  70% { transform: scale(1); }
}
