/*
Theme Name: giin2026
Description: Custom WordPress theme for politician official site based on LP design.
Version: 1.0
Author: User
*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/*------------------------------------------------------- 
基本設定
*/ :root {
  /* カラー */
  --primary-color: #000080; /*Navy*/
  --primary-light: #4169e1; /*RoyalBlue*/
  --secondary-color: #f0ffff; /*Aqua*/
  --accent-color: #ffa500; /*Orange*/
  --text-color: #333;
  --light-text: #777;
  --dark-bg: #00008b;
  --light-bg: #fffff0; /*Ivory*/
  --border-color: #eee;
  --success-color: #0e9f6e; /*Green*/
  --warning-color: #ffd700; /*Gold*/
  --arert-color: #ff8c00; /*DarkOrangew*/
  --error-color: #ff0000; /*Red*/
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  /* フォントサイズ */
  --font-xs: 0.75rem; /* 12px */
  --font-sm: 0.875rem; /* 14px */
  --font-base: 1rem; /* 16px */
  --font-lg: 1.125rem; /* 18px */
  --font-xl: 1.25rem; /* 20px */
  --font-2xl: 1.5rem; /* 24px */
  --font-3xl: 1.875rem; /* 30px */
  --font-4xl: 2.25rem; /* 36px */
  /* スペーシング */
  --spacing-1: 0.25rem; /* 4px */
  --spacing-2: 0.5rem; /* 8px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-4: 1rem; /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem; /* 24px */
  --spacing-8: 2rem; /* 32px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-12: 3rem; /* 48px */
  --spacing-16: 4rem; /* 64px */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 16px; /*BasicSize*/
  line-height: 1.72;
  color: var(--text-color);
  background-color: #f8f8ff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}
a:hover {
  color: var(--primary-color);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* アクセシビリティのためのフォーカススタイル */ 
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
/* スクリーンリーダー用のテキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* ---------------------------------------------------------------------
タイトルと本文 
*/
h2 {}
h3 {}
h3.title {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.3rem;
  border-bottom: 1px solid #333333;
  margin: 0.3rem 0;
}
h4 {}
p.lead {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
p.text-center {
  text-align: center;
  margin-bottom: 2em;
}
p.text-right {
  text-align: right;
}
.con-neme {
  text-align: right;
  font-size: 1.5em !important;
}
div.center {
  margin: 0 auto;
  text-align: center;
}
.centerbox {
  display: grid;
  place-items: center; /* 上下左右中央揃え */
  /*height: 100vh;*/
}
/*ul {
  list-style: none;
}*/
/* 個別ページでの設定  */
.wide p {
  margin: 8px 16px 21px;
}
.wide p.li {
  margin: 8px 16px 5px;
}
/* ---------------------------------------------------------------------
コンテナとセクション 
*/
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
.wide {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}
.section {
  padding: 75px 0;
}
/* 全セクション共通の余白設定 */
.lp-section {
  padding: 75px 0;
}
/* 奇数番目のセクション (1, 3, 5つ目) */
.lp-section:nth-child(odd) {
  background-color: #fbfaf5; /* 白 */
}
/* 偶数番目のセクション (2, 4つ目) */
.lp-section:nth-child(even) {
  background-color: #a0d8ef; /* 薄いグレー */
}
/* セクションのメインタイトル */
.cube {
  border: 2px solid #777777;
  width: 160px;
  height: 160px;
  text-align: center;
  box-sizing: border-box; /* ボーダーを含めてwidthとheightに含める */
  border-radius: 80px;
  padding: 58px 0;
  margin: 0 auto 2em;
}
.bdline {
  border-bottom: 2px solid #777777;
  text-align: center;
  width: 75%;
  box-sizing: border-box; /* ボーダーを含めてwidthとheightに含める */
  padding: 32px 0 21px;
  margin: 2em auto 2em;
}
.section-title {
  font-size: 1.3rem;
  text-align: center;
  position: relative;
  font-weight: 700;
  line-height: 1.2em;
}
.section-title span {
  font-size: 1.1rem;
  font-weight: 700;
}
/* ---------------------------------------------------------------------
ボタン 
*/
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-white {
  background-color: var(--light-text);
  color: white;
}
.btn:hover {
  background-color: var(--dark-bg);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}
.mato1 {
  margin-top: 1em;
  padding-top: 1em;
}
.space {
  color: #ffffff;
  padding-right: 3em;
}
.mobile-hide {
  display: block;
}
br.mobile-br {
  display: none;
}
/* ---------------------------------------------------------------------
ヘッダー
*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 0; /*20def*/
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 1.0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}
/* Navi-Inner */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0; /*20def*/
}
.logo a {
  font-weight: 500;
  font-size: 0.9rem; /*h1に対する*/
  color: var(--primary-color);
}
h1 {
  font-size: 1.5rem;
  line-height: 1.2;
}
h1 span {
  font-size: 1rem;
}
/* Global Navi */
.nav-list {
  display: flex;
}
/* WordPress Menu Integration */
.nav-list {
  list-style: none; /* Reset WP menu list style */
}
.nav-item, .menu-item {
  margin-left: 30px;
}
.nav-item a, .menu-item a {
  font-weight: 500;
  position: relative;
  text-decoration: none;
  color: var(--text-color);
}
.nav-item a::after, .menu-item a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}
.nav-item a:hover::after, .menu-item a:hover::after {
  width: 100%;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}
