/* ===========================
   リセット & 基本設定
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Yu Gothic', 'メイリオ', Meiryo, sans-serif;
  color: #333;
  background-color: #e8e8e8; /* グレー背景でシャドウが見えるように */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===========================
   メインコンテナ
   =========================== */
.lp-container {
  width: 100%;
  max-width: 750px; /* PC表示時の最大幅を750pxに制限 */
  margin: 0 auto;
  background-color: #fff; /* コンテンツ部分は白背景 */
  /* PCのみ両側にシャドウ */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

/* スマホではシャドウを削除 */
@media screen and (max-width: 767px) {
  body {
    background-color: #fff; /* スマホは白背景 */
  }
  
  .lp-container {
    box-shadow: none;
  }
}

/* ===========================
   セクション共通
   =========================== */
.section {
  width: 100%;
  position: relative;
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   CTAボタンセクション
   =========================== */
.section-cta {
  background: #fff;
  padding: 0; /* パディング削除 */
  width: 100%;
}

.cta-container {
  width: 100%;
  margin: 0 auto;
  padding: 0; /* パディング削除 */
  display: flex;
  flex-direction: column;
  gap: 0; /* 隙間なし */
  align-items: center;
}

.cta-button-img {
  display: block;
  width: 100%;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.cta-button-img:hover {
  opacity: 0.85;
}

.cta-button-img:active {
  opacity: 0.7;
}

.btn-image {
  width: 100%;
  height: auto;
  display: block;
  /* シャドウ削除 */
}

/* 営業時間画像（btn_u.png）だけ幅90% */
.info-hours-image {
  width: 90%;
  margin: 0 auto;
}

/* 上に戻るボタン（btn_u2）だけ幅70% */
.btn-back-to-top {
  width: 70%;
  margin: 0 auto;
}

/* スムーススクロール */
.scroll-to-top {
  scroll-behavior: smooth;
}

/* ===========================
   セクション17: 背景画像 + コンテンツ
   =========================== */
.section-17-with-bg {
  background-color: transparent; /* 背景を透明に */
  border: 8px solid #000; /* 黒枠だけ */
  padding: 40px 0; /* 60pxから40pxに */
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.section-17-content {
  width: 80%; /* 80%に変更 */
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0; /* ボタンと画像の間に隙間なし */
  align-items: center;
}

.media-content-image {
  width: 100%;
  height: auto;
  display: block;
}

.section-17-line-button {
  width: 100%;
  margin-top: 0; /* 画像のすぐ下に配置 */
}

.section-17-line-button a {
  display: block;
  transition: opacity 0.2s ease;
}

.section-17-line-button a:hover {
  opacity: 0.85;
}

.section-17-line-button a:active {
  opacity: 0.7;
}

/* スマホでの調整 */
@media screen and (max-width: 767px) {
  .section-17-with-bg {
    padding: 30px 0;
    border: 5px solid #000; /* スマホは枠を細く */
  }
  
  .section-17-content {
    width: 85%; /* スマホ用 */
  }
}

/* ===========================
   YouTube動画セクション
   =========================== */
.section-youtube {
  background: #ffffff;
  padding: 40px 0;
  width: 100%;
}

.youtube-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.youtube-title {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  line-height: 1.5;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 比率 */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.youtube-wrapper:last-child {
  margin-bottom: 0;
}

.youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================
   フッター
   =========================== */
.footer {
  background: #2c2c2c;
  color: #fff;
  padding: 40px 20px 30px;
  text-align: center;
  width: 100%;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
}

.footer-company {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-tel {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ff9800;
}

.footer-hours {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-access {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #444;
}

.footer-access p {
  margin: 5px 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  padding-top: 15px;
  border-top: 1px solid #444;
}

.footer-link {
  font-size: 0.8rem;
  color: #aaa;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #888;
  margin-top: 10px;
}

/* ===========================
   レスポンシブ対応
   =========================== */

/* スマホ（〜767px） */
@media screen and (max-width: 767px) {
  .youtube-title {
    font-size: 1.1rem;
  }
  
  /* スマホでもbtn_uとbtn_u2の幅を維持 */
  .info-hours-image {
    width: 90% !important;
    margin: 0 auto;
  }
  
  .btn-back-to-top {
    width: 70% !important;
    margin: 0 auto;
  }
}

/* タブレット・PC（768px〜） */
@media screen and (min-width: 768px) {
  .youtube-title {
    font-size: 1.5rem;
  }
}
