@charset "UTF-8";

/* ====================================
   基本設定 (Base)
   ==================================== */
html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  background-color: #000;
  line-height: 1.8;
  margin: 0;
}

a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  opacity: 0.7;
  color: #0044ff;
}

/* ====================================
   ★PCではスマホ用メニューを隠す（追加）
   ==================================== */
.hamburger-btn,
.sp-nav {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

/* ====================================
   共通クラス (Common)
   ==================================== */
.inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  padding-bottom: 150px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.title-en {
  font-family: 'Cormorant Garamond', serif; 
  font-size: 5.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em; 
}

.title-jp, 
.title-jp-large {
  font-size: 2.0rem;
  display: block;
  margin-top: 10px;
}

.caption {
  font-size: 1.4rem;
  color: #ccc;
  margin-bottom: 300px;
}

.blue-title, 
.blue-text {
  color: #0044ff;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 2.4rem;
}

/* ====================================
   ボタン (Buttons)
   ==================================== */
.btn-neon, 
.btn-fill, 
.btn-outline {
  display: inline-block;
  padding: 1.5rem 6rem;
  border: 1px solid #0044ff;
  border-radius: 4px;
  color: #0044ff;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
  font-size: 1.4rem;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
}

.btn-neon:hover, 
.btn-fill:hover, 
.btn-outline:hover {
  background-color: #0044ff;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 68, 255, 0.8);
  opacity: 1;
}

.btn-fill {
  background-color: #0044ff;
  color: #fff;
}

/* ====================================
   ヘッダー (Header)
   ==================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  backdrop-filter: blur(5px);
}

.header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  width: 60px;
  border-radius: 50%;
  transition: 0.3s;
}
.logo-img:hover {
  opacity: 0.7;
}

/* ナビゲーション */
.header-nav ul {
  display: flex;
  gap: 60px;
}

.header-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.0rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #0044ff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}
.header-nav a:hover::after {
  transform: scale(1, 1);
}

/* ====================================
   メインビジュアル (Hero)
   ==================================== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 400px;
}

.hero-title {
  font-size: 8rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: serif;
}

/* ====================================
   WORK & Web
   ==================================== */
.work-item, 
.web-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
}

.work-item.reverse, 
.web-item.reverse {
  flex-direction: row-reverse;
}

.work-visual, 
.web-img {
  width: 48%;
  text-align: center;
}

.work-details, 
.work-info, 
.work-desc, 
.web-info {
  width: 48%;
}

.thumb-img {
  border-radius: 4px;
}

.work-caption-title {
  font-weight: bold;
  margin-top: 15px;
  font-size: 1.8rem;
  text-align: center;
}

.detail-block {
  margin-bottom: 30px;
}

.detail-block h3 {
  font-size: 1.6rem;
  border-left: 3px solid #fff;
  padding-left: 10px;
  margin-bottom: 10px;
}

.detail-block p {
  font-size: 1.4rem;
  color: #ddd;
}

.web-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.web-info a {
  align-self: center;
}

.web-info h3 {
  text-align: center;
  width: 100%; 
  margin-bottom: 30px; 
}

.divider-line {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin: 80px 0;
}

/* ====================================
   学校・バナー・YouTube・Skill
   ==================================== */
.school-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.school-card {
  text-align: center;
}

.school-card h3 {
  font-size: 1.8rem;
  margin: 15px 0;
}

.school-card p {
  font-size: 1.4rem;
}

.small-note {
  font-size: 1.2rem;
  color: #888;
  display: block;
  margin-top: 5px;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 80px auto; 
}

.banner-box {
  width: 100%;
  text-align: center;
}

.banner-box img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  transition: opacity 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.banner-num {
  font-weight: bold;
  font-size: 1.8rem;
  margin-top: 15px;
}