/* ---------------------------------------------------------------------
ファーストビューセクション 
*/
/* セクションのコンテナの下マージン解除 */
.container.nmb {
  margin: 0 auto;
  padding: 100px 0 0 0 !important;
}
#section0 {
  /*height: 100vh;*/
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('https://giin.onedesign.blue/wp-content/uploads/2026/02/0.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  padding: 100px 0 0 0 !important;
}
section#section0 {
  padding: 100px 0 0 0 !important;
  margin: 0 !important;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 50px;
  align-items: center;
  /*max-width: 600px;*/
}
.hero-img {
  overflow: hidden;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 2px #00008b;
  color: white;
  font-family: "Noto Sans JP", sans-serif;
}
.hero-text {
  font-size: 1.3rem;
  color: #191970;
  margin-bottom: 30px;
  font-weight: 700;
  opacity: 1;
  text-shadow: 1px 1px 2px white;
}
.hero-text span {}
.name {
  margin: 1px 0;
  text-align: right;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px black;
  color: gold;
  font-family: "Noto Sans JP", sans-serif;
}
.occupation {
  margin: 36px 16px 1px 0;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px black;
  font-family: "Noto Sans JP", sans-serif;
}
.mess-content {
  display: grid;
  gap: 50px;
  align-items: center;
}
.mess-text {
  font-size: 1.1em;
}
/* ---------------------------------------------------------------------
政策セクション
*/
.vision-grid {
  display: flex; /* Flexbox レイアウトを有効にする */
  flex-wrap: wrap; /* PC: 要素が収まらない場合に折り返す */
  gap: 20px; /* 要素間の間隔 */
  align-items: stretch; /* 高さ揃え */
}
.vision-item {
  flex: 1; /* PC: 各要素が均等に幅を取るようにする */
  min-width: 200px; /* PC: 要素の最小幅 */
}
/*.grid-item:hover {
  transform: translateY(-10px);
}*/
.vision-title {
  font-size: 1.5rem;
}
.lsz {
  font-size: 4rem;
}
.lsz span {
  font-size: 2rem;
  padding-right: 0.3rem;
  color: #777777;
}
/* ---------------------------------------------------------------------
レイアウト Grid Design
*/
.container-grid {
  display: flex; /* Flexbox レイアウトを有効にする */
  flex-wrap: wrap; /* PC: 要素が収まらない場合に折り返す */
  gap: 30px; /* 要素間の間隔 */
  align-items: stretch; /* 高さ揃え */
}
.grid-item {
  border-radius: 10px;
  overflow: hidden;
}
.grid-item.padding {
  padding: 15px 18px;
}
.grid-item.border {
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 10px;
  background-color: white;
  padding: 15px 18px;
}
.grid-img {
  overflow: hidden;
}
.grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.grid-item:hover .grid-img img {
  transform: scale(1.1);
}
/*.grid-content {
  padding: 20px;
  background-color: var(--light-bg);
}*/
.grid-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.grid-text {
  color: var(--light-text);
  font-size: 1.0rem;
}
/* ---------------------------------------------------------------------
レイアウト Flex Design
*/
.container-flex {
  display: flex; /* Flexbox レイアウトを有効にする */
  flex-wrap: wrap; /* PC: 要素が収まらない場合に折り返す */
  gap: 30px; /* 要素間の間隔 */
  align-items: stretch; /* 高さ揃え */
  margin-bottom: 1rem;
}
.flex-item {
  /*border: 1px solid #ccc; */
  flex: 1; /* PC: 各要素が均等に幅を取るようにする */
  min-width: 300px; /* PC: 要素の最小幅 */
}
.flex-item.padding {
  padding: 15px 18px;
}
.flex-item.border {
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 10px;
  background-color: white;
  padding: 15px 18px;
}
/* Custom Rule for Main Widget 2nd Item to match .border style */
#main-widget .widget:nth-child(2) {
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 10px;
  background-color: white;
  padding: 15px 18px;
}
/* Force flex-item behavior on widgets in flex containers */
.container-flex .widget {
  flex: 1;
  min-width: 300px;
}
.flex-item.cen {
  text-align: center;
}
.tcen {
  text-align: center;
  margin: 0 auto;
}
.flex-item p.flex-text {}
/*.flex-item:hover .grid-img img {
  transform: scale(1.1);
}*/
.flex-title {
  font-size: 1.2rem;
  margin: 7px 0 16px 0px;
  position: relative;
  display: inline-block;
}
.flex-title::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 170px;
  height: 2px;
  background-color: var(--primary-color);
}
/* ---------------------------------------------------------------------
Flexの設定（基本）
*/
@media screen and (max-width: 768px), print {
  .flex-2 div, .flex-3 div {
    margin-bottom: 2rem;
  }
  .flex-4, .flex-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 2rem;
  }
  .flex-4 > div, .flex-5 > div {
    width: calc((100% - 2em) / 2);
  }
}
/* Desktop */
.flex-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2rem;
  align-items: center;
}
.flex-2 > div {
  width: calc((100% - 2rem) / 2);
}
.flex-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2rem;
}
.flex-3 > div {
  width: calc((100% - 4rem) / 3);
}
.flex-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2rem;
}
.flex-4 > div {
  width: calc((100% - 6rem) / 4);
}
.flex-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2rem;
}
.flex-5 > div {
  width: calc((100% - 8rem) / 5);
}
/* ---------------------------------------------------------------------
Animation
*/
/*#typewriter {
      white-space: nowrap;
      overflow: hidden;
      border-right: 2px solid black;
      animation: typing 5s steps(60, end), blink-caret .75s step-end;
    }
    @keyframes typing {
      from { width: 0; }
      to { width: 100%; }
    }
    @keyframes blink-caret {
      from, to { border-color: transparent; }
      50% { border-color: black; }
}*/
/* ---------------------------------------------------------------------
プロフィールセクション
*/
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  overflow: hidden;
}
.about-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
}
.about-name span {
  font-size: 1.2rem;
  padding-left: 0.5em;
}
.about-job {
  color: var(--light-text);
  margin-bottom: 20px;
}
.about-description {
  margin-bottom: 15px;
}
.about-social {
  margin-top: 30px;
}
.about-social a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.5rem;
  color: var(--text-color);
}
.about-social a:hover {
  color: var(--primary-color);
}
dl.prof {
  width: 100%;
  margin: 24px auto;
  padding: 0;
}
.prof dt {
  line-height: 1;
  margin: 0;
  width: 6rem;
  padding: 7px 0;
  clear: left;
  float: left;
  font-size: 1rem;
  vertical-align: top;
  color: #036EB8;
  font-weight: bold;
}
.prof dd {
  line-height: 1;
  margin: 0;
  padding: 7px 0;
  font-size: 1rem;
  vertical-align: top;
  padding-left: 6rem;
}
dl.profile {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /*background-color: white;
  border-radius: 100vh 15vh 15vh 100vh;
  padding: 0.3rem 0.6rem 0.3rem 0.4rem;*/
}
dl.profile:last-child {
  margin-bottom: 0;
}
dl.profile dt {
  width: 6em;
  /*padding: 0.5rem;
  border-radius: 100vh;*/
  font-weight: 700;
}
dl.profile dt span {
  font-size: 0.8em;
}
dl.profile dd {
  font-weight: 500;
  width: calc(100% - 7em);
}
dl.profile dd .ex {
  font-size: 0.8em;
  font-weight: normal;
}
/* ---------------------------------------------------------------------
PRESS
*/
h3.press-title {
  text-align: center;
  margin-top: 1rem;
}
/* ---------------------------------------------------------------------
Info
*/
.contact-info, .info-details, .info-hours {
  margin-left: 0.5rem;
  font-style: normal;
}
.info-details {
  margin-left: 0.5rem;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 700;
}
.info-hours {
  margin-left: 0.5rem;
  font-style: normal;
}
.cen-btn {
  text-align: center;
  margin: 1.6rem;
}
/* ---------------------------------------------------------------------
Contact
*/
/* ---------------------------------------------------------------------
Footer
*/
.footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 45px 0 10px 0;
}
.footer a,
.footer p {
  color: white;
}
.container-wide {
  width: 90%;
  max-width: 1620px;
  margin: 0 auto;
  padding: 0;
}
.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.footer-social {
  margin: 11px 0;
}
.footer-social a {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.5rem;
  color: white;
}
.footer-social a:hover {
  color: var(--primary-color);
}
.footer-nav-list {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.footer-nav-item {
  margin: 0 16px;
}
.footer-nav-item a {
  color: white;
  font-weight: 500;
}
.footer-nav-item a:hover {
  color: var(--primary-color);
}
.footer-copyright {
  margin-top: 30px;
  color: #ffffff;
  font-size: 0.9rem;
  text-align: center;
}
/* ---------------------------------------------------------------------
YouTube
*/
.youtube-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* タイトルのスタイル */
.video-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}
/* iframeのラッパー */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* アスペクト比（16:9） */
  overflow: hidden;
  border-radius: 10px;
}
/* iframeのスタイル */
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .youtube-container {
    padding: 15px;
  }
  .video-title {
    font-size: 1.2rem;
  }
  .video-wrapper {
    padding-top: 75%; /* スマホ向けに高さを少し増やす */
  }
}
ul {
  list-style: none;
}
ul.list {
  padding: 0 0 0 36px;
  margin: 0 0 14px 0;
}
ul.list li {
  padding: 3px 0;
  margin: 0;
  list-style-type: square;
}
.sns li a {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.625em;
}
.sns li a img {
  width: 50px;
  margin-right: 1rem;
}
.sns li a p {
  line-height: 1.4;
  font-weight: 700;
}
/* ---------------------------------------------------------------------
Accordion
*/
/* アコーディオン全体の枠線 */
.accordion {
  max-width: 600px; /* お好みの幅に */
  margin: 10px 0;
  border: 1px solid #ccc; /* ここが枠線です */
  border-radius: 5px;      /* 角を少し丸く */
  overflow: hidden;        /* 中身が枠からはみ出さないように */
}

