@charset "UTF-8";
/*
Theme Name: nicofarmofficial
Theme URI: https://saika-nico.jp
Author: Salon Nico
Description: Salon 二虹-nico- のオリジナルテーマ
Version: 1.0
*/

/* =========================
   共通変数（高さ・色の統一）
========================= */
:root{
  --header-height: 115px;   /* header { height } と必ず一致させる */
  --bg: #FFF8E1;
  --accent: #a56300;
  --text: #333;
}

/* =========================
   Reset / Base
========================= */
html, body {
  margin: 0;
  padding: 0;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
P,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* box-sizing */
*,
*::before,
*::after{
  box-sizing: border-box;
}

/* html font base */
html {
  font-size: 62.5%;
}

/* body 基本（固定ヘッダー分を下げる） */
body {
  padding-top: var(--header-height);
  font-family: "Hiragino Kaku Gothic Pro", "Meiryo", "MS PGothic", sans-serif;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg);
  margin-top: 0 !important;

  /* ✅ flex-direction を効かせる */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

article,
aside,
details,
figcaption,
figure,
footer,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul { list-style: none; }

blockquote,
q { quotes: none; }

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: var(--text);
}

a:hover { text-decoration: none; }

p a {
  text-decoration: underline;
  color: var(--accent);
}
p a:hover { text-decoration: none; }

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del { text-decoration: line-through; }

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select { vertical-align: middle; }

li { list-style: none; }

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

/* =========================
   Layout
========================= */
#wrapper {
  width: 100%;
  background-color: var(--bg);
  margin: 0;
  padding: 0;

  /* ✅ body flex の中で伸びる */
  flex: 1 0 auto;
}

#wrapper > *:first-child {
  margin-top: 0;
}

.w_inner {
  width: 100%;
  max-width: 1490px;
  margin-right: auto;
  margin-left: auto;
}

/* ✅ セレクタ誤り修正 */
#container:not(.container_front, .container_404) {
  display: flex;
}
#container:not(.container_front, .container_404) main {
  flex: 1 1 auto;
}
#container:not(.container_front, .container_404) .container_side {
  width: 310px;
  min-width: 310px;
  margin-left: 40px;
}

input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* =========================
   Common components
========================= */
.col_3_wrap {
  display: flex;
}

.col_3_wrap > * {
  width: 100%;
  max-width: calc(1490px / 3 - 20px);
}

.col_3_wrap > *:nth-child(3n + 2) {
  margin-right: 30px;
  margin-left: 30px;
}

.col_3_wrap > a:hover { text-decoration: none; }

.col_3_wrap > a:hover .btn_common {
  background: #ffffff;
  color: var(--accent);
  transition: 0.3s all ease;
}