.banner-desc-area {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.neon-container {
  border: 2px solid #0044ff;
  box-shadow: 0 0 20px rgba(0, 68, 255, 0.5);
  border-radius: 10px;
  padding: 50px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  margin-bottom: 300px;
}

.neon-title {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.neon-body {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  text-align: left;
  margin-bottom: 40px;
}

.neon-img img {
  width: 250px;
}

.neon-text {
  flex: 1;
  max-width: 500px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.skill-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin: 0 auto 60px;
}

.skill-card {
  background-color: #fff;
  color: #000;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.skill-icon-img {
  width: 60px;
  margin-bottom: 10px;
}

.skill-card h3 {
  color: #0044ff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 1.2rem;
  text-align: left;
}

.sub-tools-header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.0rem;
}

.skill-neon {
  margin-top: 50px;
}

.neon-sub-title {
  color: #0044ff;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* ====================================
   ABOUT (Grid Layout)
   ==================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 30px;
  align-items: stretch;
}

.about-col {
  display: contents;
}

.about-col:nth-child(1) .about-content:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.about-col:nth-child(1) .about-content:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
.about-col:nth-child(2) .about-content { grid-column: 2 / 3; grid-row: 1 / 3; height: 100%; }
.about-col:nth-child(3) .about-content:nth-child(1) { grid-column: 3 / 4; grid-row: 1 / 2; }
.about-col:nth-child(3) .about-content:nth-child(2) { grid-column: 3 / 4; grid-row: 2 / 3; }

.about-content {
  border: 1px solid #fff;
  padding: 30px 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  margin: 0;
}

.about-img {
  border-radius: 4px;
  margin-bottom: 20px;
}

.about-content .blue-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  margin-top: 10px;
}

/* 真ん中プロフィール */
.center-profile .about-content {
  justify-content: space-between;
  padding: 40px 20px;
}

