@charset "utf-8";
/*
theme Name: okayamaoyako
Author: sugikahun
Description: original theme
version： 1.0.0
*/

/* =====================================
   1. ベース設定 & 変数
===================================== */
:root {
  --c-bg: #fafafa;
  --c-surface: #fff3d3;
  --c-line: #e6e6e6;
  --c-txt: #222;
  --c-txt-o: #ff9d00;
  --c-sub: #666;
  --c-brand: #119001;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

body {
  color: var(--c-txt);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans",
    "Noto Sans", sans-serif;
  line-height: 1.7;
  letter-spacing: 0.5px;
  font-size: 16px;
  font-weight: normal;
  background-image: url("../img/haikei_kami.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: 800px;
}

body::after {
}

p {
  word-break: break-all;
  text-align: justify;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}

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

a {
  color: var(--c-txt-o);
  text-decoration: none;
  font-weight: normal;
  word-break: break-all;
}

a p:hover {
  opacity: 0.5;
  transition: 0.3s;
}

a div:hover {
  opacity: 0.7;
  transition: 0.3s;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.section {
  padding: 30px 0 60px 0;
  background-color: var(--c-surface);
  mix-blend-mode: multiply;
}

.section--tint {
  background: #f5f8fc;
}

.section__head {
  text-align: center;
}

.section-title {
  margin-bottom: 16px;
  text-align: center;
}

.section-title img {
  height: 60px;
  width: auto;
}

.section-title3 {
  margin-bottom: 16px;
  text-align: center;
  margin-bottom: 0;
}

.section-title3 img {
  height: 130px;
  width: auto;
}

/* =====================================
   2. 汎用コンポーネント
===================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 20px 16px;
  font-weight: 600;
  border: 1px solid var(--c-brand);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  font-weight: 500;
}

.btn--primary {
  background: var(--c-brand);
  color: #fff;
  border-radius: 300px;
  font-size: 1.1rem;
  font-weight: 500;
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--outline {
  background: #fff;
  color: var(--c-brand);
}

/* グリッドレイアウト */
.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.text_c {
  text-align: center;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================
   3. ページ構成要素
===================================== */

/* --- Header --- */
/* ヘッダー本体 */
.site-header {           /* ベージュ */
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img{
  width: 120px;
  height: auto;
}

/* ロゴ */
.site-logo {
  text-decoration: none;
  color: #333;
}
.site-logo__en {
  display: block;
  letter-spacing: 0.25em;
  font-size: 1.6rem;
  font-weight: 700;
}
.site-logo__jp {
  display: block;
  font-size: 1.2rem;
  margin-top: 4px;
}

/* Menu ボタン */
.menu-toggle {
  border: none;
  background: none;
  cursor: pointer;
  color: #333;
  font-size: 1rem;
}

.menu-toggle__label {
  font-size: 1.1rem;
}

/* ●●● アイコン部分 */
.menu-toggle__icon {
display: flex;
    justify-content: space-between;
    width: 38px;
    margin: 0px auto 6px auto;
}
.menu-dot {
  background-color: #333;
  width: 5.5px;
  height: 5.5px;
  border-radius: 100px;
}
/* 開いたとき：点が × に変形 */
.menu-toggle.is-open .menu-dot--1{
  top: 50%;
  border-radius: 999px;          /* 線っぽくする */
  height: 3px;
  width: 100px;
}
.menu-toggle.is-open .menu-dot--3 {
  top: 50%;
  border-radius: 999px;          /* 線っぽくする */
  height: 3px;
  width: 100px;
}
.is-open .menu-toggle__label{
  position: relative  
}
.is-open .menu-toggle__label:before{
  position: absolute;
  content: "Close";
  left: -3px;
  bottom: 0;
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  z-index: 2;
  padding: 0px 2px;
}

/* -------------------------
   メニュー開閉エリア
--------------------------*/

.site-nav {
  position: fixed;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50;
  margin: 70px 16px 16px 16px;
  border-radius: 16px;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav__inner {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.site-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__list li {
  border-bottom: solid 1.5px #333;
  padding: 18px 0;
}

.site-nav__list a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  width: 250px;
  font-weight: 600;
}


/* --- Hero --- */
.hero {
  height: 720px;
  background-image: url(../img/tophaikei.jpg);
  background-size: cover;
  padding: 0;
  position: relative;
  mix-blend-mode: multiply;
}

.hero__inner {
  height: 100%;
}

.hero__copy {
  height: 100%;
  width: 100%;
  bottom: 0;
  background: no-repeat;
  background-image: url(../img/tophaikei-1.png);
  background-size: 660px;
  background-position: bottom;
  background-repeat: repeat-x;
  padding: 0;
}

.tophaikei-logo {
  width: 220px;
  position: absolute;
  left: 5%;
  top: 105px;
  z-index: 2;
}

.tophaikei-tori {
  width: 680px;
  max-width: 1000px !important;
  position: absolute;
  right: 3%;
  top: 8px;
  z-index: 1;
    transform: rotate(-11deg);  
}

.tophaikei-hoshi {
  width: 300px;
  position: absolute;
  right: 25%;
  top: 0px;
  z-index: 0;
}

.hero__copy .hero__inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.hero_container {
  position: absolute;
  bottom: -190px;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.eyebrow {
  color: #fff;
  line-height: 1.2;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 4px;
  text-align: center;
}

.hero__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.2;
  font-size: 1.9rem;
  font-weight: 500;
  text-align: center;
}

.hero__desc {
  color: var(--c-sub);
  max-width: 600px;
}

.hero__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.searchbox__row {
  border: none;
}

.popular-tags{
  line-height: 1.5;
}
#searchform,.popular-tags{
  width: 95%;
  margin: auto;
}
#searchform>div{
  width: 100%;
  margin-bottom: 4px;
}
.search-field{
  width: 100%;
  font-size: 1rem;
  padding: 30px 8px;
  border: solid 1px var(--c-brand);
  border-radius: 8px;
  margin-bottom: 4px;
}
#searchsubmit{
  width: 100%;
  font-size: 1rem;
  padding: 12px 8px;
  margin-bottom: 12px;
  background-color: var(--c-brand);
  color: var(--c-bg);
  border: solid 1px var(--c-brand);
  letter-spacing: 2px;
  border-radius: 8px;
}

.tag_list_top{
  line-height: 1.6;
  margin-bottom: 30px;
}
.tag_list_top a{
    color: var(--c-brand);
    text-decoration: underline;
    margin-right: 5px;
    font-size: 0.8rem;  
}

/*フェードインアニメ*/
/*左から右にフェードイン*/
.left-to-right {
  opacity: 0.1;
  transform: translateX(-20px);
  transition: all 1s;
}
.left-to-right.scrollin {
  opacity: 1;
  transform: translate(0);
}

/*下から上にフェードイン*/
.down-to-top {
  opacity: 0.1;
  transform: translateY(20px);
  transition: all 1s;
}
.down-to-top.scrollin {
  opacity: 1;
  transform: translateY(0);
}




/* --- Lead Map --- */


.introduction {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.introduction_hito1 {
  width: 100px;
}

.introduction_tit {
  width: 240px;
  margin-bottom: 20px;
}

.introduction_hito2 {
  width: 150px;
  position: absolute;
  bottom: 0;
  right: 20px;
}

.introduction > p {
  width: 90%;
  margin: 30px auto;
  padding-bottom: 100px;
  text-align: center;
  line-height: 2;
}

.lead {
  background: var(--c-surface);
  mix-blend-mode: multiply;
  padding: 60px 0;
}

.lead__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  align-items: center;
}
.lead__inner .text_c{
  width: 85%;
}

.lead__visual img {
  border-radius: var(--radius);
}

/* --- Cards --- */
.cards {
  display: grid;
  gap: 16px;
}

.cards--scroll {
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  overflow-x: auto;
  padding-bottom: 6px;
}

@media (min-width: 768px) {
  .cards--scroll {
    grid-auto-columns: 33%;
  }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease;
  padding: 20px 0;
  position: relative;
  margin-bottom: 16px;
}

.card p,
.card a {
  color: var(--c-txt);
}

.card:hover {
  transform: translateY(-2px);
}

.card__thumb {
  width: min(1100px, 92%);
  margin: auto;
}

.card__thumb img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card__thumb .simple-slider{
  margin-bottom: 10px;
}

.card__body {
  padding: 12px 0;
  width: min(1100px, 92%);
  margin: auto;
}
.card__link{
  margin-right: 0;
  display: block;
}

.card__eyebrow {
  font-size: 0.8rem;
  color: var(--c-sub);
  margin-bottom: 4px;
}

.card__title {
  width: 90%;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 4px;
  color: var(--c-txt-o);
  padding: 0;
  text-align: justify;
}

.card__copy {
  font-size: 1.5rem;
  margin-bottom: 24px;
  line-height: 1.4;
  padding: 0;
}

.card__copy_single {
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1.4;
  padding: 0;
  text-align: justify;
  font-weight: bold;
}

.card_tags{
  margin-bottom: 6px;
}
.card_tags,
.card_tags_single {
  overflow: hidden;
}

.card_tags_single a ,.card_tags p{
    background: var(--c-surface);
    color: var(--c-txt);
    border-radius: 4px;
    padding: 2px 4px;
    margin-right: 4px;
}
.card_tags_single {
  padding: 0;
}

.card_tags p,
.card_tags_single p {
  font-size: 0.6rem;
  float: left;
}

.body_text {
  font-size: 0.8rem;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--c-sub);
}

.list_pr{
  padding-bottom: 1px;
}

.card--pr .card__thumb img {
  background: #ffe7cf;
}

.badge--pr {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffcc80;
  color: #7a3b00;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.75rem;
}

.tag_pr {
    width: 30px !important;
    aspect-ratio: unset !important;
    border-radius: 0 !important;
  height: auto;
  position: absolute;
  right: 20px;
  top: 0;
}

.btn_aida {
  width: 88%;
  margin: 30px auto;
}

.btn_aida button {
  width: 100%;
}

/* --- タグ一覧 --- */
.tags_tit {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0px;
}
.tag_list {
  text-align: center;
  padding: 0 !important;
}

.tag_list img {
  width: 88%;
}

.waku_tag_shita {
  transform: rotate(180deg);
}

.tag_list_in {
  width: 80%;
  padding: 20px 0;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag_list_in a {
  color: var(--c-txt);
  text-decoration: underline;
  margin-right: 6px;
  text-align: center;
  white-space: nowrap;
  font-size: 1.1rem;
}

.tag_list_in a p {
  float: left;
  text-decoration: underline;
}

.google-map {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.google-map iframe {
  width: 100%;
  height: 440px;
  margin: 20px 0 0 0;
  border: none;
  border-radius: 16px;
}

.i4ewOd-pzNkMb-haAclf {
  display: none !important;
}

/* --- 口コミ --- */
.lead--review {
  background-color: var(--c-bg);
}

.review_in {
  width: 100%;
}

.review_in a {
  width: 100%;
  margin-bottom: 10px;
  color: var(--c-txt);
}

.review_in a div {
  background-color: var(--c-surface);
  border-radius: 4px;
  margin-bottom: 12px;
  padding: 16px;
}

.review_in a div {
  text-align: justify;
}

.section-title4 {
  font-size: 2rem;
  line-height: 1.4;
}

.section-title4 img {
  height: 80px;
  width: auto;
}

.home_com_1 {
  font-size: 0.7rem;
  font-weight: normal;
}
.home_com_2 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 8px 0;
}
.home_com_3 {
  font-size: 0.7rem;
  font-weight: normal;
  color: var(--c-txt-o);
}

/* --- 掲載 --- */
.keisai_in {
  background-color: var(--c-bg);
  padding: 30px;
  padding-bottom: 50px;
  margin: 10px 0;
  text-align: center;
  border-radius: 20px;
  position: relative;
}

.keisai_in h3 {
  text-align: center;
}

.keisai_in .btn {
  margin-bottom: 0;
}

.keisai_in h3 {
  margin-bottom: 16px;
  font-size: 1.7rem;
}

.keisai_in p {
  margin-bottom: 16px;
}

.btn_keisai button {
  width: 100%;
}

.lead--keisai .lead__inner > p {
  margin-bottom: 20px;
}

/* 角のドット */
.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8b34;
}

.dot--tl {
  top: 10px;
  left: 10px;
}

.dot--tr {
  top: 10px;
  right: 10px;
}

.dot--bl {
  bottom: 10px;
  left: 10px;
}

.dot--br {
  bottom: 10px;
  right: 10px;
}

.amanogawa {
  background-color: var(--c-surface);
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  padding: 0;
  mix-blend-mode: multiply;
}

.amanogawa img {
  width: 120%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.lead--about div {
  text-align: center;
  justify-items: center;
}

.about_copy {
  font-size: 0.8rem;
  text-align: center;
}

/* --- ライター --- */
.writer_waku {
  width: 88%;
  margin: auto;
  margin-top: 80px;
}

.writer_in {
  width: 100%;
}
.writer_in_in{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 16px 0;
}

.writer_in_in div {
  width: 48%;
  color: var(--c-txt);
  text-decoration: none;
}
.writer_in_in img{
  width: 100px; /* 幅を好きな値に設定 */
  height: 100px; /* 高さを幅と同じ値に設定 */
  border-radius: 50%; /* これで正円になります */
}

.writer_in_in p {
  font-size: 1rem;
  text-align: center;
}

/* --- お知らせ --- */
.section-news {
  padding-top: 40px;
}

.news-list a {
  text-decoration: none;
  color: var(--c-txt);
}

.news-list {
  border-top: solid 1px #333;
  margin-bottom: 30px;
}

.news-list a li {
  list-style: none;
  border-bottom: solid 1px #333;
  padding: 12px 0;
}

.news-list a p,
.news-list a time {
  font-size: 0.8rem;
}

/* --- サポーター --- */
.haikei-ss {
  background: #ffffff;
  border-radius: 200px;
  width: 80%;
  margin: auto;
  padding-bottom: 50px;
}

.haikei-ss h2 {
  margin-bottom: 20px;
}

.haikei-ss h2 img {
  margin-top: -40px;
}

.haikei-ss .container {
  text-align: center;
  width: 110%;
  margin-left: -5%;
}

.ss_list a {
  width: 100%;
}

.ss_list a img {
  width: 100%;
  margin-bottom: 12px;
}

/* --- CTA --- */
.cta {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
  padding: 56px 0;
}

.cta__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.cta__title {
  margin-bottom: 8px;
  margin-right: 4px;
  text-decoration: underline;
}

/* --- Writers --- */
.writers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin-top: 16px;
}

.writer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 8px 12px;
}

.avatar {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

/* --- 記事ページ --- */
.single_topimg {
  text-align: center;
}

.single_topimg img {
  width: 240px;
  height: auto;
  aspect-ratio: 2;
  object-fit: contain;
}

.cards_haikei {
  background-color: #fff;
  border-radius: 20px;
  margin-top: 80px;
}
.cards_haikei article{
  position: relative
}
article .popular-tags{
  margin-bottom: 30px;
  margin-top: -30px;
  width: 90% !important;
}
article .popular-tags a{
  font-size: 0.9rem;
  color: var(--c-sub);
  text-decoration: underline;
}

.single_topimg {
  margin-top: -60px;
}

.mokuji {
  width: 90%;
  margin: auto;
  margin-top: 20px;
}

.mokuji p {
  color: #ff9d00;
  font-size: 1.3rem;
}

.mokuji li {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.mokuji li:before {
  position: absolute;
  content: "・";
  left: 4px;
  top: 2px;
  font-size: 1rem;
  color: #ff9d00;
}

.mokuji_hito2 {
  text-align: right;
}

.mokuji_hito2 img {
  width: 100px;
  margin-top: -30px;
}
.kiji_content,.news_single,.page_single {
  width: min(1100px, 92%);
  margin: auto;
  padding-bottom: 20px;
}
.kiji_content p,.news_single p,.page_single p{
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.8;
}
.kiji_content img,.news_single img,.page_single img{
  border-radius: 8px;
  width: 100%;
}
.kiji_content h2,.news_single h2,.page_single h2 {
    background: #f2e8c9;
    padding: 10px 20px;
    margin: 20px 0;
    border-left: solid 2px var(--c-txt-o);  
    text-align: left;
    line-height: 1.4;
}
.kiji_content h3,.news_single h3,.page_single h3 {
    color: var(--c-txt-o);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: justify;  
}

#ez-toc-container.ez-toc-white {
  width: 100%;
  margin: 40px auto;
  border: solid 1px var(--c-txt-o);
  padding: 20px;
}
.ez-toc-title {
  color: var(--c-txt-o);
}
.ez-toc-title-container {
  margin-bottom: 10px;
  letter-spacing: 2px;
  margin-left: -3px;
}
.ez-toc-counter nav ul li a::before {
  color: var(--c-txt-o);
}
.wp-block-quote {
  border-radius: 16px;
  padding: 20px;
  border: var(--c-txt-o) solid 1px;
}
.wp-block-quote b {
  color: var(--c-txt-o);
}
.wp-block-quote h2 {
  font-size: 1.2rem;
  margin: 0;
  text-align: center;
  margin-bottom: 7px;
  width: 100%;
background: none;
    border-left: none;
    color: var(--c-txt-o);
}
.wp-block-quote p {
  padding: 0 !important;
  margin-bottom: 0;
}
.kiji_map{
    width: min(1100px, 92%);
    margin: auto;
    margin-bottom: 40px;
    overflow: hidden;
}
.kiji_map iframe {
  width: 100%;
  border-radius: 16px;
  border: none;
}
/* コメント */
#comment_sec {
  padding: 60px 10px 0px 10px;
}
#comments {
  display: none;
}
.comment-form-comment textarea {
  margin: 10px 0;
  padding: 16px;
  width: 100%;
  border: none;
  border-radius: 16px;
}
.commentlist {
  width: 100%;
  margin-bottom: 10px;
  border-top: solid 1px #c6c6c6;
}
.commentlist li {
  width: 100%;
  border-bottom: solid 1px #c6c6c6;
  padding: 16px 0;
  list-style: none;
}
.comment-meta {
  font-size: 0.6rem;
}
.says {
  display: none;
}
.comment-author {
  display: flex;
  align-items: center;
}
.comment-author img {
  margin-right: 5px;
  height: 25px;
  width: 25px;
}
.reply {
  display: none;
}
#respond {
  padding: 10px 0;
  width: 100%;
}
#reply-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
}
.comment-notes {
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 16px;
}
.logged-in-as {
  display: none;
}
#submit {
  width: 100%;
  font-size: 1rem;
  padding: 20px 5px;
  background-color: var(--c-txt);
  border: none;
  color: #fff;
  border-radius: 100px;
}