@media screen and (max-width: 1024px) {
  .col_3_wrap > *:nth-child(3n + 2) {
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media screen and (max-width: 767px) {
  .col_3_wrap { flex-direction: column; }

  .col_3_wrap > * {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .col_3_wrap > *:last-child { margin-bottom: 0; }

  .col_3_wrap > *:nth-child(3n + 2) {
    margin-right: 0px;
    margin-left: 0px;
  }
}

.col_4_wrap {
  display: flex;
  flex-wrap: wrap;
}

.col_4_wrap > * {
  width: 100%;
  max-width: calc(1490px / 4 - 30px);
  margin-right: 40px;
}

.col_4_wrap > *:nth-child(4n) { margin-right: 0; }

.col_4_wrap > a:hover { text-decoration: none; }

.col_4_wrap > a:hover .btn_common {
  background: #ffffff;
  color: var(--accent);
  transition: 0.3s all ease;
}

.btn_common {
  background: var(--accent);
  display: inline-block;
  margin-top: 20px;
  padding: 7px 12px 4px;
  color: #ffffff;
  transition: 0.3s all ease;
  border: 1px solid var(--accent);
}

.btn_common:hover,
a:hover .btn_common {
  background: #ffffff;
  color: var(--accent);
  transition: 0.3s all ease;
  text-decoration: none;
}

#breadcrumb {
  margin-bottom: 20px;
  color: #777777;
  font-size: 1.2rem;
}
#breadcrumb a { color: #777777; }

.page_head,
.section_head {
  font-weight: bold;
  font-size: 3.2rem;
  margin-bottom: 25px;
  color: var(--accent);
}

.content_head {
  font-size: 2rem;
  font-weight: bold;
  padding: 0 2px 7px;
  margin-bottom: 20px;
  border-bottom: 3px solid #cfcfcf;
}

/* circle-check */
.circle-check {
  position: relative;
  padding-left: 30px;
}
.circle-check::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* info icon */
.info {
  position: relative;
  padding-left: 30px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}
.info .note {
  font-size: 14px;
  margin-left: 5px;
}
.info::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info.time::before { content: "🕒"; }
.info.postal::before { content: "〒"; }
.info.phone::before { content: "📞"; }

/* =========================
   Header
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;

  /* 透過 */
  background-color: rgba(255, 255, 255, 0.5);

  /* 透過部分の背後をぼかす */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .header_top {
  padding: 13px 0 12px;
  display: flex;
  align-items: center;
}

header .header_top .logo {
  margin-right: auto;
  padding-right: 20px;
}

/* ロゴ画像と文字を横並び＆高さ中央 */
.logo-wrap a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* ヘッダー内ロゴ全体を横並びに */
.header_top .logo .img {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ロゴ画像サイズ */
.header_top .logo .img img {
  height: 60px;
  width: auto;
}

/* ロゴ横の文字 */
.header_top .logo .logo-text {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: bold;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}

/* ロゴ画像 + 文字 を確実に横並びにする */
header .header_top .logo .img a{
  display: flex;
  align-items: center;
  gap: 10px;
}

header .header_top .logo .tagline {
  font-size: 1.2rem;
  margin-bottom: 0px;
  font-weight: normal;
}

header .header_top .nav_wrap {
  display: flex;
  justify-content: center;
  align-items: center; /* ★ flex-end → center に変更 */
}


header .header_top .nav_wrap > input { display: none; }

header .header_top .nav_wrap nav ul {
  display: flex;
  align-items: center;
}

header .header_top .nav_wrap nav ul li { margin-left: 20px; }

/* ナビゲーションリンク共通 */
header .header_top .nav_wrap nav ul li a {
  display: block;
  padding: 8px 12px;
  border: 1px solid #DCDCDC;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--text);
  font-size: 1.6rem;
}

header .header_top .nav_wrap nav ul li a:hover {
  opacity: 0.8;
  background-color: #F0F8FF;
  text-decoration: none;
}

/* お問い合わせ（最後）も共通化 */
header .header_top .nav_wrap nav ul li:last-child {
  background: none;
  margin-right: 20px;
}

header .header_top .nav_wrap nav ul li:last-child a:hover {
  background: #ffffff;
  color: var(--text);
  opacity: 1;
}

/* ===== ヘッダー高さ：ここを 115px に固定 ===== */
:root{
  --header-height: 115px;
}

/* bodyのpadding-topが var(--header-height) のままならこれでOK */
body{
  padding-top: var(--header-height);
}

/* ===== ロゴ：画像の右に文字を確実に並べる ===== */
.header_top .logo .img a.logo-link{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;       /* ここが重要：下に落ちない */
}

.header_top .logo .img img{
  height: 70px;
  width: auto;
  flex: 0 0 auto;
}

.header_top .logo .logo-text{
  display: inline-block;
  white-space: nowrap;
}

/* ===== ヘッダーとキービジュアルの隙間をゼロに ===== */
.top_key_visual{
  margin-top: 0 !important;   /* JSで付けてた分を殺す */
}

/* キービジュアル画像を上詰めで表示 */
.top_key_visual img{
  display: block;
}

/* ===== サロン特徴：下部の営業/住所/電話/ボタンを中央に ===== */
.salon-info{
  text-align: center;
  margin-top: 40px;
}

.salon-info p{
  text-align: center;
}

.salon-info .btn_common{
  margin-top: 18px;
}


/* =========================
   Key visual
========================= */
.top_key_visual {
  height: 500px;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.top_key_visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.subpage_key_visual {
  height: 300px;
  margin-bottom: 8px;
  margin-top: var(--header-height);
}

.subpage_key_visual img { width: 100%; }

/* ここから下の .subpage_key_visual.header_xxx は元のまま */
.subpage_key_visual.header_blog { background: url("./../img/header_blog.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_localnews { background: url("./../img/header_farm.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_archive { background: url("./../img/header_blog.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_profile { background: url("./../img/header_profile.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_contact { background: url("./../img/header_contact.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_admin { background: url("./../img/header_admin.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_izuhara { background: url("./../img/header_izuhara.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_farm { background: url("./../img/header_farm.png") center no-repeat; background-size: cover; }
.subpage_key_visual.header_sub { background: url("./../img/header_others.png") center no-repeat; background-size: cover; }

/* --------------------------------------------
* 　フロントページ：お知らせ・ブログ
* -------------------------------------------- */
.front_blog_news_split {
  margin: 30px auto 80px;
  background-color: #f2f2e6;
  padding: 30px;
  border-radius: 8px;
  max-width: 1100px;
}

.front_blog_news_split .split_content_wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.front_blog_news_split .news_section,
.front_blog_news_split .blog_section {
  width: calc(50% - 20px);
  min-width: 300px;
  flex-grow: 1;
}

.front_blog_news_split .subsection_head {
  font-weight: bold;
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: var(--accent);
  border-bottom: 2px solid #cfcfcf;
  padding-bottom: 5px;
}

.front_blog_news_split .news_list_wrap ul,
.front_blog_news_split .blog_list_wrap ul {
  margin-bottom: 20px;
}

.front_blog_news_split .news_list_wrap ul li a .ttl,
.front_blog_news_split .blog_list_wrap ul li a .ttl {
  font-weight: bold;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.front_blog_news_split .news_list_wrap ul li a:hover .ttl,
.front_blog_news_split .blog_list_wrap ul li a:hover .ttl {
  text-decoration: underline;
}

.front_blog_news_split .news_list_wrap ul li a,
.front_blog_news_split .blog_list_wrap ul li a {
  display: flex;
  padding: 12px 0 3px;
  border-bottom: 1px dotted #ddd;
  align-items: baseline;
}

.front_blog_news_split .news_list_wrap ul li:last-child a,
.front_blog_news_split .blog_list_wrap ul li:last-child a {
  border-bottom: none;
}

.front_blog_news_split .news_list_wrap ul li a .date,
.front_blog_news_split .blog_list_wrap ul li a .date {
  margin-right: 22px;
  font-size: 1.5rem;
  color: #888888;
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  .front_blog_news_split { padding: 20px; }
  .front_blog_news_split .split_content_wrap {
    flex-direction: column;
    gap: 30px;
  }
  .front_blog_news_split .news_section,
  .front_blog_news_split .blog_section {
    width: 100%;
    min-width: auto;
  }
}

/* ここから下は、あなたの既存CSSを基本そのまま残しつつ
   「壊れる原因」になっていた重複や事故ルールだけ除去した構成です。
   （長いので、以降の大部分は変更なし） */

.container_front .front_localnews {
  margin-bottom: 0;
  background-color: #f2f2e6;
  padding: 30px;
  border-radius: 8px;
}

.container_front .front_localnews .localnews_card {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.container_front .front_localnews .localnews_card .localnews_name {
  font-weight: bold;
  font-size: 1.8rem;
  margin: 5px 0 10px;
}

.container_front .front_localnews .localnews_card .explain {
  text-align: left;
  margin-bottom: auto;
}

/* =========================
   Front：スタッフ募集CTA（幅をお知らせ・ブログに揃える）
========================= */
.front-recruit-cta{
  margin: 34px auto 24px;
}

.front-recruit-cta .w_inner{
  text-align: center;
}

/* ✅ 背景の幅を1100pxに固定（front_blog_news_splitと同じ） */
.front-recruit-cta .front-recruit-cta__inner{
  max-width: 1100px;
  margin: 0 auto;
  background: #f2f2e6;                 /* ←希望色に固定 */
  border-radius: 14px;
  padding: 26px 18px;
  border: 1px solid rgba(0,0,0,.06);
}


.front-recruit-cta__title{
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 10px;
}

.front-recruit-cta__text{
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.5rem;
}

.front-recruit-cta__btn{
  margin-top: 0;
}


/* --------------------------------------------
* 　地域・畑のおしらせ / 一覧
* -------------------------------------------- */
.container_localnews .localnews_wrap {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
  gap: 10px;
}
.container_localnews .localnews_wrap:last-child { margin-bottom: 0; }

.container_localnews .localnews_wrap > a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
}

.container_localnews .localnews_wrap > a .img {
  margin-right: 40px;
  width: 300px;
  min-width: 300px;
}

.container_localnews .localnews_wrap > a .txtarea {
  flex: 1 1 auto;
  text-align: right;
}

.container_localnews .localnews_wrap > a .txtarea .localnews_name {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: left;
}

.container_localnews .localnews_wrap > a .txtarea .explain { text-align: left; }

/* --------------------------------------------
* 　地域・畑のお知らせ / 個別ページ
* -------------------------------------------- */
.container_localnews_detail .content_localnews_outline { margin-bottom: 40px; }

.container_localnews_detail .block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.container_localnews_detail .block .img {
  margin-right: 40px;
  margin-bottom: 40px;
  width: 300px;
  min-width: 300px;
  flex: 0 0 auto;
}

.container_localnews_detail .block .txtarea {
  flex: 1 1 auto;
  margin-top: 0;
}

.container_localnews_detail .block .txtarea .head {
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.8rem;
}

.content_localnews_flow ol li {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
}
.content_localnews_flow ol li .head { font-weight: bold; }
.content_localnews_flow ol li::marker { font-weight: bold; }

/* --------------------------------------------
* 　記事フォーマット　お知らせ / ブログ
* -------------------------------------------- */
.container_single .article .date { font-size: 1.2rem; }
.container_single .article h1 { margin-bottom: 10px; }

/* --------------------------------------------
* 　ブログ 記事リスト
* -------------------------------------------- */
.container_article_list { flex: 1 1 auto; }

.container_article_list .col_3_wrap { display: flex; }

.container_article_list .col_3_wrap > * {
  width: 100%;
  max-width: calc(100% / 3 - 20px);
}

.container_article_list .col_3_wrap > *:nth-child(3n + 2) {
  margin-right: 30px;
  margin-left: 30px;
}

@media screen and (max-width: 767px) {
  .container_article_list .col_3_wrap { flex-direction: column; }

  .container_localnews_detail .block { flex-direction: column; }

  .container_localnews_detail .block .img {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    min-width: auto;
  }

  .container_localnews_detail .block .txtarea { margin-top: 0; }

  .container_article_list .col_3_wrap > * {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .container_article_list .col_3_wrap > *:last-child { margin-bottom: 0; }

  .container_article_list .col_3_wrap > *:nth-child(3n + 2) {
    margin-right: 0px;
    margin-left: 0px;
  }
}

.container_article_list .col_3_wrap li { margin-bottom: 40px; }

.container_archive_blog .selected_category,
.container_archive_blog .selected_tag { margin-bottom: 10px; }

.article_card { display: block; }
.article_card:hover { background: #fff2f5; }

.article_card .txtarea { padding: 5px; }

.article_card .txtarea .date {
  font-size: 1.3rem;
  color: #888888;
  margin-bottom: 10px;
}

.article_card .txtarea .ttl {
  margin-bottom: 8px;
  font-weight: bold;
}

.article_card .txtarea .btn_read {
  text-align: right;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
}

.page_category .container_article_list > .selected_cat {
  font-weight: bold;
  margin-bottom: 10px;
}

.navigation.pagination { margin-top: 30px; }
.navigation.pagination .nav-links .prev { border: none !important; }
.navigation.pagination .nav-links .next { border: none !important; }

.navigation.pagination .nav-links .current {
  padding: 6px 11px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: #ffffff;
}

.navigation.pagination .nav-links a {
  padding: 6px 11px;
  border: 1px solid var(--accent);
  border-radius: 3px;
}

.navigation.pagination .nav-links a:hover {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #ffffff;
}

/* --------------------------------------------
* 　ブログ検索結果
* -------------------------------------------- */
.container_search .keywords { margin-bottom: 15px; }

/* --------------------------------------------
* Profile
* -------------------------------------------- */
.container_profile .profile_wrap > ul li {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
  gap: 10px;
}

/*（元のコメントブロックは保持）*/

.container_profile .profile_wrap > ul li .img {
  width: 45%;
  min-width: 245px;
  margin-right: 30px;
}

.container_profile .profile_wrap > ul li .txtarea {
  flex: 1 1 auto;
  padding-top: 15px;
}

.container_profile .profile_wrap > ul li .txtarea h2 {
  font-weight: bold;
  font-size: 1.8rem;
}

.container_profile .profile_wrap > ul li .txtarea p { margin-bottom: 15px; }
.container_profile .profile_wrap > ul li .txtarea p:last-child { margin-bottom: 0; }

.container_profile .profile_wrap > ul li .txtarea p.address { font-size: 1.2rem; }

.custom-field-content { text-align: center; }

/* --------------------------------------------
* 　お問合わせ
* -------------------------------------------- */
.wpcf7 { width: 100%; font-size: 16px; }
.wpcf7 table { width: 100%; font-size: 16px; }

.wpcf7 table .td_left {
  width: 25%;
  height: auto;
  vertical-align: middle;
  background: #ffffff;
  padding: 0 2%;
}

.wpcf7 table .td_right {
  width: 75%;
  height: auto;
  background: #fff;
  padding: 10px 2%;
}

.wpcf7 p { margin: 0 0 15px 0; }

.wpcf7 input,
.wpcf7 select {
  width: 100%;
  height: 45px;
  padding: 5px 5px 3px;
  border-radius: 3px;
  border: none;
  font-size: 16px;
}

.wpcf7 textarea {
  width: 100%;
  height: 150px;
  padding: 5px 5px 3px;
  border-radius: 3px;
  border: 1px solid #ddd;
  font-size: 16px;
}

.wpcf7 .wpcf7-list-item { display: block; }

.wpcf7 .flexwrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  background: #f2f1ec;
  border: none;
  outline: none;
}

.wpcf7 tr td .any {
  display: inline-block;
  min-width: 40px;
  color: #fff;
  background: #59c197;
  padding: 3px 7px 1px;
  margin-left: 5px;
  border-radius: 2px;
  font-size: 12px;
}

.wpcf7 tr td .required {
  display: inline-block;
  min-width: 40px;
  color: #fff;
  background: var(--accent);
  padding: 3px 7px 1px;
  margin-left: 5px;
  border-radius: 2px;
  font-size: 12px;
}

.wpcf7 tr .wpcf7-form-control-wrap input:focus,
.wpcf7 tr .wpcf7-form-control-wrap textarea:focus {
  outline: solid #efefef 1px;
  outline-offset: -1px;
  background-color: #fcfcfc;
}

.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .wpcf7-response-output {
  display: block;
  font-size: 12px;
  color: rgba(17, 123, 3, 0.339);
}

.wpcf7 .screen-reader-response { display: none; }

.wpcf7 .wpcf7-response-output {
  margin: 10px 0 0;
  text-align: center;
}

.wpcf7 #acceptance { text-align: center; }

.wpcf7 .ajax-loader {
  display: block !important;
  margin: 0 auto !important;
}

.wpcf7 .submitting .ajax-loader {
  background: url("./../img/ajax-loader.gif") no-repeat center;
  width: 16px;
  height: 36px;
  display: block;
  width: 100%;
}

.wpcf7 form:not([data-status="init"]) .wpcf7-response-output {
  font-size: 1.7rem;
  padding: 10px 10px 7px;
  border: 3px solid var(--accent);
}

.wpcf7 form[data-status="submitting"] .wpcf7-response-output { display: none; }

.submit_box {
  text-align: center;
  margin: 30px 0 50px;
}

.submit_box .wpcf7-spinner {
  display: block;
  margin-top: 15px;
  margin-right: auto;
  margin-left: auto;
}

.submit_box input[type="submit"] {
  background: #333;
  border: none;
  border-radius: 3px;
  padding: 4px 15px 0;
  font-size: 16px;
  color: #fff;
  display: inline-block !important;
  width: 100%;
  max-width: 380px;
}

.submit_box input[type="submit"]:hover { cursor: pointer; }
.submit_box input[type="submit"]:disabled {
  background: #eee;
  color: #454545;
}

/* --------------------------------------------
* 　サイドバー
* -------------------------------------------- */
.container_side .container_side_item { margin-bottom: 30px; }

.container_side .container_side_item .head {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 10px 12px 8px;
  background: #eeeeee;
  margin-bottom: 20px;
}

.container_side .container_side_item .label {
  color: #aaa;
  font-weight: bold;
  font-size: 1.2rem;
}

.container_side .side_localnews ul { margin-top: -20px; }

.container_side .side_localnews ul li a {
  display: block;
  padding: 13px 3px 7px;
  border-bottom: 1px dotted #bebebe;
}

.container_side .container_side_category ul li a {
  display: block;
  padding: 10px 3px 6px;
  border-bottom: 1px dotted #bebebe;
}

.container_side .container_side_tag { margin-top: 20px; }
.container_side .container_side_tag .head { margin-bottom: 15px; }

.container_side .container_side_tag .tag_list ul {
  display: flex;
  flex-wrap: wrap;
}

.container_side .container_side_tag .tag_list ul li {
  margin-right: 5px;
  margin-bottom: 5px;
}

.container_side .container_side_tag .tag_list ul li a {
  display: inline-block;
  height: 30px;
  padding: 2px 10px 0;
  border-radius: 15px;
  border: 2px solid #e9a2b2;
}

.container_side .container_side_tag .tag_list ul li a:hover {
  text-decoration: none;
  background: var(--accent);
  color: #ffffff;
}

.container_side form#searchform { position: relative; }

.container_side form#searchform input[type="text"] {
  width: 100%;
  height: 45px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #dddddd;
  padding: 10px;
}

.container_side form#searchform input[type="text"]:focus-visible {
  outline: none !important;
  border: 2px solid var(--accent) !important;
}

.container_side form#searchform input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  border: none;
  background: url("./../img/icon_search.svg") center no-repeat;
  background-size: 60%;
  text-indent: 9999px;
}

.container_side form#searchform input[type="submit"]:hover { cursor: pointer; }

/* --------------------------------------------
* 　フッター
* -------------------------------------------- */
#go_top {
  position: fixed;
  bottom: 110px;
  right: 20px;
  display: block;
  z-index: 15;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

#go_top:hover {
  cursor: pointer;
  opacity: 1;
}

@media (max-width: 768px) {
  #go_top {
    bottom: 210px;
    right: 15px;
  }
}

footer {
  background: #e7cf9c;
  margin-top: 70px;
  padding-top: 40px;
  padding-bottom: 4px;
  position: relative;

  /* ✅ footer を下に押し出せるように */
  flex-shrink: 0;
}

footer .footer_logo {
  text-align: center;
  margin-bottom: 30px;
}

footer .footer_logo img { display: inline-block; }

footer .footer_nav {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
}

footer .footer_nav ul { display: flex; }

footer .footer_nav ul li {
  margin-right: 10px;
  margin-left: 10px;
}

footer .cr {
  text-align: center;
  font-size: 12px;
}

/* fixed contact */
.fixed-contact-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.fixed-contact-box .btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: clamp(11px, 2.5vw, 13px);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  min-width: clamp(70px, 20vw, 90px);
}

.fixed-contact-box .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.btn-phone {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #a47d50;
}

.btn-insta {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: white;
}

.btn-line {
  background: linear-gradient(to right, #6edb6a, #2cbf42);
  color: white;
}

.btn .icon {
  font-size: clamp(15px, 4vw, 28px);
  line-height: 1;
  margin-bottom: 3px;
}

.btn .text {
  font-size: clamp(8px, 2vw, 13px);
  text-align: center;
}

@media (max-width: 768px) {
  .fixed-contact-box {
    flex-direction: column;
    gap: 6px;
    bottom: 15px;
    right: 15px;
  }
  .fixed-contact-box .btn { opacity: 0.5; }
}

/* --------------------------------------------
* 　記事スタイル
* -------------------------------------------- */
.article .container { margin-top: 20px; }

.article h1 {
  font-size: 26px;
  font-weight: bold;
  color: var(--text);
}

.article h2 {
  font-size: 24px;
  margin: 45px 0 25px;
  border-bottom: 3px solid #999;
}

.article h3 {
  font-size: 20px;
  margin: 40px 0 20px;
  border-left: 3px solid #999;
  padding: 3px 0 2px 10px;
}

.article h4 {
  font-size: 16px;
  margin: 25px 0 10px;
  border-bottom: 1px solid #ddd;
}

.article p { margin: 0 0 15px; }

.article table { width: 100%; margin: 20px 0 20px; }

.article table td {
  padding: 5px 5px 2px;
  border: 1px solid #ddd;
}

.article ul,
.article ol { margin: 20px 0 20px; }

.article ul li {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 7px;
}

.article ol li {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 7px;
}

.article figure { margin: 20px 0 20px; }

.article figure figcaption {
  font-size: 13px;
  font-style: italic;
  color: #888;
  text-align: center;
}

.article blockquote {
  background: #f8f8f8;
  padding: 30px 30px 25px;
}

.article blockquote p:last-child { margin-bottom: 0; }

.article img { margin: 20px 0 20px; }

.article .alignright { float: right; margin-left: 20px; }
.article .alignleft { float: left; margin-right: 20px; }

.article .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.article .wp-caption {
  font-size: 13px;
  color: #555;
}

/* --------------------------------------------
* 404ページ
* -------------------------------------------- */
.container_404 #error {
  text-align: center;
  padding: 50px 0 50px;
}

/* ------------------------------
*  main-background 全体背景
* ------------------------------ */
.main-background {
  background-color: var(--bg);
  width: 100%;
  min-height: 100%;
  padding-bottom: 0;
}

/* ------------------------------
 * アクセスセクション
 * ------------------------------ */
.access {
  background-color: var(--bg);
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 60px;
}

.access-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.access-map {
  flex: 1 1 60%;
  min-width: 300px;
}

.access-info {
  flex: 1 1 35%;
  background-color: #ffffff;
  border: 1px solid #e0d5b8;
  border-radius: 8px;
  padding: 25px 20px;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--text);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.access-info p { margin-bottom: 10px; }

.access-info p strong { color: var(--accent); }

.access-info .btn_common {
  display: inline-block;
  margin-top: 15px;
  background-color: var(--accent);
  color: #fff;
  padding: 10px 20px 7px;
  border-radius: 5px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.access-info .btn_common:hover {
  background-color: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .access-flex { flex-direction: column; }
  .access-map,
  .access-info { flex: 1 1 100%; }
}

/* サロンの特徴セクション */
.salon-features {
  background-color: #f2f2e6;
  padding: 60px 40px 80px;
  border-radius: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.salon-features .section_head {
  font-size: 2.4rem;
  color: #6b4200;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

.feature-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  padding: 20px 30px;
  gap: 30px;
}

.feature-img img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature-text { flex: 1; text-align: left; }

.feature-text h3 {
  font-size: 1.8rem;
  color: #5a3b00;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 1.5rem;
  color: #444;
  line-height: 1.8;
}

.salon-info {
  text-align: right;
  margin-top: 50px;
  font-size: 1.5rem;
  color: var(--text);
}

.salon-info i { margin-right: 8px; color: var(--accent); }

.salon-info p { margin: 10px 0; }

.salon-info .btn_common {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--accent);
  color: #fff;
  padding: 10px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.salon-info .btn_common:hover { background-color: #c58020; }

@media screen and (max-width: 768px) {
  .feature-card { flex-direction: column; text-align: center; }
  .feature-img img { margin-bottom: 20px; }
  .salon-info { text-align: center; }
}

/* ---------------------------
   キャッチコピーセクション
--------------------------- */
.catchcopy-section {
  background: var(--bg);
  position: relative;
  padding: clamp(80px, 10vw, 160px) 4vw clamp(100px, 8vw, 180px);
  text-align: center;
  overflow: hidden;
}

.catchcopy-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.catch-sub {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(18px, 2.4vw, 32px);
  color: #2a2620;
  margin-bottom: clamp(16px, 2vw, 32px);
  letter-spacing: 0.08em;
}

.catch-main-block { position: relative; }

.catch-main {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(16px, 3vw, 48px);
  font-family: "Times New Roman", serif;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  margin: 0 auto clamp(32px, 5vw, 48px);
  flex-wrap: wrap;
}

.catch-main .word {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 400;
}

.catch-main .niji {
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 600;
}

.catch-desc {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(22px, 2.4vw, 36px);
  color: #2b2721;
  margin-bottom: clamp(8px, 2vw, 20px);
}

.catch-small {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(16px, 1.8vw, 24px);
  color: #5e5a52;
  letter-spacing: 0.05em;
}

/* OPENバッジ */
.open-badge-fixed {
  position: absolute;
  top: clamp(10px, 2vw, 40px);
  right: clamp(-40px, -4vw, -60px);
  pointer-events: none;
  transform: translateX(20%);
}

.open-circle {
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
  border-radius: 50%;
  background:
    radial-gradient(140% 140% at 28% 22%,
      rgba(255, 255, 255, .85) 0%,
      rgba(255, 255, 255, .55) 22%,
      rgba(255, 192, 203, .55) 40%,
      rgba(255, 182, 193, .40) 60%,
      rgba(255, 182, 193, .28) 100%),
    linear-gradient(160deg,
      rgba(255, 192, 203, .58) 0%,
      rgba(255, 170, 185, .40) 45%,
      rgba(255, 192, 203, .30) 100%);
  box-shadow:
    0 28px 48px rgba(0, 0, 0, .12),
    inset 0 -12px 28px rgba(255, 255, 255, .42),
    inset 0 10px 36px rgba(255, 192, 203, .28);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #332e2a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  opacity: 0.92;
  position: relative;
}

.open-circle::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 20%;
  width: 60%;
  height: 30%;
  background: radial-gradient(120% 120% at 50% 50%,
    rgba(255, 255, 255, .75) 0%,
    rgba(255, 255, 255, .35) 60%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(2px);
  border-radius: 50%;
}

.open-date {
  font-family: "Times New Roman", serif;
  color: #332e2a;
  line-height: 1.15;
  font-size: clamp(16px, 2vw, 22px);
}

.open-date .big {
  display: block;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
}

.open-date .small {
  font-size: clamp(12px, 1.5vw, 16px);
  opacity: .8;
}

.open-text {
  font-family: "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  color: #2f2924;
  margin-top: 0.3em;
}

@media (max-width: 768px) {
  .open-badge-fixed {
    position: static;
    margin: clamp(24px, 6vw, 40px) auto 0;
    transform: none;
  }
}

/* ============================
   archive.php（お知らせ一覧）
============================ */
.archive_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive_list li {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.archive_list li a {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  text-decoration: none;
  color: var(--text);
  transition: 0.3s ease;
}

.archive_list li a .date {
  flex-shrink: 0;
  margin-right: 20px;
  color: #888;
  font-size: 1.4rem;
}

.archive_list li a .ttl {
  font-weight: bold;
  font-size: 1.6rem;
  border-bottom: 1px dotted transparent;
  transition: 0.3s ease;
}

.archive_list li a:hover { background-color: #fff4e6; }

.archive_list li a:hover .ttl {
  border-bottom: 1px dotted var(--accent);
  color: var(--accent);
}

.archive_list li a:active {
  background-color: #fde7c2;
  color: var(--accent);
}

.container_archive_blog.no_sidebar { display: block !important; }
.container_archive_blog.no_sidebar main { width: 100%; }

/* 背景全体 */
#profile-page {
  position: relative;
  background-color: var(--bg);
  padding: 4rem 2rem;
  overflow: hidden;
}

/* 相対パス */
#profile-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  height: 45%;
  background: url('./img/saikalogo.png') no-repeat center center;
  background-size: contain;
  opacity: 0.05;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

#profile-page .inner {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0 auto;
  color: var(--text);
  line-height: 1.9;
}

#profile-page h1.page_head {
  text-align: center;
  font-size: 4rem;
  border-bottom: 3px solid #d1c7a5;
  display: inline-block;
  margin: 0 auto 3rem auto;
}

#profile-page h2 {
  font-size: 2rem;
  border-left: 5px solid #d4b46e;
  padding-left: 0.6rem;
  margin: 3rem 0 1.5rem 0;
}

.profile-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.profile-photo img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: none;
  padding: 0;
  border: none;
}

.profile-text { flex: 1; }

.image-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.image-row img {
  width: 48%;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

.facility-text { margin-top: 1rem; }

@media screen and (max-width: 768px) {
  .profile-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-photo img { width: 180px; height: 180px; }
  .image-row { flex-direction: column; }
  .image-row img { width: 100%; }
}

/* ================================
   スタッフ募集ページ（page-recruit.php）用CSS
================================ */
#recruit-page { width: 100%; overflow: hidden; }

#recruit-page .inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

#recruit-page .recruit-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(64px, 10vh, 110px) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#recruit-page .recruit-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#recruit-page .recruit-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left;
}

#recruit-page .page_head {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

#recruit-page .recruit-lead {
  margin: 0 0 24px;
  max-width: 60ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.9;
  opacity: 0.98;
}

#recruit-page .recruit-hero__cta { margin-top: 8px; }

#recruit-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease;
}

#recruit-page .btn-recruit {
  background: #fff;
  color: #111;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

#recruit-page .btn-recruit:hover {
  transform: translateY(-1px);
  opacity: .95;
}

#recruit-page .btn-recruit:active {
  transform: translateY(0);
  opacity: .9;
}

#recruit-page .recruit-main {
  background: #fff;
  color: #111;
  padding: 56px 0;
}

#recruit-page .recruit-main section { margin: 0 0 44px; }

#recruit-page .recruit-main h2 {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

#recruit-page .recruit-main p { margin: 0; line-height: 1.9; }

#recruit-page .recruit-points {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.9;
}

#recruit-page .recruit-points li { margin: 6px 0; }

#recruit-page .recruit-dl {
  margin: 0;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
}

#recruit-page .recruit-dl dt {
  font-weight: 800;
  margin-top: 14px;
}