.profile-group { width: 100%; margin-bottom: 15px; }
.profile-label { font-size: 1.2rem; color: #888; margin-bottom: 5px; }
.profile-name { font-size: 4rem; line-height: 1.2; font-weight: bold; }
.profile-en { font-size: 1.4rem; }
.tiny-note { font-size: 1.0rem; color: #888; margin-top: 5px; }

.strength-box { 
  border: none; 
  padding: 0; 
  margin: 10px auto; 
  font-size: 1.4rem; 
  width: 100%; 
}
.goal-text { 
  color: #0044ff; 
  font-size: 2.2rem; 
  margin-top: 20px; 
}

/* 信念・経歴 */
.box-title { 
  font-size: 2.0rem; 
  margin-bottom: 20px; 
  margin-top: 10px;
}

.quote {
  color: #0044ff;
  font-size: 2.0rem; 
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 40px;
}

.quote-desc, .desc-text { 
  text-align: left; 
  font-size: 1.4rem; 
  margin-bottom: 15px; 
  width: 100%; 
}

.values-list { 
  text-align: left; 
  font-size: 1.4rem; 
  padding-left: 10px; 
  width: 100%; 
}

.history-row { margin-bottom: 15px; }
.history-row .year { display: block; font-weight: bold; }
.history-row .event { font-size: 1.3rem; color: #ccc; }

/* ====================================
   フッター (Footer)
   ==================================== */
.footer {
  background-color: #000;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  border-top: 3px solid #0044ff;
}

.footer .inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-title {
  font-size: 3.0rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
}

.footer-desc {
  font-size: 1.4rem;
  margin-bottom: 50px;
}

.contact-form-area {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.form-group { margin-bottom: 30px; }

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #fff;
  font-weight: bold;
}

.require-label {
  background-color: #ff0000;
  color: #fff;
  font-size: 1.0rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: text-bottom;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 15px;
  background-color: #000;
  border: 2px solid #0044ff;
  border-radius: 0;
  box-sizing: border-box;
  color: #fff;
  font-size: 1.6rem;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
  box-shadow: 0 0 15px rgba(0, 68, 255, 0.5);
}

.form-group textarea {
  height: 200px;
  resize: vertical;
}

.contact-form-area button {
  display: block;
  width: 100%;
  margin-top: 40px;
  padding: 15px;
  background-color: #000;
  border: 1px solid #0044ff;
  color: #fff;
  font-weight: bold;
  font-size: 1.6rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-area button:hover {
  background-color: #0044ff;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 68, 255, 0.8);
}

.copyright {
  margin-top: 80px;
  font-size: 1.2rem;
  color: #888;
  text-align: center;
}

/* ====================================
   ★PC版：お問い合わせフォームのレイアウト修正
   ==================================== */
/* フォーム全体を中央に寄せて、幅を制限する */
form {
    max-width: 800px; /* 1000pxだと入力欄が長すぎるので800pxくらいが見やすいです */
    margin: 0 auto;   /* 画面の中央に配置 */
}

/* 送信ボタンを中央配置＆サイズ調整 */
.btn-neon {
    display: block;
    width: 300px;        /* PCでは横幅いっぱいでなく、程よいサイズに */
    margin: 40px auto 0; /* 上に余白、左右は自動（＝中央寄せ） */
    text-align: center;
}

/* ====================================
   PCレイアウトの調整（セクション間隔）
   ==================================== */
#web .section-header { margin-bottom: 40px !important; }
#web .caption { margin-bottom: 0 !important; }
#banner .section-header { margin-bottom: 40px !important; }
#banner .caption { margin-bottom: 20px !important; }
#banner { padding-bottom: 300px; }
#skill { padding-top: 250px !important; }

/* ====================================
   モーダルウィンドウ (Modal)
   ==================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center; 
}

/* ★基本の白い箱（バナー用） */
.modal-content {
  background: #fff;
  color: #333;
  padding: 20px 20px 60px 20px; 
  width: 90%;
  max-width: 950px;
  border-radius: 12px;
  position: relative;
  height: auto; 
  max-height: 90vh; 
  overflow-y: auto;
  transition: background 0.3s;
}

.modal-item h3 {
  margin-top: 0;      
  margin-bottom: 10px;
  font-size: 1.4rem; 
}

/* --- レイアウト（上下中央揃え） --- */
.modal-flex-layout {
  display: flex;
  gap: 40px;
  align-items: center; 
}

.modal-left {
  width: 40%;
  flex-shrink: 0;
  text-align: center;
}

.modal-left img {
  width: auto; 
  max-width: 100%; 
  height: auto;
  max-height: 220px; 
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: block; 
  margin-left: auto; 
  margin-right: auto;
}

.img-label {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: bold;
  color: #666;
}

.modal-right {
  width: 60%;
  text-align: left;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: bold;
  border-left: 5px solid #333;
  padding-left: 12px;
  margin-bottom: 10px;
  margin-top: 20px;
  line-height: 1.3;
}
.modal-title:first-child { margin-top: 0; }

.modal-desc p {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #333;
}

/* ====================================
   ★閉じるボタン（基本：バナー用）
   ==================================== */
.modal-close-btn {
  position: absolute;
  bottom: 20px;
  right: 25px;
  z-index: 100;
  color: #333;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: bold;
  background: #f0f0f0;
  padding: 8px 12px;
  border-radius: 30px;
  cursor: pointer;     
  transition: 0.3s;
}

.modal-close-btn:hover {
  background: #ddd;
}

/* ====================================
   ★動画モード（背景透明）
   ==================================== */
.modal-content.movie-mode {
  background: transparent !important; 
  padding: 0 !important;              
  box-shadow: none !important;        
  width: 100%;             
  max-width: 1000px;
  overflow: visible !important; 
}

/* 動画モードの時の「×ボタン」 */
.modal-content.movie-mode .modal-close-btn {
  top: auto;
  left: auto;
  bottom: -50px;
  right: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  padding: 0;
  color: #fff;
  font-size: 4.0rem;
  opacity: 0.8;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

.modal-content.movie-mode .modal-close-btn:hover {
  background: transparent; 
  color: #0044ff;
  opacity: 1;
}

/* ====================================
   ★アニメーション
   ==================================== */

/* --- ホバー演出 --- */
.work-visual, 
.school-card a, 
.banner-box a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.work-visual img, 
.school-card img, 
.banner-box img {
  transition: transform 0.5s ease;
  width: 100%;
}

.work-visual:hover, 
.school-card a:hover, 
.banner-box a:hover {
  border-color: #0044ff;
  box-shadow: 0 0 30px rgba(0, 68, 255, 0.8), 
              0 0 60px rgba(0, 68, 255, 0.4); 
  opacity: 1;
}

.work-visual:hover img,
.school-card a:hover img,
.banner-box a:hover img {
  transform: scale(1.05); /* 拡大 */
}

/* --- フェードイン --- */
.fade-in-up {
  opacity: 0; transform: translateY(50px); transition: 1s;
}
.fade-in-up.active {
  opacity: 1; transform: translateY(0);
}

.fade-in-left {
  opacity: 0; transform: translateX(-50px); transition: 1s;
}
.fade-in-left.active {
  opacity: 1; transform: translateX(0);
}

.fade-in-right {
  opacity: 0; transform: translateX(50px); transition: 1s;
}
.fade-in-right.active {
  opacity: 1; transform: translateX(0);
}

.zoom-in {
  opacity: 0; transform: scale(0.6); transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.zoom-in.active {
  opacity: 1; transform: scale(1);
}

.blur-fade {
  opacity: 0; filter: blur(10px); transform: scale(1.05); transition: 0.5s ease-out;
}
.blur-fade.active {
  opacity: 1; filter: blur(0); transform: scale(1);
}

/* 遅延設定 */
.delay-300 { transition-delay: 0.3s; }
.delay-600 { transition-delay: 0.6s; }
.delay-900 { transition-delay: 0.9s; }
.delay-1200 { transition-delay: 1.2s; }

/* オープニング */
@keyframes openingBlur {
  0% { opacity: 0; filter: blur(10px); transform: scale(1.05); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
.load-fade {
  animation: openingBlur 0.8s ease-out forwards;
  opacity: 0; 
}
.load-fade.delay-300 { animation-delay: 0.3s; }

/* ====================================
   ★「決意と想い」ページ
   ==================================== */
.thoughts-container {
  width: 100%;
  max-width: 800px; 
  margin: 0 auto;
  padding: 0 20px 150px; 
}

.thoughts-main-title {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-size: 4.0rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
}

.thoughts-section { margin-bottom: 120px; }
.thoughts-heading {
  color: #0044ff;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 40px;
}
.thoughts-text p {
  font-size: 1.6rem;
  line-height: 2.2;
  color: #fff;
  margin-bottom: 0;
}

/* 「決意と想い」ページ専用スピードアップ */
.thoughts-body .fade-in-up { transition: 0.6s !important; }
.thoughts-body .blur-fade { transition: 0.5s ease-out !important; }
.thoughts-body .delay-300 { transition-delay: 0.2s !important; }
.thoughts-body .delay-600 { transition-delay: 0.4s !important; }
.thoughts-body .delay-900 { transition-delay: 0.6s !important; }
.thoughts-body .delay-1200 { transition-delay: 0.8s !important; }

/* ====================================
   Topへ戻るボタン
   ==================================== */
#page-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  opacity: 0; transform: translateY(20px); transition: 0.5s; pointer-events: none;
}
#page-top.active {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
#page-top a {
  display: flex; justify-content: center; align-items: center;
  width: 80px; height: 80px; background-color: #000;
  border: 1px solid #fff; border-radius: 50%;
  color: #fff; font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; text-decoration: none; transition: 0.3s;
}
#page-top a:hover {
  background-color: #0044ff; border-color: #0044ff;
}

/* ====================================
   ★スマホ完全対応 (375px〜768px) 最終完結版
   ==================================== */
@media (max-width: 768px) {
  
  /* --- 0. 基本設定 --- */
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  .inner {
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* --- 1. TOPボタンのデザイン変更（タップ反応・修正版） --- */
  #page-top a {
    background-color: #000 !important; /* 通常：黒 */
    border: 1px solid #fff !important; /* 通常：白枠 */
    color: #fff !important;            /* 通常：白文字 */
    transition: 0.1s !important;       /* 一瞬で色が変わる */
    
    /* ★四角い枠（タップハイライト）を消す魔法のコード */
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }
  
  /* ★スマホ用：指で押している間だけ青くする（activeのみ） */
  #page-top a:active {
    background-color: #0044ff !important;
    border-color: #0044ff !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(0, 68, 255, 0.8) !important;
  }

  /* ★PC用：マウスが乗った時だけ青くする（スマホの「青残り」を防止） */
  @media (hover: hover) {
    #page-top a:hover {
      background-color: #0044ff !important;
      border-color: #0044ff !important;
      color: #fff !important;
      box-shadow: 0 0 15px rgba(0, 68, 255, 0.8) !important;
    }
  }

  /* --- 2. ヘッダーとハンバーガー --- */
  .header {
    padding: 10px 0;
    backdrop-filter: none !important;
    background-color: rgba(0, 0, 0, 0.9);
  }
  .pc-nav { display: none !important; }

  .hamburger-btn {
    display: block !important;
    position: fixed;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    z-index: 10000;
    cursor: pointer;
    background: transparent;
  }
  .hamburger-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
    display: block;
  }
  .hamburger-btn span:nth-of-type(1) { top: 10px; }
  .hamburger-btn span:nth-of-type(2) { top: 20px; }
  .hamburger-btn span:nth-of-type(3) { top: 30px; }

  .hamburger-btn.active span:nth-of-type(1) { transform: translateY(10px) rotate(45deg); }
  .hamburger-btn.active span:nth-of-type(2) { opacity: 0; }
  .hamburger-btn.active span:nth-of-type(3) { transform: translateY(-10px) rotate(-45deg); }

  .sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sp-nav.active { opacity: 1; visibility: visible; pointer-events: auto; }
  .sp-nav ul { display: block; text-align: center; }
  .sp-nav li { margin-bottom: 30px; }
  .sp-nav a { font-size: 2.0rem; color: #fff; font-family: 'Cormorant Garamond', serif; }


  /* --- 3. 文章・タイトルの調整 --- */
  
  /* 学校制作動画などの説明文を「左揃え」に */
  .school-card p,
  .banner-desc-area p {
    text-align: left !important;
  }

  /* セクション余白調整 */
  .section-header {
    margin-bottom: 50px !important;
  }

  .neon-title {
    font-size: 1.6rem !important;
    line-height: 1.5 !important;
    margin-bottom: 30px !important;
    word-break: keep-all; 
    overflow-wrap: break-word;
  }

  .quote {
    font-size: 2.2rem !important;
    line-height: 1.6 !important;  
    font-weight: bold;            
    letter-spacing: 0.05em;       
  }
  .web-info p br, .quote br { display: none !important; }
  .web-img { margin-bottom: 40px !important; }


  /* --- 4. モーダル×ボタン（右下固定） --- */
  .modal-close-btn {
    position: fixed !important;
    bottom: 25px !important;    
    right: 25px !important;
    top: auto !important;
    left: auto !important;      
    background: #fff;
    color: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10001;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 2.6rem;
    padding: 0;
  }
  .modal-content {
    padding: 40px 20px 90px 20px !important;
  }


  /* --- 5. ボタン（横幅いっぱい） --- */
  .btn-neon {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 1.8rem 0 !important;
    font-size: 1.6rem !important;
    font-weight: bold;
    box-sizing: border-box;
    white-space: nowrap !important;
    letter-spacing: 0.2em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .btn-area { width: 100% !important; padding: 0 !important; }


  /* --- 6. その他レイアウト --- */
  .work-caption-title {
    font-size: 1.6rem !important;
    white-space: normal !important;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 25px;
  }
  .work-caption-title br { display: block !important; }

  .title-en { font-size: 3.2rem !important; margin-bottom: 30px; }
  .hero-title { font-size: 4.0rem !important; margin-bottom: 10px; }
  .neon-text p, .work-info p { font-size: 1.3rem !important; text-align: left; }
  
  .about-layout, .work-item, .work-item.reverse, 
  .web-item, .web-item.reverse, .neon-body {
    display: flex; flex-direction: column;
  }
  .about-col { display: block; margin-bottom: 40px; }
  .about-content { margin-bottom: 30px; height: auto; }
  .work-visual, .work-details, .work-info, 
  .web-info, .web-img, .work-desc { width: 100%; }
  .school-grid, .banner-grid, .skill-grid, .skill-grid.three-col {
    grid-template-columns: 1fr; gap: 40px;
  }
  .banner-grid { max-width: 100%; }
  
  .school-card, .work-item { margin-bottom: 80px !important; }
  .banner-box, .skill-card { margin-bottom: 40px; }
  .header { padding: 10px 20px; }
  .footer { padding: 60px 20px; }
  
  .modal-flex-layout { flex-direction: column; }
  .modal-left, .modal-right { width: 100%; }
  .modal-left img { max-height: 300px; }

  /* YouTubeなどのネオンエリア調整 */
  .neon-container {
    padding: 40px 20px !important;
  }
  .neon-img img {
    /* ▼ 120px → 100px に変更 */
    width: 100px !important; 
    margin: 0 auto 20px;
  }
}


/* ====================================
   ★お問い合わせ・フッターの最終修正
   ==================================== */

/* 青い線を画面の幅いっぱいに引く設定 */
.blue-divider {
    width: 100%;
    height: 1px;
    background-color: #0044ff;
    margin: 40px 0 100px 0; /* 上に40px、下に60pxの余白 */
}

/* フォームの下にしっかり余白を作る */
form {
    margin-bottom: 100px !important; /* ボタンの下にスペースを空ける */
}

/* 復活させたフッターのデザイン */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #333; /* フッターの上にも薄い線を入れる */
    margin-top: 50px;
}

/* 広告対策：ヘッダーと中身を下にずらす */
body {
    padding-top: 90px !important; /* 上に90pxの隙間を作る */
}
header {
    top: 90px !important; /* メニューも90px下から開始する */
}