/* 共通レイアウト */
body {
	padding-top: 120px !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300; /* 通常本文はLight（300）に */
  line-height: 1.7;
  color: #666 !important;
  font-size:120%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.content-area{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

img, iframe {
  max-width: 100%;
  height: auto;
  /*display: block;*/
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* 他の要素より前面に出す */
  background: #fff; /* 背景色がないと下の要素が透けます */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 任意：影をつけて浮かせる */
}


.lp2_eyecatch figure.aligncenter.size-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 49vw);
  margin-right: 0;

}

.lp2_eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}


.site {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

.wp-block-heading {
  font-weight: 600;
  text-align: center;
  margin: 2em 0 1em;
}

h3.wp-block-heading {
  font-size: 1.5em;
  text-align: left;
  border-bottom: 2px solid #52c3f1;
  padding-bottom: 0.1em;
}

h4.wp-block-heading {
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: left;
  padding-bottom: 0.1em;
  color: #00a1e9;
}

p {
  margin-bottom: 1.5em;
}

ul.wp-block-list, ol.wp-block-list {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

/* アイキャッチ */
.lp2_eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ボタン全般 */
.wp-block-button__link {
  display: inline-block;
  text-align: center;
  padding: 0.75em 1.5em;
  color: #fff;
  background-color: #f7941e;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.wp-block-button__link:hover {
  background-color: #e6800c;
}

/* ポイントボタン */
.lp2_point_btn .wp-block-button__link {
  background-color: #00c9a7;
  font-size: 0.9rem;
  margin: 0.5em;
}



/* カラム対応 */
.wp-block-columns {
  display: flex;
  gap: 20px;
  margin-bottom: 2em;
}

.wp-block-column {
  flex: 1;
}

.aligncenter {
  text-align: center;
}

/* 画像調整 */
figure img {
  max-width: 100%;
  height: auto;
  /*display: block;*/
  border-radius: 6px;
  object-fit: cover;
}

/* 表 */
.wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}

.wp-block-table td {
  border: 1px solid #ccc;
  padding: 10px;
}

/* セクション見出し */
.has-vivid-red-color {
  color: #e60012;
}

.has-text-align-center {
  text-align: center;
}

/* 横並び画像＋テキスト（スマホ縦並び） */
.wp-block-group.is-nowrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin: 2em auto;
  max-width: 800px;
}

.wp-block-group.is-nowrap figure {
  flex-shrink: 0;
  width: 100%; /* アイコンサイズ調整 */
  margin: 0;
}

.wp-block-group.is-nowrap figure img {
  width: 100%;
  height: auto;
  display: block;
}

.wp-block-group.is-nowrap p {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.section_lead{
	color: #00a1e9;
    font-weight: 600;
    font-size: 1.2em;
    line-height: 1.5em;
}

.point_area {
  border: 2px solid #f7941e;
  border-radius: 12px;
  padding: 1.5em;
  background-color: #fff;
  margin: 2em auto;
  max-width: 800px;
  box-sizing: border-box;
}

.site-header {
  background: #fff;
  padding: 1em 1em 0 1em;
}

.site-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.site-logo {
  flex-shrink: 0;
}
.site-logo img{
	width:200px;
}
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 32px; /* 三本線の大きさ調整 */
  cursor: pointer;
  color: #333; /* 必要なら色を指定 */
  margin-left: auto; /* ロゴの右側に寄せる */
}

.site-nav ul {
  display: none; /* モバイルでは非表示、toggleで表示 */
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #fff;
}

.site-nav li {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.site-nav.active ul {
  display: flex;
}


/* スマホ表示 */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none; /* 初期状態では非表示 */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column; /* ← 縦並びに修正 */
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .site-nav li {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    text-align: left;
  }
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .wp-block-group.is-nowrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .wp-block-group.is-nowrap figure {
    /*width: 80px;*/
    margin-bottom: 0; /* ← 画像下の余白を削除 */
  }

  .wp-block-group.is-nowrap p {
    margin-top: 0.5em; /* ← テキスト上の余白を最小限に */
  }
}

.no-margin-side {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.linx-formtext {
    padding: 0.6rem;
	font-size:1rem;
    border-radius: 6px !important;
	border: 1px solid #999 !important;
    background-color: #FFF !important;
	color: #333;
    margin-top: 0.5rem;
}

.must {
    display: inline-block;
    background-color: crimson;
    color: #FFF;
    padding: 0 0.7em 0 0.7em;
    font-size: 0.8em;
    border-radius: 3px;
    vertical-align: bottom;
}

.must2 {
    display: inline-block;
    background-color: #E67E22;
    color: #FFF;
    padding: 0 0.7em 0 0.7em;
    font-size: 0.8em;
    border-radius: 3px;
    vertical-align: bottom;
}

.wpcf7-radio .wpcf7-list-item label {
    background-color: #ffe4b5;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 14px;
    margin-right: 10px;
    display: inline-block;
    border-radius: 6px;
    cursor: pointer;
}
.ss_privacy {
    padding: 0.5em;
    border: 1px solid #e5e5e5;
    height: 110px;
    overflow: auto;
    color: #333333;
    background-color: #EFEFEF !important;
    word-break: break-all;
    margin-bottom: 1.5em;
}
.fv_cta_mail .wp-block-button__link, button, input[type="button"], input[type="reset"], input[type="submit"] {
    width: 80%; /* 横幅いっぱい */
    border-radius: 5px;
    background: linear-gradient(to bottom, #98cb66, #70b352); /* グラデーション */
    color: #fff;
    font-size: 24px; /* 1.5倍のサイズ（元が16px） */
    line-height: 46px;
    padding: 0 25px;
    /*height: 60px;*/
    border: none !important;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 下方向に影 */
    transition: all 0.2s ease;
    cursor: pointer;
    display: block;
}
.fv_cta_mail .wp-block-button__link:hover, button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    transform: translateY(2px); /* 下に沈む */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.0); /* 影も沈める */
}