#recruit-page .recruit-dl dt:first-child { margin-top: 0; }

#recruit-page .recruit-dl dd {
  margin: 6px 0 0;
  padding: 0 0 12px;
  border-bottom: 1px dashed rgba(0,0,0,.12);
}

#recruit-page .recruit-dl dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

#recruit-page .recruit-link {
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 768px) {
  #recruit-page .recruit-hero {
    min-height: 92vh;
    padding: 72px 0;
  }

  #recruit-page .recruit-lead { max-width: 100%; }

  #recruit-page .recruit-main { padding: 44px 0; }

  #recruit-page .recruit-dl { padding: 16px 14px; }
}

/* サロン特徴：下の情報＋ボタンを完全に中央揃えに固定 */
.salon-info{
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.salon-info .btn_common{
  display: inline-block !important;
  margin: 18px auto 0 !important;  /* ←これで中央 */
  float: none !important;
  align-self: center !important;
}

/* =========================
   追加上書き（ヘッダー調整）
========================= */

/* 変数が無いと padding-top が変えられないので定義 */
:root{
  --header-height: 115px; /* ←ここを変えるだけでOK */
}

/* header の高さも変数と一致させる（ズレ防止） */
header{
  height: var(--header-height);
}

/* ロゴ画像＋文字を「横並び」にする本命 */
header .header_top .logo .img a{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* tagline とロゴ行の余白を整理 */
header .header_top .logo .tagline{
  margin: 0 0 6px;
  line-height: 1.2;
}

/* ナビが上に行きすぎるので、ヘッダー内を下揃えに */
header .header_top{
  align-items: flex-end;   /* ←これが効く */
}

/* ナビも同じ高さに合わせて微調整 */
header .header_top .nav_wrap{
  align-self: flex-end;
  padding-bottom: 6px;     /* 必要なら 0〜10px で微調整 */
}

/* キービジュアル側に余計な上余白を作らない */
.top_key_visual{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================
   サロン特徴：下部情報＋ボタンを中央寄せ
========================= */
.salon-info{
  text-align: center;        /* 右寄せを解除 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.salon-info .btn_common{
  display: inline-block;
  margin: 20px auto 0;       /* ボタンを中央へ */
}

/* ===== ヘッダー高さを1箇所で管理 ===== */
:root{
  --header-height: 115px;
}

/* headerの実高さも変数に揃える */
header{
  height: var(--header-height);
}

/* bodyの押し下げも変数に揃える（これでズレが消える） */
body{
  padding-top: var(--header-height) !important;
}

/* キービジュアル側に余計な余白が入っても強制で0 */
#wrapper,
.top_key_visual{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================
   フロントページだけ：ヘッダーとKVの隙間を消す
   （body padding-top の影響を相殺）
========================= */
body.home{
  padding-top: 0 !important; /* ←フロントだけ押し下げを無効化 */
}

body.home header{
  position: sticky; /* fixedのままでもOKだが、stickyの方が自然 */
  top: 0;
}

body.home #wrapper{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .top_key_visual{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ================================
   スタッフ募集ページ（page-recruit.php）
   写真をページ全面 + 黒フィルター + 白文字
   かつ「見出しを上寄せ」「余白を詰める」完成版
================================ */

/* ページ全体を背景画像にする（page-recruit.php 側で --recruit-bg をセットする想定） */
#recruit-page{
  position: relative;
  background-image: var(--recruit-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 好みで：パララックスっぽく */
  /* background-attachment: fixed; */

  color: #fff;
}

/* ページ全面の黒フィルター（透明度50%） */
#recruit-page::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 0;
}

/* 中身をフィルターより上へ */
#recruit-page > *{
  position: relative;
  z-index: 1;
}

/* heroは背景を持たせない（ページ側に任せる） */
/* ★ここを「上寄せ」「高さを内容に合わせる」「余白を詰める」 */
#recruit-page .recruit-hero{
  background: none !important;

  /* 以前の “画面いっぱい(100vh)” をやめて、内容量にする */
  min-height: auto !important;

  /* gridで中央寄せしていたのをやめる（上に来るように） */
  display: block !important;

  /* 上下余白：ここで全体の詰まり具合を調整 */
  padding: 32px 0 18px !important;
}

/* hero内overlayは使わない（ページ全面フィルターに統一） */
#recruit-page .recruit-hero__overlay{
  display: none !important;
}

