@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;700&display=swap');


body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #d8f0ff 0%, #9fd3ff 100%);
}


/* コンテンツは前面に */
.wrapper { position: relative; z-index: 1; }


.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative; /* ★追従ボタンの基準にする */
  background-color: #fff;
}

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

/* 波 */
.ripple-layer {
  position: fixed;
  inset: 0; 
  width: 100vw; 
  height: 100vh; 
  background: transparent;
  pointer-events: none; 
  z-index: 1 !important; 
}

/* 背景用レイヤーは画面全面・背面、クリックは通す */
.ripple-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;            /* -1 は環境で非表示になる事があるので 0 推奨 */
  background: transparent;
  pointer-events: none;  /* 背景の上でも操作はコンテンツに届く */
  will-change: transform;
}


/* fv cont */
.fv{
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.fv__img{
  width: 100%;
  display: block;
  vertical-align: bottom;
}

/* 位置はお好みで（左下寄せ例） */
.fv__catch {
  position: absolute;
  left: 6%;
  top: 48.5%;
  display: flex;
  flex-direction: column;       /* 縦並び */
  align-items: flex-start;      /* 文字幅に合わせる */
  gap: .20em;                   /* 行間 */
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  color: #0b3f8e;               /* 濃い青系 */
	font-size: 53px; /* ← 1000px以上では固定 */
  line-height: 1;
}

/* ↓1000px以下でのみ縮む */
@media (max-width: 1000px) {
  .fv__catch {
    font-size: calc(53px * (100vw / 1000));
  }
}

@media screen and (max-width: 767px) {
  .fv__catch {
        left: 4%;
        top: 51%;
        font-size: clamp(18px, 5.85vw, 36px);
  }
}

/* 各行の白ベタ（80％透過） */
.fv__catch span {
  background: rgba(255,255,255,0.7);  /* 白ベタ透過80％ */
  padding: .08em .2em;                /* 上下・左右の余白 */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}




/* banner content */
.br_cont {
  position: relative;   /* ← 重ねる基準 */
  width: 100%;
  max-width: 1000px;    /* 必要に応じて変更 */
  margin: 0 auto;
}


/* 上に重ねる画像 */
.br_ovly {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90% !important;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.br_cont {
  position: relative;
}

/* リンクを前面に配置して、バナー画像の大きさに合わせる */
.br_link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;     /* ← ★ここが重要。高さ0を防ぐ */
  z-index: 10000;   /* ripple-layer より上に */
  pointer-events: auto;
}

@media screen and (max-width: 767px) {
.br_link {
  height: 86%;     /* ← ★ここが重要。高さ0を防ぐ */
}
}


/* Googleリンクブロック */
.gglmp_link {
    position: absolute;
    top: 85%;
    right: 6.5%;
    z-index: 10000;
}

/* Google map ボタン */
.btn-google {
display: inline-flex
;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    background: #ffe89c;
    color: #c70000;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}


/* ホバー時の動き */
.btn-google:hover {
  background: #ffdb6d;
  transform: translateY(-2px);
}

/* 🔽 767px以下（SP）用 */
@media (max-width: 767px) {
  .gglmp_link {
		position: absolute;
        top: 76.8%;
        right: 16%;
        transform: translateX(50%);
        z-index: 10000;
        text-align: center;
  }

  .btn-google {
        padding: 10px 4px;
        font-size: 8px;
        border-radius: 4px;
  }

}


/* sub section */

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1000px;
  background-color: #f7feff;    /* ← セクション背景色 */
    padding: 0 6%;
  border-radius: 16px;          /* ← 角丸でやわらかく */
}

.feature__item {
  border: 3px solid #f28b00;
  border-radius: 12px;
  background: #fff;             /* ← 各カードは白 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.feature__item h3 {
  background: #f28b00;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  padding: 14px;
  margin: 0;
}

.feature__item p {
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* 黄色マーカー */
.feature__item mark {
  background: #fff36b;
  padding: 0 2px;
}



/* mv content yutubu */
.video-over-image {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  isolation: isolate;            /* 重なり順の独立（z-indexの効きを安定化）*/
}

.voi__base {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;          /* 背景画像がクリックを奪わない */
  user-select: none;             /* 画像の選択防止 */
  -webkit-user-drag: none;       /* 画像ドラッグ防止（Safari対策）*/
}

/* ▼ 共通：iframeを画像の上に重ねる */
.voi__video {
  position: absolute;
  z-index: 10000;
  aspect-ratio: 16 / 9;
  outline: none;
}
.voi__video:focus-within {
  outline: 2px solid #0a84ff;
  outline-offset: 2px;
}

.voi__video iframe {
  width: 100%;
  height: 100%;
  display: block;                /* 余白や謎の隙間対策 */
  border: none;
  pointer-events: auto;          /* 念のため明示 */
}

/* ▼ 古いブラウザ向け：aspect-ratioのフォールバック */
@supports not (aspect-ratio: 16 / 9) {
  .voi__video {
    position: absolute;
  }
  .voi__video::before {
    content: "";
    display: block;
    padding-top: 56.25%;         /* 16:9 */
  }
  .voi__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* ▼ 動画Aの位置（そのまま） */
.voi__video--a {
    left: 15.5%;
    top: 8.9%;
    width: 69.5%;
}

/* ▼ 動画Bの位置（そのまま） */
.voi__video--b {
    left: 15.5%;
    top: 55.5%;
	width: 69.5%;
}

/* スマホ用：動画位置とサイズ調整（そのまま） */
@media (max-width: 767px) {
  .voi__video--a {
    left: 6.5%;
    top: 10%;
    width: 87%;
  }
  .voi__video--b {
    left: 6.5%;
    top: 60.5%;
    width: 87%;
  }
}



/* contact */

:root{
  --fc-bg: #007eca;
  --fc-bg-hover: #007eca;
  --fc-text: #fff;
}

/* ========== 共通スタイル ========== */
.follow-contact{
  position: fixed;
  z-index: 99999;
  background: var(--fc-bg);
  color: var(--fc-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, transform .2s ease;
  font-weight: 400;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* アイコン */
.follow-contact__icon{
  display: grid;
  place-items: center;
}
.follow-contact__icon img{
  width: 30px;
  height: auto;
}

.follow-contact {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}


/* ========== PC表示：右端縦型 ========== */
@media (min-width: 769px){
    .follow-contact {
        right: max(calc(50vw - 500px), 16px);
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 10px;
        border-radius: 20px 0 0 20px;
        padding: 34px 25px;
  }
  .follow-contact__icon{
    width: 36px;
    height: 28px;
  }
  .follow-contact__label{
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .08em;
    font-size: 18px;
    line-height: 1.2;
  }
}

/* ========== SP表示：下部横型 ========== */
@media (max-width: 768px){
  .follow-contact{
	left: 10px;
        right: 10px;
    bottom: 0;
    margin: 0 auto;
    height: 60px;
    border-radius: 20px 20px 0 0;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    box-shadow: 0 -6px 20px rgba(0,0,0,.1);
  }
  .follow-contact__icon{
    width: 34px;
    height: 26px;
  }
  .follow-contact__label{
    font-size: 16px;
    letter-spacing: .02em;
    line-height: 1;
  }
  .follow-contact:active{
    transform: translateY(2px);
  }
}

.follow-contact {
  transition: opacity .6s ease;
}
@media (max-width: 1040px) and (min-width: 768px) {
  .follow-contact {
    right: 0;
  }
}





/* エラーメッセージ色（クラス無しでも拾う） */
#mailformpro .mailform dd + p,
#mailformpro .mailform dd > p,
#mailformpro .mailform .mfp_errmsg,
#mailformpro .mailform .mfp_error_msg,
#mailformpro .mailform .mfp_error_text {
  color: #c43232 !important;   /* 落ち着いた赤 */
  font-weight: 600 !important;
  margin-top: 6px;
}

/* グレー（押せそうに見えない状態） */
#mailformpro .mfp_buttons button[disabled],
#mailformpro .mfp_buttons input[type="submit"][disabled] {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
}




/* ボタンを押したときに位置がズレる挙動を無効化 */
#mailformpro .mfp_buttons button:active,
#mailformpro .mfp_buttons input[type="submit"]:active {
  transform: none !important;
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: inherit !important;
}

/* thanks cont */
/* --- 既存CSSを確実に上書きする --- */
#wrapper.mfp_thanks {
  max-width: 800px;
  margin: 100px auto;
  padding: 60px 20px;
  text-align: center !important;      /* ← 強制中央揃え */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.mfp_thanks h2,
.mfp_thanks p,
.mfp_thanks #ThanksComment {
  text-align: center !important;      /* ← 子要素も強制中央揃え */
}

.thx__title {
  font-size: 28px;
  font-weight: 700;
  color: #007eca;
  margin-bottom: 20px;
}

.thx__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}

