body {
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
  background-color: #fff;
  line-height: 1.6;
  letter-spacing: 0.05em;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex-grow: 1; /* ここが重要 */
}
/* 英字部分は Roboto を優先 */
.en,
.link-blog,
.link-contact span {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.members h2, .news h2, .company h2, .contact h2{
  font-size: 40px;
  font-family: "roboto";
  font-weight: bold;
  text-align: center;
  margin-bottom: 80px;
}

h2 span{
  font-size: 20px;
  font-family: "roboto";
  font-weight: 300;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 15px;
}
.services h2{
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 80px;
}
/* ヘッダー */
header {
  position: fixed;          /* 画面上部に固定 */
  top: 0;                   /* 上から0 */
  left: 0;
  width: 100%;              /* 横幅いっぱい */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 40px;           /* 左右余白 */
  background-color: #fff;
  font-size: 14px;
  height: 70px;             /* 高さを固定（例:80px） */
  z-index: 9999;            /* 他要素より上に */
}

header nav {
  display: flex;
  gap: 20px;
}
/* nav 全体を横並びにする */
header nav {
  display: flex;
  align-items: center;
  gap: 60px; /* メニューと右側の間隔 */
}

header img{
  width: 160px;
}

/* 左のリスト部分 */
.nav-list {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  font-weight: 500;
}

/* 右側の Nanako’s Blog と お問い合わせ */
.nav-extra {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Nanako’s Blog */
.link-blog {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* お問い合わせボタン */
.link-contact {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 170px;
  height: 70px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.link-contact span {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: "roboto";
  color: #fff;
  font-weight: 400;
  padding-top: 5px;
}


/* スマホメニュー */
.mobile-menu{
  display: none;
}
.hamburger{
  display: none;
}


/* メインビジュアル */
.mv {
  text-align: left;
  padding-top: 60px;
}
.hero_main{
  padding-left: 120px;
}
.mv-images {
  display: flex;
  justify-content: center;
  margin: 120px 0;
}
/* .mv-images img {
  width: 400px;
  object-fit: cover;
} */
.mv-track {
  display: flex;
  width: 100%; 
  animation: scroll-left 18s linear infinite;
}
.mv-track img {
  width: calc(100vw / 3);
  flex-shrink: 0;
  margin-right: 3px;
}
.clone {
  display: none; 
}
h1{
  font-size: 66px;
  font-weight: 800;
}
h1 span{
  font-size: 55px;
}
.mv p{
  font-size: 18px;
  margin-top: 30px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* サービスセクション */
.services {
  background-color: #222;
  color: #fff;
  padding: 120px 100px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 60px 60px; /* 縦40px 横40pxの余白 */
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: transparent;
  text-align: left;
  display: flex;
  flex-direction: column; /* 縦並び */
}

.service-card img {
  width: 100%;
  height: 260px;          /* 高さを揃える */
  object-fit: cover;      /* はみ出した分は切り取り */
  margin-bottom: 20px;
  border: #000 1PX solid;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.material-symbols-outlined {
  color: #000;
  font-size: 12px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
}

.service-card p {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}

/* VIEW MORE ボタン */
.service-card a {
  display: inline-flex;                 /* 横並び + flexbox */
  align-items: center;                  /* 縦方向で中央揃え */
  justify-content: center;              /* 横方向で中央揃え */
  gap: 6px;                             /* テキストとアイコンの間隔 */
  margin-top: 30px;
  font-size: 14px;
  width: 180px;
  height: 48px;                         /* ボタンの高さを固定すると安定 */
  text-transform: uppercase;
  background-color: #fff;
  color: #000;
  padding: 0 20px;                      /* 上下はflex中央揃えに任せる */
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;   
  align-self: flex-end;              /* リンク下線消す */
}

.service-card a:hover {
  background-color: #000;
  border: #fff 1px solid;
  color: #fff;
  transition: 0.5s;
}
.service-card a:hover 
.material-symbols-outlined {
  color: #fff;
  transition: 0.5s;
}

.service-card a .material-symbols-outlined {
  font-size: 18px;                     
  line-height: 1;     
}

/* メンバー紹介 */
.members {
  padding: 120px 100px 80px 100px;
}

.member-list {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
}

.member {
  width: 100%;
  height: 260px;
  text-align: left;
  object-fit: cover;
}

.member img {
  margin-bottom: 20px;
  width: 100%;
}

.member-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}
.en_name{
  font-size: 14px;
  font-family: "Roboto";
  margin-left: 20px;
  font-weight: 400;
}
.position{
  color: #fff;
  background-color: #464646;
  font-size: 12px;
  padding: 3px 12px;
}

/* ロゴ */
.logo_bg img{
  width: 100%;
  height: auto;
  opacity: 0.05;
}
.logo_bg{
  padding: 80px 0px;
}

/* コンセプト文章 */
/* デフォルト（PC時） */
.about {
  max-width: 1120px;
  margin: 80px auto;
  padding: 0 20px;
}
.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 70px; /* 画像とテキストの間隔 */
}
.about-image {
  flex: 0 0 400px;  /* 幅固定 */
  height: fit-content;
  position: sticky;
  top: 100px;       /* ヘッダー分オフセット */
}
.about-image img {
  width: 400px;
  height: 600px;
  object-fit: cover;
  display: block;
}
.about-text {
  font-size: 17px;
  flex: 1;          /* 残り幅を全部使う */
  max-width: 600px; /* 読みやすさ調整 */
  line-height: 2;
  letter-spacing: 0.15em;
}
strong{
  font-size: 18px;
}
body {
  background-color: #fff;
  transition: background-color 0.8s ease;
}
body.about-active {
  background-color: #222222;
}
body.about-active .about-text{
  color: #fff;
}
body.about-active .logo_bg img{
  width: 100%;
  height: auto;
  opacity: 0.1;
}
/* お知らせ */
.news {
  padding: 60px 20px 120px 20px;
  background: #f6f6f6;
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
}

.news li {
  border-bottom: 1px solid #444;
  padding: 30px 40px 30px 20px;
}

.news a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.news-item time {
  display: block;
  font-size: 14px;
  color: #444;
  margin-bottom: 4px;
  font-family: "roboto";
}
.news-item .material-symbols-outlined {
  font-size: 20px;
  color: #000;
  flex-shrink: 0;
  font-variation-settings:
    'FILL' 0,
    'wght' 100,   /* ← 太さを細く（デフォルト400） */
    'GRAD' 0,
    'opsz' 20;
}
/* ニュースタイトルリンク */
.news-item a {
  text-decoration: none;
  color: #000;
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}
/* ニュースタイトルリンク */
.news-item a {
  text-decoration: none;
  color: #000;
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}
.news-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.news-title {
  display: inline-block;   /* テキスト幅にする */
  position: relative;
  flex: 0 0 auto;          /* ← flexで広がらないよう固定 */
}

.news-title::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.news-item:hover .news-title::after {
  width: 100%;   /* ← テキスト幅にだけアンダーライン */
}


/* 矢印 */
.news-item .material-symbols-outlined {
  font-size: 20px;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-variation-settings:
    'FILL' 0,
    'wght' 200, /* 線を細く */
    'GRAD' 0,
    'opsz' 20;
}

.news-item:hover .material-symbols-outlined {
  transform: translateX(20px);
}

/* VIEW MORE ボタン */
.news-more {
  text-align: center;
  margin-top: 30px;
}
.news-more a {
  display: inline-block;
  padding: 12px 40px;
  font-size: 14px;
  text-transform: uppercase;
  background-color: #222;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;  /* ← 透明の枠を常に確保 */
}
.news-more a:hover {
  background: #fff;
  border: 2px solid #444;          /* ← 枠線の色だけ変える */
  color: #444;
}

/* 会社概要 */
.company {
  max-width: 900px;
  margin: 120px auto;
  padding: 0 20px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: none; /* テーブル全体に線は不要 */
}

.company-table th,
.company-table td {
  border: 1px solid #d3d3d3; /* 薄いグレーの線に変更 */
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 25%;
  background: #f8f8f8; /* 背景色をさらに明るく */
  color: #333; /* 文字色を調整 */
}

.company-table td p {
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.company-table td p:last-child {
  margin-bottom: 0;
}



/* フッター */
footer {
  background-color: #272727;
  color: #fff;
  text-align: center;
  padding: 50px 0 10px;
  font-size: 12px;
  text-align: center;
}
.footer_logo{
  width: 272px;
  height: auto;
  margin: 0 auto 60px;
}
.f_link {
  display: flex;
  justify-content: center;
  gap: 20px; /* リンクの間に余白 */
  margin-bottom: 20px;
}

.f_link a {
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .service-cards,
  .member-list {
    flex-direction: column;
    align-items: center;
  }

  .mv h1 {
    font-size: 20px;
    line-height: 1.6;
  }

  .services {
    padding: 60px 16px;
  }

  .about {
    padding: 40px 16px;
  }
}

/* ーーースマホデザインーーー */
@media (max-width: 1080px) {
/* ヘッダー */
  header {
    padding-left: 16px;
    height: 50px;
  }
  .nav {
    display: none; /* PCナビは非表示 */
  }
	 
/* ハンバーガーボタン */
.hamburger {
  width: 50px;
  height: 50px;
  background: #272727;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 5000;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}
/* open 時のアニメーション */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* モバイルメニュー（全画面） */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 9000;
  padding: 20px;
}
.mobile-menu.is-open {
  transform: translateY(0);
}

/* メニューテキスト */
.mobile-menu ul {
  list-style: none;
  padding: 50px 40px 40px;
  margin: 0;
}
.mobile-menu ul li {
  margin: 30px 0;
}
.mobile-menu ul li a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

a.btn_blog{
font-family: "roboto";
display: inline-flex;
align-items: center;   /* ← 縦方向中央揃え */
justify-content: center; /* ← 横方向中央（不要なら消してOK） */
gap: 6px;              /* テキストとアイコンの間隔 */
font-size: 18px;
font-weight: 600;
border: 1px solid #000;
padding: 16px 20px;
width: 100%;
box-sizing: border-box;
text-align: center;
margin-bottom: 20px;
}
/* お問い合わせボタン */
.mobile-menu a[href*="contact"] {
  display: block;
  background: #272727;
  color: #fff;
  padding: 18px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
}
.mobile-menu a[href*="contact"] span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* メニューオープン中はスクロール禁止 */
body.menu-open {
  overflow: hidden;
}
  .logo img {
    width: 120px;
  }
}
@media (max-width: 768px) {
  html, body {
    width: 100%;
    min-width: 100%;   /* ← ビューポート幅に固定 */
    overflow-x: hidden; /* 横スクロール禁止 */
  }
  body.is-drawer-open,
html.is-drawer-open {
  overflow: hidden;
  height: 100%;
}

  body.is-drawer-open {
    width: 100%;
  }
  .members h2, .news h2, .company h2, .contact h2{
    font-size: 24px;
    margin-bottom: 40px;
  }
  h2 span{
    font-size: 12px;
    margin-top: 8px;
  }
  .services h2{
    font-size: 24px;
    margin-bottom: 40px;
  }
 
  /* ヒーロー */
  .hero_main {
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
  }
  .hero_main h1 {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    font-weight: 800;
  }
  h1 span {
    font-size: 28px;
  }
  .br_pc{
    display: none;
  }
  .mv p {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
  }
  .clone {
    display: block; 
  }
  .mv-track img {
    width: 300px;
  }
  
  @keyframes scroll-left {
    0%   { transform: translateX(0); }        /* ← ここが必ず中山さん */
    100% { transform: translateX(-300%); }    /* 本体3枚ぶん流したらリセット */
  }
  /* サービス */
  .services {
    padding: 60px 16px;
  }
  .service-cards {
    grid-template-columns: 1fr; /* 1列 */
    gap: 30px;
  }
  .service-card img {
    height: 200px;
  }
  .service-card h3{
    font-size: 18px;
    margin-bottom: 10px;
  }
  .service-card p{
    font-size: 14px;
  }
  .service-card a {
    height: 40px;
    align-self: flex-start;
  }
  /* メンバー紹介 */
  .members {
    padding: 50px 0px 0px 0px;
  }
  .member-name{
    padding: 0px 20px;
  }
  .member-list {
    flex-direction: column;
    gap: 40px;
  }
  .member {
    height: auto;
  }
  .member img {
    width: 100%;
    height: auto;
  }
  .position{
    margin-left: 20px;
  }


.logo_bg{
  width: 100%;
  padding: 0px 20px;
}

/* about */
.about {
  position: relative;
  padding: 60px 20px;
  color: #fff;
  background-image: url("../img/AllMember.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  z-index: 1;
  overflow: hidden;
}

/* 暗いオーバーレイ */
.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}
  /* PC用の疑似要素は不要なので削除 */
  .about::before {
    /* このスタイルブロックを削除してください */
  }

  /* about-image は引き続き非表示 */
  .about-image {
    display: none;
  }
  /* about-inner と about-text の z-index はそのまま */
  .about-inner,
  .about-text {
    position: relative;
    z-index: 2; 
    padding: 8px;
  }
  

  /* News */
  .news {
    padding: 50px 16px;
    margin: 0;
  }
  .news li {
    padding: 16px;
  }
  .news-title {
    font-size: 16px;
    width: 250px;
  }
  .news-item time {
    font-size: 12px;
  }

  /* Company */
  .company {
    margin: 60px auto;
    padding: 0 16px;
  }
  .company-table th,
  .company-table td {
    font-size: 14px;
    padding: 12px;
    display: block;
    width: 100%;
    border: 1px solid #222222; /* 各要素の下にだけ線を追加 */
  }
  .company-table th {
    background: #f0f0f0;
  }
  .company-table th {
    border-bottom: none;
    border-top: none;
  }
  .company-table tr:first-child {
    border-top: 1px solid #222222;
  }
  .table_title{
    font-weight: 500;
  }

  /* Contact */
  .contact {
    padding: 40px 16px;
    margin-bottom: 0;
  }
  .form-row {
    flex-direction: column;
    gap: 8px;
  }
  .form-row label {
    width: auto;
    font-size: 12px;
  }
  .form-row input,
  .form-row textarea {
    width: 100%;
    font-size: 14px;
  }

  /* Footer */
  .footer_logo {
    width: 110px;
    margin-bottom: 30px;
  }
}

/* ===== Drawer 全体 ===== */
.drawer {
  position: fixed;
  inset: 0;               /* top, right, bottom, left */
  z-index: 2000;
  display: none;          /* 初期は非表示 */
}
.drawer.is-open {
  display: block;
}



/* ドロワー本体 */
.drawer__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 640px;
    height: 100%;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    background: #fff;
    overflow-y: auto;
    padding: 50px 200px 50px 50px;
    display: block;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
    will-change: transform;
	margin-top:70px;
}

/* ドロワー表示中は背面スクロールを止める */
body.is-drawer-open { overflow: hidden; }

.drawer.is-open .drawer__panel {
  transform: translateX(0);     /* 下からスライドイン */
}

/* ===== 閉じるボタン ===== */
/* ===== Member drawer ===== */
.drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 80px;
  height: 80px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}


.drawer__close::before,
.drawer__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;   
  background: #222;
  transform-origin: center;
  pointer-events: none; 
}
.drawer__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.drawer__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 内容レイアウト */
.md {
  display: grid;
  grid-template-columns: 0.8fr 1fr;   /* 左：写真／右：テキスト */
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}

.md__photo img {
  width: 372px;
  height: auto;
  display: block;
}
.md__name {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  margin-bottom: 15px;
}
.md__en { color:#000; font-size: 16px; margin-bottom: 10px; }
.md__role {
  display: inline-block;
  background:#464646; color:#fff;
  font-size: 14px; line-height: 1;
  padding: 6px 10px; 
  margin-bottom: 50px;
  text-align: center;
}
.md__section {
  font-size: 20px;
  letter-spacing: .06em;
  margin: 14px 0 8px;
  font-weight: 400;
}
.md__body{
  margin-top: 30px;
}



.md__bio { font-size: 16px; line-height: 1.9; color:#222; margin-bottom: 40px; }
.md__bio p { margin: 0 0 .6em; }
.md__hobbies { padding-left: 1em;}
.md__hobbies li { font-size: 16px; margin: .2em 0; }

/* スマホ */
  .md { grid-template-columns: 1fr; }
  .md__photo { order: -1; } /* 写真を先頭に */

/* ドロワー表示中は背面スクロールを止める */


.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .3s ease;
}


.drawer.is-open .drawer__scrim {
  opacity: 1;
}


@media screen and (max-width: 768px) {

.drawer__panel {
  max-width: 100%;
  padding: 0;
  transform: translateY(100%);
}

.drawer.is-open .drawer__panel {
  transform: translateY(0);     /* 下からスライドイン */
}
.drawer__panel {
	margin-top:50px;
}
.drawer__close {
  width: 40px;
  height: 40px;
  top: 10px;
}

.drawer__close::before, .drawer__close::after {
    background: #fff;
}

.md__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.md__body {
  padding: 24px;
  margin-top: 0;
}
.md__name{
  margin-bottom: 5px;
}
.md__en{
  font-size: 14px;
}
.md__section{
  font-size: 16px;
}
.md__bio p{
  font-size: 14px;
}
}
/* ====== お問い合わせフォーム全体 ====== */
.contact{
  background:#f5f5f5; padding:60px 40px 0; max-width:900px; margin:0 auto 60px;
}
.contact-form {
  padding: 0  2rem 2rem 2rem;
}

/* 各入力ブロック */
.contact-form .form-row {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}
.form-row label {
  /* 以下の行を追加または修正 */
  flex-shrink: 0;   /* ラベルの幅が縮まないように固定 */
  max-width: 100%;     /* ラベルの固定幅を指定 */
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* 必須マーク */
.contact-form .required {
  background: #000;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin-left: 0.5rem;
}

/* 入力欄のスタイル */
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  font-size: 1rem;
  background: #fafafa;
}
.form-row:not(.policy) input[type="text"],
.form-row:not(.policy) input[type="email"],
.form-row:not(.policy) input[type="tel"],
.form-row:not(.policy) input[type="url"],
.form-row:not(.policy) textarea{
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

/* 送信ボタン */
.contact-form .form-submit {
  text-align: center;
  margin: 0 auto;
}

.contact-form input[type="submit"] {
  background: #000;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.contact-form input[type="submit"]:hover {
  background: #333;
}
/* プライバシーポリシー枠 */
.privacy-box {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  background: #fafafa;
}
.privacy-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.privacy-box .privacy-content {
  max-height: 150px; /* ここで高さ指定 */
  overflow-y: scroll;
  font-size: 0.85rem;
  line-height: 1.5;
  padding-right: 0.5rem; 
}
/* ===== プライバシーポリシー同意行 専用 ===== */
.privacy-check {
  display: flex;
  align-items: center;   /* チェックと文字を縦中央 */
  gap: 10px;
  flex-wrap: nowrap;     /* 可能な限り1行 */
  margin-top: 20px;
}

/* 同意文ラベルを1行で横並び */
.privacy-check label,
.privacy-check .wpcf7-list-item-label {
  width: auto !important;
  flex: 1 1 auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;       /* 横並び優先 */
  line-height: 1.6;
  font-weight: normal;       /* 必要に応じ調整 */
}

/* チェックボックスは固定幅 */
.privacy-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
}

@media screen and (max-width: 768px) {
  .contact-form {
    max-width: 700px;
    padding: 1rem;
}
  .contact-form input,
.contact-form textarea {
  width: 100%;
}
.wpcf7-list-item-label{
  font-size: 12px;
}
}

/* ーーーーーーーー下層ページーーーーーーーー */

/* ===== Single (news/blog 共通) — simple ===== */
.post-article {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.post-article .post-title {
  font-size: clamp(22px, 5.6vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 8px;
}
.post-article .post-date {
  display: block;
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}
.post-article .post-content {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
}
.post-article .post-content p {
  margin: 1em 0;
}
.post-article .post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 8px;
}
.post-article .post-foot {
  margin-top: 40px;
}
/* ====== Single page footer (prev/next + back button) ====== */
.post-foot {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* 前後記事ナビ */
.post-foot .post-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.post-foot .post-pager a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: #f5f5f5;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  font-size: 15px;
  transition: background .2s ease;
}
.post-foot .post-pager a:hover {
  background: #e5e5e5;
}

/* 戻るボタン */
.post-foot .post-back {
  text-align: center;
}
.post-foot .btn-viewmore {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #111;
  border-radius: 999px;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  letter-spacing: .05em;
  transition: background .2s ease, color .2s ease;
}
.post-foot .btn-viewmore:hover {
  background: #111;
  color: #fff;
}
#primary{
  background-color: #f6f6f6;
}

/* ===============================
   固定ページ（共通レイアウト）
   =============================== */

/* 画面の帯（薄グレー）と上下余白。固定ヘッダー分だけ上を空ける */
.page-container{
  background:#f6f6f6;
  padding: 80px 0 120px; /* ↑ヘッダー70px想定なら100pxでOK */
}

/* 中央寄せ */
.page-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイトル（デカ過ぎ抑制） */
.page-title{
  text-align:center;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.1;
  margin: 0 0 30px;
  font-size: clamp(32px, 6vw, 56px);
}

/* 本文カード */
.page-content{
  max-width: 960px;
  margin: 0 auto;
  background:#fff;
  border:1px solid #eee;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  border-radius:8px;
  padding: clamp(20px, 3.2vw, 44px);
}

/* テキストの基本（読みやすさ重視） */
.page-content p,
.page-content li{
  font-size: 16px;
  line-height: 1.5;
  letter-spacing:.02em;
  color:#111;
}

/* 要素間の余白を一定化 */
.page-content > * + *{ margin-top: 1.2em; }

/* 見出し階層 */
.page-content h2{
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight:700;
  margin: 1.6em 0 .6em;
}
.page-content h3{
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight:700;
  margin: 1.4em 0 .5em;
}
.page-content h4{
  font-size: 16px;
  font-weight:700;
  margin: 1.2em 0 .4em;
}

/* 箇条書き */
.page-content ul,
.page-content ol{
  padding-left: 1.4em;
  margin: .6em 0;
}
.page-content li + li{ margin-top: .4em; }

/* 定義リスト（ポリシーでよく使う） */
.page-content dl{ margin: 1em 0; }
.page-content dt{
  font-weight:700;
  margin-top: .8em;
}
.page-content dd{ margin-left: 0; }

/* 表（あれば） */
.page-content table{
  width:100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 15px;
}
.page-content th,
.page-content td{
  border:1px solid #e6e6e6;
  padding: .8em 1em;
  text-align:left;
}
.page-content th{
  background:#fafafa;
  font-weight:700;
}

/* 画像・リンクなど */
.page-content img{
  max-width:100%;
  height:auto;
  display:block;
  margin: 1em auto;
  border-radius:4px;
}
.page-content a{
  color:#111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* スマホ調整 */
@media (max-width: 768px){
  .page-container{ padding: 72px 0 80px; }
  .page-content{ padding: 20px; }
  .page-title{ font-size: 30px; }
}