/* 見出し・本文・ボタン周りの余白も詰める（上に寄せる） */
#recruit-page .recruit-hero__content .page_head{
  margin: 0 0 14px !important;
}

#recruit-page .recruit-lead{
  margin: 0 0 16px !important;
}

#recruit-page .recruit-hero__cta{
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

/* 本文側の「白背景」を消して、写真の上に載せる */
/* ★hero直下に繋げるため padding-top を小さく */
#recruit-page .recruit-main{
  background: transparent !important;
  padding: 16px 0 56px !important;
}

/* セクションを“読める”ように半透明カード化 */
#recruit-page .recruit-message,
#recruit-page .recruit-detail,
#recruit-page .recruit-note{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 28px 24px;
  margin: 0 0 22px; /* 少し詰める */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* 1つ目のカードを hero に近づける */
#recruit-page .recruit-message{
  margin-top: 0 !important;
}

/* 文字色 */
#recruit-page h1,
#recruit-page h2,
#recruit-page p,
#recruit-page li,
#recruit-page dt,
#recruit-page dd{
  color: #fff;
}

/* 募集要項の罫線も白寄りに */
#recruit-page .recruit-dl dd{
  border-bottom: 1px dashed rgba(255,255,255,.25);
}

/* ボタン */
#recruit-page .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease;
}

#recruit-page .btn-recruit{
  background: #fff;
  color: #111;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

#recruit-page .btn-recruit:hover{
  transform: translateY(-1px);
  opacity: .95;
}

#recruit-page .btn-contact{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

#recruit-page .btn-contact:hover{
  transform: translateY(-1px);
  opacity: .95;
}