/* サマリー（見出し部分） */
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  background-color: #fff;
  font-weight: bold;
}

/* Safari用の三角消し */
summary::-webkit-details-marker {
  display: none;
}

/* アイコン（+ / −） */
.icon::before {
  content: "+";
  font-size: 1.2rem;
}

details[open] .icon::before {
  content: "−";
}

/* 中身のコンテナ */
.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease; /* 開くスピード */
  background-color: #f9f9f9;       /* 中身に少し色をつけると見やすい */
}

/* 開いたときの中身 */
details[open] .content {
  max-height: 1000px; /* 中身が入る十分な高さ */
  border-top: 1px solid #ccc; /* 見出しと中身の間の線 */
}

/* 内部の余白調整 */
.inner {
  padding: 20px;
}

/* リスト（dl）の見た目を整える（お好みで） */
.list dt {
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}
.list dd {
  margin-left: 0;
  margin-bottom: 10px;
  color: #666;
}
/* ---------------------------------------------------------------------
GoogleMap
*/
.google-map-container {
  position: relative;
  padding-bottom: 75%; /* アスペクト比 4:3 */
  height: 0;
  overflow: hidden;
}
.google-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.mato {
  margin-top: 5em;
}
.hide {
  display: none;
}
/* ---------------------------------------------------------------------
Responsive
*/
@media (max-width: 1280px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  .nav.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  .nav-item, .menu-item {
    margin: 15px 0;
  }
  .hamburger {
    display: block;
    z-index: 1001;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  .hero-title {
    font-size: 2.8rem;
  }
}
@media (max-width: 992px) {
  .section {
    padding: 80px 0;
  }
  .section.hero {
    padding: 80px 0 0 0;
  }
  /*.section-title {
    font-size: 1.3rem;
  }*/
  .hero-title {
    font-size: 2.6rem;
  }
  .grid-item {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .about-content, .hero-content {
    grid-template-columns: 1fr;
    /*text-align: center;*/
  }
  .about-img {
    max-width: 300px;
    margin: 0 auto;
  }
  .about-social {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .container {
    width: 94%;
  }
  .hero-content {
    gap: 10px;
  }
  .wide {
    width: 100%;
    padding: 0 10px;
  }
  .header-inner {
    padding: 5px 0;
  }
  .name {
    margin: 1px 0;
    font-size: 3rem;
  }
  .occupation {
    margin: 36px 16px 1px 0;
    font-size: 1.1rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .container-grid {
    grid-template-columns: 1fr; /* スマホ: 1列にする */
  }
  .container-flex {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex: none; /* スマホ: 幅の均等割り当てを解除 */
    width: 100%; /* スマホ: 要素を親要素いっぱいに広げる */
    min-width: auto; /* スマホ: 最小幅を解除 */
  }
  .footer-nav-list {
    flex-wrap: wrap;
  }
  .footer-nav-item {
    margin: 10px;
  }
  .footer-nav-item a {
    font-size: 0.9rem;
  }
  .mobile-hide {
    display: none;
  }
  br.mobile-br {
    display: block;
  }
  .mato {
    margin-top: 0.5em;
  }
}
@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  /*.section-title {
    font-size: 1.3rem;
  }*/
  .hero-title {
    font-size: 1.52rem;
  }
  .about-name {
    font-size: 1.4rem;
  }
}
/* ---------------------------------------------------------------------
Contact
*/
/* テキスト入力・セレクトボックスを横幅いっぱいに */
.mw_wp_form input[type="text"], .mw_wp_form input[type="email"], .mw_wp_form input[type="tel"], .mw_wp_form select, .mw_wp_form textarea {
  width: 98% !important;
  box-sizing: border-box;
  padding: 6px;
  font-size: 16px;
  border: 1px solid #999999;
}
.mw_wp_form input[type="text"], .mw_wp_form input[type="email"], .mw_wp_form input[type="tel"], .mw_wp_form textarea {
  border-radius: 4px;
	margin-bottom: 1rem;
}
@media screen and (max-width: 767px) {
  /* フォーム全体の余白調整 */
  .mw_wp_form {
    padding: 10px;
  }
  /* テキスト入力・セレクトボックスを横幅いっぱいに */
  .mw_wp_form input[type="text"], .mw_wp_form input[type="email"], .mw_wp_form input[type="tel"], .mw_wp_form select, .mw_wp_form textarea {
    width: 100% !important;
    box-sizing: border-box;
    padding: 8px; /* 指でタップしやすい高さ */
    font-size: 16px; /* iPhoneでズームされないための最小サイズ */
    border: 1px solid #999999;
  }
}
.mw_wp_form_item label {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px 5px 5px 0;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
.mw_wp_form .submit_section {
  text-align: center;
  margin-top: 30px;
}
.mw_wp_form input[type="submit"] {
  width: 80%; /* スマホで押しやすい横幅 */
  max-width: 300px;
  padding: 15px;
  background-color: #333; /* お好みの色に */
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  -webkit-appearance: none; /* iOSのデフォルトスタイル解除 */
}
label.bold {
  font-weight: 700 !important;
  margin-bottom: 0.2rem;
}
/* ラジオボタンとチェックボックスのラップ（共通） */
.mw_wp_form .mwform-radio-field, .mw_wp_form .mwform-checkbox-field {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* 選択肢同士の空間 */
  margin: 8px 0;
}
/* 選択肢（label）の調整 */
.mw_wp_form .mwform-radio-field label, .mw_wp_form .mwform-checkbox-field label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
}
/* ラジオボタン本体（input）の見た目調整 */
.mw_wp_form .mwform-radio-field input[type="radio"], .mw_wp_form .mwform-checkbox-field input[type="checkbox"] {
  margin: 0 8px 0 0; /* 文字との間の余白 */
  width: 20px; /* タップしやすいサイズ */
  height: 20px;
  flex-shrink: 0; /* 文字が長くても形を維持 */
  cursor: pointer;
}
/* スマホ表示：1項目1行にする場合 */
@media screen and (max-width: 767px) {
  .mw_wp_form .mwform-radio-field, .mw_wp_form .mwform-checkbox-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
/* --------------------------------------------------------------------------
 シェアボタン
-------------------------------------------------------------------------- */
/* ボタン全体を囲むコンテナ */
.share-container {
    width: 100%;          /* 横幅いっぱい確保 */
    display: flex;        /* flexボックスにする */
    justify-content: center; /* 左右中央に配置 */
    margin: 20px 0;       /* 前後の余白（適宜調整） */
}

/* リストの設定 */
.share-list {
    display: flex;
    list-style: none;
    padding: 8px 0; /* 上下に少し余白を足すとさらに誤タップ防止 */
    margin: 0;
    gap: 30px;            /* アイコン同士の間隔 */
}

/* 各アイテムの設定 */
.share-item a {
    text-decoration: none;
    font-size: 24px;      /* アイコンのサイズ */
    width: 48px;          /* ボタンの幅 */
    height: 48px;         /* ボタンの高さ */
    display: flex;
    align-items: center;  /* アイコンを上下中央に */
    justify-content: center; /* アイコンを左右中央に */
    border-radius: 50%;   /* 正円にする */
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: #fff;
	/* 白シャドー */
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}
.share-item a:hover {
    color: #fff;
}
/* ブランドカラー */
.fb a { background-color: #1877f2; }
.x-corp a { background-color: #333; }
.line a { background-color: #06c755; }

/* ホバー演出 */
.share-item a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

/* Facebook Page Pluginのラッパー */
.fb-page-wrapper {
  width: 100%;
  max-width: 500px; /* 最大幅を指定 */
  margin: 0 auto;
  overflow: hidden;
}

/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .fb-page-wrapper {
    max-width: 100%; /* スマホでは全幅に拡大 */
  }
}
/* コンテナの設定 */
.sns-follow-container {
  display: flex;
  justify-content: center; /* 中央揃え */
  align-items: center;
  gap: 15px; /* アイコン同士の隙間（スマホ向けに広め） */
  padding: 20px 10px;
  flex-wrap: nowrap; /* 1列を維持 */
}

/* ボタンの共通スタイル */
.sns-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;  /* タップしやすいサイズ */
  height: 50px;
  border-radius: 50%; /* 円形 */
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  /* タップ時のハイライト抑制（モバイル用） */
  -webkit-tap-highlight-color: transparent;
}

/* 各ブランドカラーの設定 */
.facebook { background-color: #1877F2; }
.instagram { background-color: #111111; }
.x-twitter { background-color: #000000; }
.line { background-color: #06C755; }

/* ホバー・アクティブ時の演出 */
.sns-button:active {
  transform: scale(0.9); /* タップした瞬間に少し小さくする（フィードバック） */
}

@media (min-width: 768px) {
  .sns-button:hover {
    transform: translateY(-5px); /* PCでは浮き上がる演出 */
    opacity: 0.8;
  }
  .sns-follow-container {
    gap: 20px; /* PCでは少し広げる */
  }
}

/*-------------------------------------------------------------
 GoogleMap
 */
/* コンテナのスタイル */
.map-container {
  width: 100%;           /* 親要素に対して100% */
  max-width: 450px;      /* 450px以上には大きくならない */
  margin: 0 auto;        /* 必要であれば中央寄せ */
}

.map-container iframe {
  width: 100% !important; /* HTML側のwidth属性を上書き */
  aspect-ratio: 1 / 1;   /* 縦横比を1:1（正方形）に保つ */
  height: auto;          /* 高さはアスペクト比に任せる */
}

/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .google-doc-container {
    padding: 15px;
  }

  .doc-title {
    font-size: 1.2rem;
  }

  .iframe-wrapper {
    padding-top: 150%; /* スマホ向けに高さを増やす */
  }
}