.comment-form-comment label {
  display: none;
}
.fn {
  font-size: 15px;
  font-style: normal;
}
.comment-form-author,
.comment-form-email {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.comment-form-author label,
.comment-form-email label {
  margin-right: 5px;
  width: 20%;
}
.comment-form-author input,
.comment-form-email input {
  width: 80%;
}
#author,
#email {
  border: none;
  padding: 12px;
  border-radius: 16px;
}
.comment-form-cookies-consent {
  display: none;
}
.g-recaptcha{
  text-align: center;
}
.g-recaptcha>div{
  width: 100%;
  margin: auto;
}

/* ライター */
.kiji_writer {
  width: min(1100px, 92%);
  margin: auto;
  padding: 60px 0px;
}
.kiji_writer h2 {
  text-align: center;
  font-size: 1.3rem;
}
.post-author__avatar {
  text-align: center;
  padding: 12px 0;
}
.post-author__avatar img {
  width: 120px;
  height: 120px;
}
.post-author__name {
  text-align: center;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.post-author__bio {
  font-size: 0.8rem;
  width: 80%;
  text-align: center;
  margin: auto;
}

/* シェアボタン */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  background: var(--c-surface);
  z-index: 1;
  opacity: 1;
  left: 0;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.share-btn {
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  font-size: 11px;
  border: none;
}
.share-buttons,
.share-buttons * {
  mix-blend-mode: normal !important;
}

/* single_news */
.single_topimg_news{
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    color: #41afd5;
    line-height: 1;
}
.news_single{
  width: min(1100px, 92%);
  margin: auto;  
  padding: 20px 0 30px 0 ;
}
.news_single time p{
  font-size: 0.7rem;
  text-align: center;
  margin-bottom: 12px;
}
.news_single h2{
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;  
}

/* tag */
.tag .section-title,.search .section-title{
  font-size: 1.1rem;
  line-height: 1.5;
    margin-bottom: 0;  
}
.kensuu{
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

/* 固定page */
.page_single h4{
    color: var(--c-txt-o);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: justify;  
}
/* ===== Media Text 基本レイアウト ===== */
.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* ← ここを変更 */
  align-items: center;
  column-gap: 2rem;
}

/* 画像側 */
.wp-block-media-text__media img,
.wp-block-media-text__media video {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト側 */
.wp-block-media-text__content {
  font-size: 1rem;
  line-height: 1.7;
}

/* 画像が右側のとき */
.wp-block-media-text.has-media-on-the-right {
  grid-template-columns: 1fr 1fr;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
  order: 2;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  order: 1;
}


/* ===== モバイルで縦積み（is-stacked-on-mobile） ===== */
@media (max-width: 600px) {
  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 1fr; /* 1カラムに */
    row-gap: 1.5rem;
  }

  /* 画像→テキストの順に */
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    order: 1;
  }
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    order: 2;
  }

  /* 画像が右設定でも、スマホでは自然な順で縦並びにする */
  .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
    order: 1;
  }
  .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content {
    order: 2;
  }
}