#ThanksComment {
  margin: 20px auto 24px;
  color: #666;
  font-size: 14px;
}


/* トップへ戻るボタン */
.thx__btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 36px;
  background: #007eca;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.thx__btn:hover {
  background: #006cb0;
}

/* フッター */
.thx__footer {
  margin-top: 60px;
  font-size: 13px;
  color: #888;
  text-align: center !important;      /* ← 念のため明示 */
}

/* top return */

/* 右下固定・初期は非表示 */
.pagetop{
  position: fixed;
  right: max(calc(50vw - 500px), 16px); /* ← wrapperが最大1000pxの場合、右端に沿わせる。 */
  bottom: 16px;
  z-index: 10000;
  display: inline-block;
  width: 64px;          /* 画像サイズ（調整可） */
  height: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.pagetop img{
  display: block;
  width: 100%;
  height: auto;
}

/* 表示状態 */
.pagetop.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s; 
}

/* ホバー（任意） */
@media (hover:hover){
  .pagetop:hover{ transform: translateY(-2px); }
}

/* スマホ調整：画面端に寄せる */
@media (max-width: 768px){
  .pagetop{
    right: 2%;          /* 端に固定したい場合 */
    bottom: 10%;
    width: 56px;          /* 少し小さめ */
  }
}

/* フォームセクションの外側スペース（背景はbodyが水色） */
  :root {
    --container-w: 1000px !important;
  }
  #form_area {
    max-width: 1000px !important;
	padding: 0;
  }
  #container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 10%;
  }

/* もし #container 内に横幅100%画像やテーブルがあるなら保険で */
#container img, 
#container table {
  max-width: 100%;
  height: auto;
}

/* スマホ調整：画面端に寄せる */
@media (max-width: 768px){
  #container {
	  
    padding: 20px 5%;
  }
}


/* ------------------------------
   フッター共通スタイル（フォームと同じレイアウト幅）
------------------------------ */
#footer {
  max-width: 1000px;        /* 幅1000px（画面が狭いときは自動縮小） */
  width: 100%;
  margin: 0;      /* 中央寄せ・上に余白 */
  background: #fff;         /* 背景白 */
  text-align: center;
  color: #333;
  font-size: 14px;
	padding: 20px 0 50px 0;
}

/* pタグの余白をリセット */
#footer p {
  margin: 0;
  line-height: 1.6;
}