.wp-container-core-group-is-layout-94bc23d7 {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.wp-container-core-group-is-layout-94bc23d7 figure.wp-block-image.size-medium {
  flex: 1 1 33.333%;
  max-width: 33.333%;
  margin: 0;
  padding: 0;
}

.wp-container-core-group-is-layout-94bc23d7 figure.wp-block-image.size-medium img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 768px) {
  .wp-container-core-group-is-layout-94bc23d7 figure.wp-block-image.size-medium {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .wp-container-core-group-is-layout-94bc23d7 figure.wp-block-image.size-medium img {
    width: 100%;
    height: auto;
    display: block;
  }
}


.wp-block-embed-youtube.wp-has-aspect-ratio iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

/* PC */
@media screen and (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .site-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5em; /* メニュー間のスペース */
    margin: 0;
    padding: 0;
    list-style: none;
	flex-wrap: wrap;
  }

  .site-nav li {
	font-size:0.8em;
    display: inline;
    white-space: nowrap;
    padding: 0;
    margin: 0;
  }
}

.marker {
  background-image: linear-gradient(to bottom, transparent 60%, #ffff66 60%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}


.flex-image-column {
  flex: 0 0 auto;
  padding: 0 1em;
}
.flex-text-column {
  flex: 1;
}


@media screen and (max-width: 768px) {
  .wp-block-columns.is-layout-flex {
    flex-direction: column;
  }

  .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .wp-block-column figure.aligncenter {
    margin-left: auto;
    margin-right: auto;
  }
}


.wp-block-table {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
/* テーブルのスタイル調整 */
.wp-block-table td,
.wp-block-table th {
  border-top: 1px solid #ccc;
  border-bottom: none;
  padding: 0.75em 1em;
  text-align: left;
  box-sizing: border-box;
}

/* 最後の行だけ下線を追加 */
.wp-block-table tr:last-child td {
  border-bottom: 1px solid #ccc;
}

/* 内容セル（2列目）をグレー背景に */
.wp-block-table td:nth-child(1) {
    font-weight: bold;
  background-color: #f9f9f9;
}



@media screen and (max-width: 768px) {
  .wp-block-table table,
  .wp-block-table tbody,
  .wp-block-table tr {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .wp-block-table tr {
    border-bottom: 1px solid #ccc;
  }

  .wp-block-table td,
  .wp-block-table th {
    display: block;
    width: 100%;
    padding: 0.75em 1em; /* ← セル内の余白をしっかり確保 */
    margin: 0;
    text-align: left;
    box-sizing: border-box;
  }

  .wp-block-table td:first-child,
  .wp-block-table th:first-child {
    font-weight: bold;
    background: #f9f9f9;
    border-bottom: 1px dashed #ccc;
  }
}
.has-text-align-right{
	text-align:right;
	font-weight:bold;
}

@media screen and (max-width: 768px) {
  .wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column; /* ← 縦並びにする */
    gap: 0.5em; /* ← 項目の間に少し余白（任意） */
  }

  .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    display: block;
  }
}

/* スマホ時のCTA徹底リセット */
@media (max-width: 768px) {
  .follow_cta {
    position: fixed !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;     /* ← 幅は左右指定で自動決定 */
    transform: none !important;  /* ← これが残るとズレます */
    width: auto !important;      /* ← 620px等の固定幅を無効化 */
    max-width: none !important;
    box-sizing: border-box;
    z-index: 1000;
  }
  /* 中身もはみ出さないように */
  .follow_cta figure,
  .follow_cta a { margin: 0 !important; display: block; }
  .follow_cta img { display: block; width: 100% !important; height: auto !important; }
}
/* スマホで本文中の画像を横幅いっぱいに（CTAは除外） */
@media (max-width: 768px) {
  /* figure自体の固定幅を解除して100%に */
  .entry-content .wp-block-image:not(.follow_cta) figure,
  .entry-content figure.aligncenter.size-full {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* 画像も親幅にフィット */
  .entry-content .wp-block-image:not(.follow_cta) img,
  .entry-content figure.aligncenter.size-full img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}


/* スマホ時：基本は全幅。CTAと no-fullwidth は除外 */
@media (max-width: 768px) {
  /* 🔸デフォルト：全幅にするターゲット（CTA除外 + no-fullwidth除外） */
  .entry-content .wp-block-image:not(.follow_cta):not(.no-fullwidth) > figure:not(.no-fullwidth) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .entry-content .wp-block-image:not(.follow_cta):not(.no-fullwidth) > figure:not(.no-fullwidth) img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* 🔸例外：no-fullwidth が付いている要素は“元のサイズ感”のまま
     （はみ出し防止のため max-width:100% は残す） */
  .entry-content .no-fullwidth,
  .entry-content .no-fullwidth img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  /* no-fullwidth が付いた figure や画像はサイズを元に戻す */
  figure.no-fullwidth,
  .wp-block-image.no-fullwidth,
  figure.no-fullwidth img,
  .wp-block-image.no-fullwidth img {
    width: auto !important;
    max-width: 100% !important; /* はみ出し防止だけ残す */
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}