/* それぞれの色 */
.share-btn.x {
  background: #111;
}
.share-btn.facebook {
  background: #1877f2;
}
.share-btn.line {
  background: #00c300;
}
.share-btn.copy {
  background: #555;
}

/* =====================================
   Slider
===================================== */
/* コンテナ */
.simple-slider {
  position: relative;
  width: 100%;
  max-width: 800px; /* 好きな幅に調整 */
  margin: 0 auto;
  overflow: hidden; /* ← これがないと全部見えてしまう */
  touch-action: pan-y;  
}

/* スライドを横並びに */
.slides {
  display: flex;
  transition: transform 0.4s ease;
}

/* 1枚がコンテナ幅ちょうどになるように */
.slide {
  flex: 0 0 100%; /* ← ここが大事：横幅100%固定 */
}

/* 画像をフィットさせる */
.slide img {
  width: 100%;
  height: auto;
  display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.simple-slider {
  margin-bottom: 30px;
}

/* ナビボタン */
.simple-slider .prev,
.simple-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: #00000080;
  color: #fff;
  border-radius: 100px;
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.simple-slider .prev {
  left: 12px;
}
.simple-slider .next {
  right: 12px;
}
/* ドットナビゲーション */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* 通常のドット（グレー） */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555; /* ← ここをグレーに */
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

/* アクティブなドット（白＋少し大きく） */
.dot.active {
  background: #fff;
  opacity: 1;
  transform: scale(1.2);
}

/* ドットナビゲーション */
.dots {
  position: absolute;
  left: 0;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* 通常のドット（グレー） */
.dots .dot {
  position: static; /* ← ここで absolute などを打ち消す */
  display: block; /* 念のためブロック要素に */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

/* アクティブなドット */
.dots .dot.active {
  background: #fff;
  opacity: 1;
  transform: scale(1.2);
}

/* =====================================
   Footer Green (Custom)
===================================== */
.footer-green {
  background: #3a8f3a url("../img/green_texture.png");
  background-size: cover;
  color: #fff;
  padding: 60px 20px 40px;
  text-align: center;
  font-size: 1rem;
  mix-blend-mode: multiply;
}

/* アイコン行 */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-icons img {
  height: 30px;
  width: auto;
}

.footer-icons img:hover {
  opacity: 1;
}

/* 2カラムレイアウト */
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin: 0 auto 30px;
  text-align: left;
}

.footer-col h3,
.footer-col a {
  border-bottom: #fff solid 0.5px;
  padding: 10px 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.footer-col h3 {
  font-weight: 500;
}

.footer-col a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding-left: 20px;
}

.footer-col a span {
  font-size: 0.6rem;
}

.footer-col a:hover {
  background: fff;
}
.child-category-item{
  list-style: none;
}

/* 著作権表記 */
.footer-copy {
  margin-top: 30px;
  font-size: 0.96rem;
  text-align: center;
}


/* 404 */
.page404 h2{
  text-align: center;
}
.page404 .news_single p{
  margin-bottom: 16px;
}
.page404 .news_single .btn_keisai{
  margin-bottom: 30px;
}
.madaarimasen{
  text-align: center;
}

/* ローディング全体 */
#loading {
  position: fixed;
  inset: 0; /* top, right, bottom, left:0 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--c-surface);
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* フェードアウト用クラス */
#loading.is-loaded {
  opacity: 0;
  visibility: hidden;
}
.loading-spinner img{
  width: 50px;
}
.loading-text {
  font-size: 14px;
  color: #555;
}
.fuwafuwa {
  display: inline-block;
  animation: fuwafuwa 3s ease-in-out infinite;
}
@keyframes fuwafuwa {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}




/* =====================================
   4. レイアウト：Main + Sidebar
===================================== */

body {
  background-color: var(--c-surface);
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.main-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 600px;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
}

/* 初期は非表示 */
.sidebar--left,
.sidebar--right {
  width: calc((100% - 600px) * 0.5);
}

/* =====================================
   5. レスポンシブ（3段階）
===================================== */

/* --- スマホ（～767px） --- */
@media (max-width: 767px) {
  .sidebar {
    display: none;
  }
  .site-nav__list a{
    width: 100%;
  }


}

/* --- タブレット（768～1023px） --- */
@media (min-width: 768px) and (max-width: 1023px) {
}

/* --- PC（1024px～） --- */
@media (min-width: 1024px) {
}
