@charset "UTF-8";
/*
Theme Name : 森田鰹節株式会社
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Roboto:wght@100;200;300;400;500&Poppins:wght@500&display=swap');
/* CSS Remedy */
*, ::after, ::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  line-sizing: normal;
}
body {
  margin: 0;
  padding: 0;
}
body.no-scroll {
    overflow: hidden;
    height: 100%;
}
h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 3.2rem;
}
h3 {
  font-size: 1.17rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: .83rem;
}
h6 {
  font-size: .67rem;
}
h1 {
  margin: .67em 0;
}
pre {
  white-space: pre-wrap;
}
hr {
  border-style: solid;
  border-width: 1px 0 0;
  color: inherit;
  height: 0;
  overflow: visible;
}
audio, canvas, embed, iframe, img, object, svg, video {
  display: block;
  vertical-align: middle;
  max-width: 100%;
}
img[class*="wp-image-"], img[class*="attachment-"] {
  height: auto;
  max-width: 100% !important;
  display: inline-block;
}
canvas, img, svg, video {
  height: auto;
}
audio {
  width: 100%;
}
img {
  border-style: none;
}
svg {
  overflow: hidden;
}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}
html, body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
html {
  font-size: 10px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "リュウミン R-KL", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "リュウミン R-KL", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "リュウミン R-KL", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.font-roboto {
  font-family: 'Roboto', sans-serif;
}

a:link {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
ul, ol, li {
  list-style: none;
  padding: 0;
  margin: 0;
}
body {
  overflow-x: hidden;
  color: #fff;
  background: #1a1a1a;
}
a[href^="tel:"] {
  cursor: default;
}
@media (min-width: 415px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
@media (min-width: 768px) {
  br.br-sp {
    display: none;
  }
}
p {
  line-height: 1.8;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 1.6rem;
}
input[type="submit"], input[type="button"] {
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  border: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
input[type="submit"]::-webkit-search-decoration, input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]:focus, input[type="button"]:focus {
  outline-offset: -2px;
}
.mb-100 {
  margin-bottom: 100px;
}
.mt-30 {
  margin-top: 30px !important;
}
.mt-50 {
  margin-top: 50px !important;
}
.pc--only {
  display: block;
}
@media screen and (max-width: 767px) {
  .pc--only {
    display: none;
  }
}
.sp--only {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp--only {
    display: block;
  }
}
/* --- ヘッダー --- */
/* ====================================
   ハンバーガーボタン
   ==================================== */
.l-header__btn {
  position: fixed;
  top: 45px;
  left: 25px;
  z-index: 9999;
  color: #fff;
  padding-top: 11px;
  width: 65px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-direction: column;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
}
.l-header__btn span {
  display: block;
  position: relative;
  background: #fff;
  width: 100%;
  height: 1px;
  margin-bottom: 27px;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
}
.l-header__btn span:before, .l-header__btn span:after {
  display: block;
  content: "";
  position: absolute;
  border-top: 1px solid #fff;
  width: 100%;
  left: 0;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
}
.l-header__btn span:before {
  top: -11px;
}
.l-header__btn span:after {
  bottom: -11px;
}
.l-header__btn:hover span:before {
  top: -14px;
}
.l-header__btn:hover span:after {
  bottom: -14px;
}
.l-header__btn.is-active span {
  background-color: transparent;
}
.l-header__btn.is-active span::before {
  top: 0;
  transform: rotate(45deg);
  background-color: #fff;
}
.l-header__btn.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg); 
  background-color: #fff;
}
@media (max-width: 768px) {
  .l-header__btn{
  width:40px;
  top: 25px;
  left: 15px;
    }
}
.l-nav__content .nav-wrap {
  flex-direction: row-reverse;
  align-items: flex-start;
  margin-bottom: 12vh;
}
.l-nav__content .info-wrap {
  flex-direction: row;
  align-items: flex-end;
}
.l-nav__content .nav {
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;
}
.l-nav__content .nav h1 {
  margin-left: 5.5vw;
}
.l-nav__content .nav ul {
  padding-top: 40px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 6vw;
  margin-right: 120px;
  list-style: none;
}
.l-nav__content .nav li {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  font-size: 2.4rem;
  line-height: 120%;
  position: relative; 
  padding: 20px 0 0;
}
.l-nav__content .nav li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%; 
  transform: translateX(-50%) rotate(45deg); 
  width: 8px;
  height: 8px;
  background: #c5a059;
 
}
.l-nav__content .nav li a {
  color: #fff;
  border-right: 1px solid #fff;
}
.l-header__btn p {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  font-family: "EB Garamond", "Noto Serif JP", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "リュウミン R-KL", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  width: 15px;
  line-height: 100%;
  font-size: 1.4rem;
}

/* ====================================
   メニューエリア（オーバーレイ）
   ==================================== */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../img/menu-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}
/* --- 開いた状態 (.is-active) --- */
.l-nav.is-active {
  opacity: 1;
  visibility: visible;
}
.l-nav-wrap {
  padding: 140px 20px 0;
  width:80vw;
  max-width: 1200px;
  margin: 0 auto;
}
.l-nav__subtitle, .l-nav__title {
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  letter-spacing: 0.5em;
}
.l-nav__subtitle {
  font-size: 2.2rem;
  transform: translateY(-80px) translateX(30px);
}
.l-nav__title {
  font-size: 3.0rem;
  display: inline-flex;
  align-items: center;
}
.l-nav__title a{
  display: flex;
  align-items: center;
  color: inherit;
}
.l-nav__title__logo {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
  vartical-align: middle;
}
nav.pc-top-nav {
  margin-left: 100px;
}
nav.pc-top-nav ul {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .l-nav-wrap {
    width:100%;
    margin:0;
    padding: 20px 0 0;
  }
  .l-nav__content .nav {
    display:block;
  }
  .l-nav__subtitle, .l-nav__title {
    -webkit-writing-mode: horizontal-tb !important;
    -ms-writing-mode: lr-tb !important;
    writing-mode: horizontal-tb !important;
    font-feature-settings: normal !important;
    letter-spacing: 0.1em !important;
    width: 100%; 
    text-align: center;
  }
  .l-nav__subtitle{
    font-size:1.8rem;
  }
  .l-nav__title{
    font-size:2.2rem;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top:-8px;
  }
  .l-nav__title__logo{
    width:40px;
  }
  .l-nav__subtitle {
    transform: none !important; 
    margin-top: 0;
  }
  .l-nav__content .nav ul{
    display: block;
   width:fit-content;
    margin:0 auto;
    padding-top:20px;
  }
   .l-nav__content .nav li {
 -webkit-writing-mode: horizontal-tb !important;
    -ms-writing-mode: lr-tb !important;
    writing-mode: horizontal-tb !important;
    font-feature-settings: normal !important;
    font-size:1.8rem;
    padding: 0 0 0 10px;
    width:fit-content;
    margin: 0 auto 30px;
    text-align: center;
}
  .l-nav__content .nav li::before {
    top:30%;
    left:0;
  }
  .l-nav__content .nav li a {
    border-right:none;
    border-bottom:1px solid #fff;
  }  
  .l-nav__content .nav-wrap{
    margin-bottom:40px;
  }
}


.l-nav__footer {
  position: absolute; 
  bottom: 40px; 
  left: 140px;
  z-index: 10; 
}
.l-nav__footer a {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .l-nav__footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 0;
    text-align: center;
    width: 100%;
  }
}


.p-nav-company__name span {
  font-size: 1.2rem;
  display: block;
}
.p-nav-company__name {
  font-size: 1.6rem;
}
.p-nav-company__address {
  font-size: 1.2rem;
  margin-top: 10px;
}


header {
  margin: 20px 0;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: 1000;
}
.header-inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  background-color: transparent;
}
.pc-top-nav ul li a {
  font-size: 1.6rem;
  color: #ffffff;
  display: block;
  position: relative;
  padding: 4px 0;
}
.pc-top-nav ul li a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #FFFFFF;
  transition: width 0.3s ease;
}
.pc-top-nav ul li a:hover::after {
  width: 100%;
}
@media screen and (max-width: 768px) {
  header{
    display: none;
  }
}
/* --- メインビジュアル --- */
.hero {
  height: 100vh;
  height: 100svh;
  background-image: url('../img/mainvis.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  letter-spacing: 0.8em;
  align-items: center;
}
img.hero-title__logo {
  width: 90px;
  height: auto;
  display: inline;
  margin-bottom: 15px;
}
.hero-title {
  font-size: 3.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-text {
  font-size: 1.8rem;
  position: absolute;
  right: -80px;
  top: 0;
}
.hero-content {
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  letter-spacing: 0.8em;
}


.hero-scroll {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll p {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  font-weight: 500;
  writing-mode: vertical-rl;
  margin-bottom: 0;
  line-height: 1;
}
.hero-scroll span {
  display: block;
  position: relative;
  width: 1px;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-scroll span::before, .hero-scroll span::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-scroll span::before {
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.hero-scroll span::after {
  background: #fff;
  z-index: 2;
  top: 0;
  will-change: transform;
  animation: scrollBar 2.0s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes scrollBar {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
.p-top__concept {
  padding-top: 0;
}
.p-concept-inner {
  padding: 120px 0 26px;
  background-image: url('../img/seigaiha.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.p-concept__text {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .p-concept-inner{
  width:95%;
  margin:0 auto;
    }
  h2.p-concept__title{
    font-size:2rem;
  }
  .p-concept__text{
    font-size:1.4rem;
  }
}
.p-concept__img {
  margin-bottom: 90px;
}
.p-top__section {
  padding: 90px 0;
  position: relative;
}
.c-split {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.c-center-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}
.c-split__body {
  width: 50vw;
  margin-left: 11rem;
}
.c-split__body--center {
  text-align: center;
}
.c-split__body--center .goldbtn {
  margin: 0 auto;
}
.c-split--reverse {
  flex-direction: row-reverse;
}
.c-split__img {
  position: relative;
  width: calc(100% - 290px - 22vw);
  height: 380px;
}
.c-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-sec-title {
  font-size: 1.4rem;
  margin-bottom: 1.7rem;
}
.c-sec-subtitle {
  font-size: 3.2rem;
  margin-bottom: 2.8rem;
  display: block;
}
.c-sec-text {
  font-size: 1.8rem;
  margin-bottom: 3.0rem;
}
@media screen and (max-width: 768px) {
  .p-top__section{
    width:90%;
    margin:0 auto;
  }
  .c-split{
    flex-direction: column-reverse;
  }
  .c-split__body, 
  .c-split__img {
    width: 100%;
    height:auto;
  }
  .c-split__body {
    margin-bottom: 0;
    margin-left:0;
  }
  .c-sec-title{
    text-align:center;
  }
  .c-sec-subtitle {
    font-size:2.4rem;
    text-align:center;
  }
  .c-sec-text {
  font-size: 1.4rem;
    text-align:center;
  }
}

.goldbtn {
  display: block;
  position: relative;
  width: 320px;
  max-width: 100%;
  background: linear-gradient(to top right, #8F6B3B, #D4AF37, #8F6B3B);
  background-size: 200% auto;
  color: #1a1a1a;
  padding: 20px 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: .3em;
  font-size: 2.0rem;
  transition: background-position 0.5s ease, letter-spacing 0.5s ease, opacity 0.3s;
}
.centerbtn {
  margin: 0 auto;
}
.goldbtn:after {
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -4px;
  content: "";
  display: block;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  border-top: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
  transform: rotate(45deg);
  transition: transform 0.3s, right 0.3s;
}
.goldbtn:hover {
  opacity: 1;
  background-position: right center;
}
.goldbtn:hover::after {
  right: 15px;
}
@media screen and (max-width: 768px) {
  .goldbtn {
    font-size:1.6rem;
    margin:0 auto;
    padding:14px 0;
  }
}
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}
/* --- ニュース (News) --- */
.p-top__news {
  background-image: url('../img/seigaiha.jpg');
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.p-top__news-title {
  text-align: center;
  font-size: 2.0rem;
  margin-bottom: 24px;
}
.news-item {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  align-items: baseline;
  width: 800px;
  font-size: 1.6rem;
}
.news-date {
  margin-right: 40px;
  font-weight: bold;
  color: #888;
  font-size: 1.2rem;
}
.news-title {
  box-sizing: border-box;
  padding-right: 70px;
  color: #fff;
  width: calc(100% - 200px);
}
.news-category {
  width: 10vw;
  color: #888;
  font-size: 1.2rem;
  font-weight: bold;
}
.p-top__news-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 14px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.p-top__news-heading span.news-content-title {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 140%;
  font-weight: normal;
  display: inline-block;
  padding-right: 20px;
}
@media screen and (max-width: 767px) {
  .p-top__news-inner {
    display: block; /* flex を block で上書き */
    padding-right: 0; /* 必要であればリセット */
  }
  .p-top__news-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 20px; /* 下のリストとの間隔 */
  }
  .p-top__news-heading span.news-content-title {
    /* 1. 縦書きを「横書き」に戻す */
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;

    /* 2. 縦書き用のフォント設定を解除 */
    font-feature-settings: normal;

    /* 3. 配置を調整（ブロック要素にして幅いっぱい使い、中央揃え） */
    display: block;
    width: 100%;
    text-align: center;

    /* 4. 余白の調整 */
    padding-right: 0;      /* 右の余白を消す */
    padding-bottom: 20px;  /* 下に余白を入れる（お好みで調整） */
  }
}
.p-top__news-content {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}
.p-top__news-content li {
  border-bottom: 1px solid #888;
}
.p-top__news-content li:first-child {
  border-top: 1px solid #888;
}
.p-top__news-content li a {
  display: flex;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  text-align: left;
}
.p-top__news-content li .icon {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -13px;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  width: 26px;
  height: 26px;
  border-radius: 100%;
  border: 1px solid #888;
}
.p-top__news-content li .icon:before, .p-top__news-content li .icon:after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  width: 6px;
  height: 9px;
  margin: auto;
  background: url(../img/arrow.svg) no-repeat center;
  background-size: 6px 9px;
}
.p-top__news-content li:hover .icon {
  transform: translateX(5px);
}
@media screen and (max-width: 768px) {
  .p-top__news-content,
  .news-item {
    width: 85%;
  }
  .p-top__news-content li a,
  .news-item {
    flex-direction: column; 
    align-items: flex-start; 
    padding-right: 40px; 
  }
  .news-date {
    margin-right: 0;
    margin-bottom: 5px;
  }
  .news-category {
    width: auto;
    margin-bottom: 10px !important;
    display: inline-block;
    background: #eee; 
    padding: 2px 8px;
    font-size:1.2rem !important;
  }
  .news-title {
    width: 100%;
    padding-right: 0;
  }
}


/* --- 画像を囲む枠 --- */
.js-zoom-wrap {
  overflow: hidden;
  width: 50%;
}
/* スマホ対応 */
@media screen and (max-width: 768px) {
  .js-zoom-wrap {
    width: 100%;
  }
}

.js-zoom-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 2.0s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.js-zoom-wrap.is-active img {
  transform: scale(1.05);
}
/* --- フェードアップの初期状態 --- */
.js-fadeup {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.0s, transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fadeup.is-active {
  opacity: 1;
  transform: translateY(0);
}
/* --- アクセス・お問い合わせ (Contact) --- */
.contact-area {
  background-color: #333;
  color: #fff;
  padding: 60px 0;
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-info, .access-info {
  flex: 1;
  min-width: 300px;
}
.btn-contact {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 15px 40px;
  margin-top: 20px;
  font-weight: bold;
}
/* --- フッター --- */
.l-footer {
  background-color: #000;
  padding: 60px 0 20px;
  width: 100%;
}
.l-footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}
.l-footer__col {
  width: 22%;
}
.l-footer__section {
  margin: 0 0 40px;
}
.l-footer__col a, .l-footer__col p {
  color: #cecece;
  font-size: 1.4rem;
}
.l-footer__title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: #cecece;
}
a.l-footer__phone {
  font-size: 2.0rem;
}
.l-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.l-footer__nav li {
  margin-bottom: 10px;
}
.l-footer__nav a {
  text-decoration: none;
  transition: opacity 0.3s;
  font-size: 1.4rem;
  padding-left: 20px;
}
.l-footer__nav a::before {
  content: "-";
  margin-right: 8px;
  color: #cecece;
  display: inline-block;
}
.l-footer__col--logo {
  width: 70px;
}
.l-footer__nav a:hover {
  opacity: 0.7;
}
.l-footer__links a {
  padding: 8px 0;
  border: 1px solid #cecece;
  border-radius: 20px;
  display: block;
  width: 180px;
  text-align: center;
  margin-bottom:15px;
}
/* --- コピーライト --- */
.l-footer__copyright {
  border-top: 1px solid #cecece;
  text-align: center;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #666;
}
/* --- スマホ対応（縦並びに戻す） --- */
@media screen and (max-width: 768px) {
  .l-footer__main {
    flex-direction: column;
    gap: 40px;
    width: 70%;
  }
  .l-footer__section {
  margin: 0 0 30px;
}
  .l-footer__col {
    width: 100%;
    text-align: left;
  }
  .l-footer__col a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .l-footer__links a{
    justify-content: center;
  }
  .l-footer__col--logo{
    width:30px;
    height: auto;
  }
  .l-footer__col p.l-footer__col--name{
    font-size:2.0rem;
  }
.l-footer__title {
  margin-bottom:10px;
}
}
/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }
  .concept-inner {
    flex-direction: column;
  }
  .contact-inner {
    flex-direction: column;
  }
  nav.pc-top-nav ul {
    gap: 15px;
    font-size: 0.8rem;
  }
}

/* --- 下層ページ --- */
main.l-main{
  display: block !important;
  width:100%;
  height:auto;
}
.p-page-header {
  position: relative;
  width: 100%;
  height: 562px;
  background-size: cover;
  background-position: center;
  overflow: hidden; 
  color: #fff;
}
.p-page-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); 
}
.p-page-header__inner {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1; /* フィルターより上に表示 */
}
.p-page-header__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 0;
  white-space: nowrap;
}
.p-page-header__title-ja {
  font-size: 3.6rem;
  letter-spacing: 0.3em;
  font-weight: normal;
}
.p-page-header__title-en {
  font-size: 1.4rem; 
  letter-spacing: 0.2em;
  font-family: serif;
}
@media screen and (max-width: 768px) {
  .p-page-header__title-ja {
    font-size: 1.8rem;
  }
  .p-page-header__title-en {
    font-size: 12px;
    gap: 10px;
    font-weight:normal;
  }
}
.p-page-header__company {
  position: absolute;
  top: 30%;
  right: 60px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  display: inline-flex;
  align-items: center; 
  gap: 15px;
  font-size: 2.0rem;
  letter-spacing: 0.2em;
}
.p-page-header__company a{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}
.p-page-header__logo {
  width: 40px;
  height: auto;
}

/* --- 背景画像の設定 --- */
.p-page-header--history {
  background-image: url(../img/bg-history.jpg);
  background-size: cover;
}
.p-page-header--product {
  background-image: url(../img/bg-product.jpg);
  background-size: cover;
}
.p-page-header--companyprofile{
  background-image: url(../img/bg-company.jpg);
  background-size: cover;
}
.p-page-header--recipe{
  background-image: url(../img/bg-recipe.jpg);
  background-size: cover;
}
.p-page-header--ingredients{
  background-image: url(../img/bg-ingredients.jpg);
  background-size: cover;
}
.p-page-header--news{
  background-image: url(../img/bg-news.jpg);
  background-size: cover;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
  .p-page-header {
    height: 250px;
  }
  
  .p-page-header__title {
    font-size: 2.0rem;
  }
  .p-page-header__company {
    right: 20px;
    font-size: 1.0rem;
  }
  
  .p-page-header__logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    
  }
}

.p-breadcrumb {
  width: 100%;
  background-color: #2B1B1B; 
  padding: 10px 0;
  color: #fff;
  font-size: 1rem;
}


.p-breadcrumb__inner {
  display: flex;
  justify-content: flex-end;
  max-width:900px;
  margin:0 auto;
}
.p-breadcrumb__list {
  display: flex; 
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; 
}

.p-breadcrumb__item {
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
}


.p-breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
  font-size: 0.8em;
  opacity: 0.7;
}

/* リンクの設定 */
.p-breadcrumb__item a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.p-breadcrumb__item a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .p-breadcrumb {
    padding: 8px 3%;
    font-size: 0.8rem;
  }
}
/* ============================================
   共通見出し (Component)
   ============================================ */

.c-heading-h2 {
  font-size: 2.4rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.c-heading-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; 
  background: linear-gradient(to right, #8f6B3B, #D4AF37); 
}


.c-heading-h3 {
  font-size: 2.0rem;
  font-weight: bold;
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.c-heading-h3::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #A83636;
  transform: rotate(45deg);
}


/* ============================================
   本文レイアウト (Project)
   ============================================ */

.p-entry, .p-products {
  padding: 60px 0;
  max-width:900px;
  margin:0 auto;
}


.p-entry__body {
  margin-bottom: 60px;
}

.p-entry__body p {
  line-height: 2.0;
  margin-bottom: 1.5em;
  font-size: 1.6rem;
}

.p-entry__media {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 100px;
}

.p-entry__media-text {
  flex: 1;
}

.p-entry__media-img {
  width: 40%; 
  max-width: 400px;
  margin: 0;
}

.p-entry__media-img img {
  width: 100%;
  height: auto;
  display: block;
}

.p-entry__media-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.c-btn-producer {
    display: inline-block;
    padding: 8px 20px;
    font-size: 1.3rem;
    color: #fff;
    background-color: transparent; 
    border: 1px solid #999; 
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap; 
}


.c-btn-producer:hover {
    background-color: #333;
    color: #AAAAAA;
    border-color: #333;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .c-btn-producer {
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
    }
}

.p-entry__cols {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
}

.p-entry__col-item {
  width: 48%;
  display: flex;
  flex-direction: column;
}
.p-contact{
  border-top:1px solid #707070;
}

/* ============================================
   スマホ対応 
   ============================================ */
@media screen and (max-width: 768px) {
  .p-products, .p-entry{
    width:95%;
    margin:0 auto;
  }
  .c-heading-h2 { font-size: 2.0rem; }
  .c-heading-h3 { font-size: 1.8rem; }
  
  .p-entry__media {
    flex-direction: column; 
    gap: 20px;
  }
  .p-entry__media-text,
  .p-entry__media-img {
    width: 100%;
  }
  .p-entry__cols {
    flex-direction: column;
    gap: 40px;
  }
  
  .p-entry__col-item {
    width: 100%;
  }
}


/* ============================================
historyギャラリー
   ============================================ */

.p-gallery {
  width: 600px;
  max-width: 100%;
  margin: 0 auto 60px;
  position: relative;
}


.p-gallery__main {
  width: 100%;
  height: 388px;
  margin-bottom: 20px;
}

.p-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.swiper-button-next,
.swiper-button-prev {
  color: #D4AF37;
}


.p-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}


.p-gallery__thumb-item {
  width: 140px;
  height: 80px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.p-gallery__thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.p-gallery__thumb-item.is-active,
.p-gallery__thumb-item:hover {
  opacity: 1;
  border-color: #D4AF37;
}


@media screen and (max-width: 520px) {
  .p-gallery__main {
    height: auto;
    aspect-ratio: 480 / 273; 
  }
  .p-gallery__thumb-item {
    width: calc(25% - 8px);
    height: auto;
    aspect-ratio: 110 / 70;
  }
}



/* ============================================
   Swiper ボタンカスタマイズ
   ============================================ */

.p-gallery .swiper-button-prev,
.p-gallery .swiper-button-next {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50%;
  background-image: linear-gradient(45deg, #8F6B3B, #D4AF37) !important;
  background-color: #D4AF37 !important;
  margin-top: 0 !important;
  position: absolute;
  z-index: 100;
  top: 194px; 
  transform: translateY(-50%);
}
.p-gallery .swiper-button-prev::after,
.p-gallery .swiper-button-next::after {
  font-family: inherit !important; 
  font-size: 0 !important;
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
}
.p-gallery .swiper-button-prev {
  left: -40px !important; 
}
.p-gallery .swiper-button-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg); 
}

.p-gallery .swiper-button-next {
  right: -40px !important;
}
.p-gallery .swiper-button-next::after {
  transform: translate(-70%, -50%) rotate(45deg); 
}


/* ============================================
   スマホ対応（480px以下など）
   ============================================ */
@media screen and (max-width: 768px) {
  /* スマホではボタンを内側に戻す（画面外にはみ出さないように） */
  .p-gallery .swiper-button-prev {
    left: 10px !important;
  }
  .p-gallery .swiper-button-next {
    right: 10px !important;
  }
}

@media screen and (max-width: 520px) {
  .p-gallery__main {
    height: auto;
    aspect-ratio: 480 / 273;
  }
  .p-gallery .swiper-button-prev,
  .p-gallery .swiper-button-next {
    top: 30%;
  }
  .p-gallery__thumb-item {
    width: calc(25% - 8px);
    height: auto;
    aspect-ratio: 110 / 70;
  }
}


/* ============================================
   ギャラリーの説明文（キャプション）
   ============================================ */
.p-gallery__caption {
  text-align: center; 
  font-size: 1.6rem;
  color: #BEB7B7;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1.5;
}
.p-gallery__caption a{
  color: #BEB7B7;
  text-decoration: underline;
}

/* スマホでの微調整（必要であれば） */
@media screen and (max-width: 768px) {
  .p-gallery__caption {
    font-size: 1.4rem;
    margin-top: 15px;
  }
}

/* ============================================
   商品一覧セクション
   ============================================ */
.p-products {
  padding: 60px 0;
}
.p-products__filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.p-products__filter-btn {
  cursor: pointer;
  padding: 8px 20px;
  border: 1px solid #333;
  border-radius: 20px; 
  transition: all 0.3s;
  font-size:1.6rem;
}


.p-products__filter-btn.is-active,
.p-products__filter-btn:hover {
  background-color: #333;
  color: #fff;
}


/* --- 商品リスト（グリッド） --- */
.p-products__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px; /* 上下50px(バッジ分あける), 左右30px */
}
.p-products__item {
  cursor: pointer;
  transition: opacity 0.3s;
}
.p-products__item.is-hidden {
  display: none;
}

.p-products__item:hover {
  opacity: 0.8;
}

/* 画像エリア */
.p-products__img-wrap {
  position: relative; 
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
}

.p-products__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* --- カテゴリバッジ（画像の下半分にかかる） --- */
.p-products__badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%); 
  
  background-color: #9F353A;
  color: #fff;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  max-width: 90%; 
  text-align: center;
}
.p-products__item[data-category~="dashi"] .p-products__badge {
  background-color: #C7802D;
}
.p-products__item[data-category~="furikake"] .p-products__badge {
  background-color: #6E8245;
}
.p-products__item[data-category~="business"] .p-products__badge {
  background-color: #2F4E6F;
}
.p-products__item[data-category~="kezuri"] .p-products__badge {
  background-color: #9F353A;
}


/* ============================================
   スマホ対応（768px以下）
   ============================================ */
@media screen and (max-width: 768px) {
  
  .p-products__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 10px; 
  }
  .p-products__badge {
    font-size: 10px;
    padding: 4px 8px;
    width: max-content;
  }

}

/* ============================================
   モーダルレイアウト（Grid版）
   ============================================ */

/* 1. モーダル全体を包む黒背景のエリア */
.p-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center; 
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

/* 2. 背景の黒半透明 */
.p-modal__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 3. 表示状態（クラスがついた時） */
.p-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 4. モーダルの中身（白い箱）の位置調整 */
.p-modal__content {
  position: relative; 
  z-index: 1;
  margin: auto;
  
  /* 前回の設定（サイズなど） */
  background: #fff;
  border-radius: 4px;
  width: 900px;
  max-width: 95%;
  padding: 40px;
  max-height: 95vh;
  overflow-y: auto;
}

/* --- モーダル大枠 --- */
.p-modal__content {
  position: relative;
  background: #fff;
  border-radius: 4px;
  width: 900px; 
  max-width: 95%;
  padding: 40px;
  max-height: 95vh;
  overflow-y: auto;
}

/* ============================================
   PCレイアウト（CSS Gridを使用）
   ============================================ */
.p-modal__main-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  grid-template-rows: auto auto 1fr; 
  gap: 0 40px; 
  margin-bottom: 30px;
  align-items: start;
}

/* 1. 画像エリア（左側：1行目〜4行目まで縦にぶち抜き） */
.p-modal__img-area {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
}

.p-modal__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* 2. ヘッダーエリア（右：1行目） */
.p-modal__header-area {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

/* 3. 説明文エリア（右：2行目） */
.p-modal__desc-area {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  margin-bottom: 20px;
}

/* 4. スペック表（右：3行目） */
.p-modal__specs {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  width: 100%;
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 4px;
  box-sizing: border-box;
}


.p-modal__category {
  display: inline-block;
  background: #eee;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #666;
}

.p-modal__title {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 0;
  color: #1a1a1a;
  line-height: 1.3;
}

.p-modal__desc {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #1a1a1a;
  margin: 0;
}

/* スペック表の中身 */
.p-modal__spec-row {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  font-size: 1.4rem;
}
.p-modal__spec-row:last-child {
  border-bottom: none;
}
.p-modal__spec-row dt {
  width: 110px; 
  min-width: 110px;
  font-weight: bold;
  color: #333;
}
.p-modal__spec-row dd {
  flex: 1;
  color: #666;
  margin: 0;
}


/* ============================================
   フッター（閉じるボタン）
   ============================================ */
.p-modal__footer {
  text-align: center;
  clear: both; /* 念のため */
  width: 100%;
}

.p-modal__close-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 60px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s;
}
.p-modal__close-btn:hover {
  opacity: 0.8;
}


/* ============================================
   スマホ対応（縦並び & 順序入れ替え）
   ============================================ */
@media screen and (max-width: 768px) {
  .p-modal__content {
    width: 95%;
    padding: 20px;
    max-height: 90vh;
  }
  .p-modal__main-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }
  .p-modal__header-area {
    order: 1;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .p-modal__img-area {
    order: 2;
  }
  .p-modal__desc-area {
    order: 3;
    margin-bottom: 0;
  }
  .p-modal__specs {
    order: 4;
  }
  .p-modal__spec-row {
    display: block; 
  }
  .p-modal__spec-row dt {
    width: 100%;
    margin-bottom: 4px;
    color: #9F353A;
  }
}


.p-entry__image {
  width: 100%;
  margin: 0; 
  margin-top: 40px;
}
.p-entry__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   会社概要リスト (Definition List)
   ============================================ */

.p-company-list {
  width: 100%;
  margin-bottom: 40px;
  font-size: 16px;
}

/* 各行の設定 */
.p-company-list__row {
  display: flex;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid #444444; 
}

/* 左側の項目名 */
.p-company-list__term {
  color: #C5A059;
  width: 130px;        
  min-width: 130px; 
  margin: 0;
}

/* 右側の内容（森田鰹節...など） */
.p-company-list__desc {
  color: #fff; 
  margin: 0;  
  line-height: 1.6;
  flex: 1; 
}
.p-company-list__desc a{
  color:#fff;
  text-decoration:underline;
}

/* ============================================
   社屋画像
   ============================================ */
.p-company-image {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
}

.p-company-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}


@media screen and (max-width: 768px) {
  .p-company-list {
    font-size: 15px;
  }
  
  .p-company-list__term {
    width: 110px;
    min-width: 110px;
  }
}

/* ============================================
   アクセスマップ (Access)
   ============================================ */
.p-access {
  width: 100%;
  margin-bottom: 0; /* ページ最下部なら余白なしでもOK */
}
/* マップの外枠 */
.p-access__map {
  width: 100%;
  height: 400px; /* マップの高さ */
  position: relative;
  overflow: hidden;
}
/* Google Map (iframe) の設定 */
.p-access__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%);
}
.p-access__map:hover iframe {
  filter: grayscale(0%);
  transition: filter 0.5s;
}



@media screen and (max-width: 768px) {
  .p-access__map {
    height: 300px; 
  }
}
/* ============================================
   ページネーション
   ============================================ */
.p-pagination {
  margin-top: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.p-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- 共通のリンクスタイル --- */
.p-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff; 
  text-decoration: none;
  font-family: "Times New Roman", serif; 
  font-size: 1.6rem;
  transition: opacity 0.3s;
}

/* --- 数字部分 --- */
.p-pagination .page-numbers:not(.prev):not(.next) {
  width: 40px; 
  height: 40px;
  border-radius: 50%; 
  border: 1px solid transparent; 
}

/* --- 現在のページ（丸で囲む） --- */
.p-pagination .page-numbers.current {
  border-color: #fff; 
  font-weight: bold;
}

/* --- ホバー時 --- */
.p-pagination a.page-numbers:hover {
  opacity: 0.7;
}

/* --- Prev / Next の文字調整 --- */
.p-pagination .prev,
.p-pagination .next {
  padding: 0 10px;
  font-size: 1.4rem; 
  letter-spacing: 0.1em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .p-pagination .page-numbers:not(.prev):not(.next) {
    width: 35px;
    height: 35px;
    font-size: 1.4rem;
  }
}
/* ============================================
   記事詳細ページ：ヘッダーエリア
   ============================================ */

/* --- 1. タイトルエリア (.p-entry__header) --- */
.p-entry__header {
  width: 100%;
  margin-bottom: 15px;
}


/* --- 2. メタ情報エリア (.p-entry__meta) --- */
.p-entry__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
  /* 本文との境界線 */
  padding-bottom: 30px;
  margin-bottom: 60px;
}

/* 日付 */
.p-entry__date {
  font-family: "Times New Roman", serif;
  color: #ccc; 
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/* カテゴリバッジ */
.p-entry__cat {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #9F353A; 
  color: #fff;
  padding: 4px 12px;
  border-radius: 2px;
  line-height: 1;
}


/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
  .p-entry__header .c-heading-h2 {
    font-size: 2.0rem;
  }
  .p-entry__meta {
    margin-bottom: 40px; 
  }
}
/* ============================================
   記事本文 (Gutenberg Blocks)
   ============================================ */
.p-entry__content {
  font-size: 1.6rem;
  line-height: 2.0;
  color: #fff; 
}

/* --- 段落 (p) --- */
.p-entry__content p {
  margin-bottom: 2em; 
}
/* --- 見出し (h4) --- */
.p-entry__content h4 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #D4AF37;
}

/* --- リスト (ul, ol) --- */
.p-entry__content ul,
.p-entry__content ol {
  margin-bottom: 2em;
  padding-left: 1.5em;
}

.p-entry__content ul li {
  list-style: disc;
  margin-bottom: 0.5em;
}

.p-entry__content ol li {
  list-style: decimal;
  margin-bottom: 0.5em;
}

/* --- 画像 (figure) --- */
.p-entry__content figure {
  margin: 0 0 3em 0;
  width: 100%;
}

.p-entry__content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* キャプション */
.p-entry__content figcaption {
  font-size: 1.2rem;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
}

/* --- 引用 (blockquote) --- */
.p-entry__content blockquote {
  margin: 2em 0;
  padding: 20px;
  border-left: 4px solid #666;
  background: rgba(255, 255, 255, 0.05); 
  font-style: italic;
}

/* --- リンク --- */
.p-entry__content a {
  color: #D4AF37; 
  text-decoration: underline;
}

.p-entry__content a:hover {
  text-decoration: none;
}

h3.wp-block-heading {
  font-size: 2.0rem;
  font-weight: bold;
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

h3.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #A83636;
  transform: rotate(45deg);
}
/* YouTube（iframe）を親要素いっぱいに広げる */
.wp-block-embed iframe,
.wp-block-embed__wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* モダンブラウザ用：比率を16:9に固定 */
}

/* ============================================
   記事下部ナビゲーション (Prev / List / Next)
   ============================================ */

/* 3つを横並びにする箱 */
.p-entry__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #333;
}

/* --- Prev / Next リンク共通 --- */
.p-entry__nav-link {
  flex: 1;
  width: 0;
  display: inline-block;
  font-family: "Times New Roman", serif;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
  padding: 10px 0;
}

.p-entry__nav-link:hover {
  opacity: 0.7;
  color: #D4AF37; 
}
/* --- Prev (左) --- */
.p-entry__nav-link--prev {
  padding-left: 20px; /* 矢印のスペース */
  text-align: left;
}

/* 左矢印 */
.p-entry__nav-link--prev::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: translateY(-50%) rotate(-45deg); /* 左向き矢印を作る */
}
/* --- Next (右) --- */
.p-entry__nav-link--next {
  padding-right: 20px; /* 矢印のスペース */
}
/* 右矢印 */
.p-entry__nav-link--next::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.p-entry__nav-link--prev,.p-entry__nav-link--next {
  color:#fff !important;
  text-decoration:none !important;
}
/* --- 中央の戻るボタン --- */
.p-entry__nav-center{
  width: auto;
  text-align: center;
}
.p-entry__nav-center .c-btn-back {
  padding: 10px 40px; 
  font-size: 1.4rem;
}
.p-entry__nav-center a{
  color:#1a1a1a;
  text-decoration:none;
}
/* 右側のボタン（と、空のspan）は右寄せ */
.p-entry__nav-link--next,
.p-entry__nav-link.is-disabled {
  text-align: right;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
  /* スマホでも横並びを維持する場合 */
  .p-entry__nav {
    padding-top: 20px;
    margin-top: 40px;
  }
  .p-entry__nav-link {
    font-size: 1.4rem;
  }
  .p-entry__nav-center .c-btn-back {
    padding: 8px 15px;
    font-size: 1.2rem;
    white-space: nowrap; 
  }
}

/* ============================================
   1. 進捗フロー（ステップバー）
   ============================================ */
.p-contact-flow {
  display: flex;
  justify-content: center;
  margin: 0 0 60px 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.p-contact-flow__item {
  position: relative;
  width: 120px; 
  text-align: center;
  font-size: 1.4rem;
  color: #888;
  font-weight: bold;
}

.p-contact-flow__item::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-color: #555;
  border-radius: 50%;
  margin: 0 auto 10px auto;
}
.p-contact-flow__item + .p-contact-flow__item::after {
  content: "";
  position: absolute;
  top: 8px; 
  left: -50%;
  width: 100%;
  height: 1px;
  background-color: #555;
  z-index: -1;
}

.p-contact-flow__item.is-active {
  color: #fff; 
}
.p-contact-flow__item.is-active::before {
  background-color: #D4AF37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2); 
}

/* ============================================
   2. イントロダクション
   ============================================ */
.p-contact-intro {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}

.p-contact-intro p {
  line-height: 1.8;
  font-size: 1.6rem;
}


/* ============================================
   3. フォームレイアウト
   ============================================ */
.p-form {
  width: 100%;
}
.p-form__group {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #444; 
}
.p-form__group--message {
  border-bottom: none;
  margin-bottom: 20px;
}
.p-form__row {
  display: flex;
  margin-bottom: 30px;
  align-items: center; 
}
.p-form__row:last-child {
  margin-bottom: 0;
}
.p-form__head {
  width: 240px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-form__label {
  color: #fff;
  font-size:1.4rem;
}
.p-form__required {
  font-size: 1.1rem;
  color: #9F353A;
}

.p-form__body {
  flex: 1;
}

/* --- 入力フィールド共通 --- */
.c-form-input,
.c-form-textarea {
  width: 100%;
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 1.6rem;
  color: #fff;
  background:#1a1a1a;
}
.c-form-input::placeholder,
.c-form-textarea::placeholder {
  color: #707070;
  opacity: 1;
}
.c-form-textarea {
  height: 240px; 
  resize: vertical;
}

.p-form__row.p-form__row--full {
  flex-direction: column;
  align-items: flex-start; 
}
.p-form__row.p-form__row--full .p-form__head {
  width: 100%;
  min-width: auto;
  margin-bottom: 15px;
}
.p-form__row.p-form__row--full .p-form__body {
  width: 100%;
}

/* --- プライバシーポリシーへのチェック --- */
.p-form__privacy {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.p-form__privacy-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.6rem;
}

.p-form__checkbox {
  transform: scale(1.5); 
  cursor: pointer;
}

.p-form__link {
  color:#fff;
  text-decoration: underline!important;
}
.p-form__privacy-label input[type="checkbox"] {
  margin: 0;
  margin-top: -2px; /* それでも微調整したい場合は数値をいじってください */
}

/* ============================================
   送信ボタン (薄いグレー → 色変化)
   ============================================ */
.p-form__submit {
  text-align: center;
}

.c-btn-submit-gray {
  display: inline-block;
  width: 100%;
  
  padding: 22px 0;
  
  background-color: #ccc;
  color: #333; 
  border: none;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.c-btn-submit-gray:hover {
  background-color: #9F353A;
  color: #fff;
  opacity: 1;
}



@media screen and (max-width: 768px) {
  /* フローの文字を小さく */
  .p-contact-flow__item {
    font-size: 1.2rem;
    width: auto;
    flex: 1;
  }
  .p-form__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: block;
  }
  .p-form__head {
    width: 100%;
    min-width: auto;
  }
}
/* ============================================
   プライバシーポリシー
   ============================================ */

.p-privacy {
  width: 100%;
  color: #fff; /* 白文字 */
  font-size: 1.6rem;
  line-height: 2.0; /* 読みやすいように行間広め */
}

/* 導入文 */
.p-privacy__lead {
  margin-bottom: 60px;
}

/* 各セクションの塊 */
.p-privacy__item {
  margin-bottom: 60px;
}

/* 見出し (h3) */
.p-privacy__title {
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid #444; /* 下に薄い線 */
  padding-bottom: 10px;
}

/* 本文段落 */
.p-privacy__text {
  margin-bottom: 20px;
  text-align: justify; /* 両端揃え（文章がきれいに見える） */
}

/* リスト（中黒点） */
.p-privacy__list {
  margin: 20px 0;
  padding-left: 1.5em; /* インデント */
}

.p-privacy__list li {
  list-style: disc; /* 黒丸 */
  margin-bottom: 0.5em;
}

/* 外部リンクリスト */
.p-privacy__links {
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.p-privacy__links li {
  margin-bottom: 10px;
}

.p-privacy__links a {
  color: #D4AF37; /* ゴールド */
  text-decoration: underline;
  transition: opacity 0.3s;
  
  /* 外部リンクアイコンを付ける場合（任意） */
  /* padding-right: 15px; */
  /* background: url(img/icon-external.svg) no-repeat right center; */
}

.p-privacy__links a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
  .p-privacy__title {
    font-size: 1.8rem;
  }
  
  .p-privacy__item {
    margin-bottom: 40px;
  }
}
/* ============================================
   トップページへ戻るボタン
   ============================================ */
.c-btn-back {
  display: block;
  width: 100%;
  max-width: 400px; /* 送信ボタンと同じ幅制限 */
  padding: 18px 0;

  background-color: #ccc; /* 薄いグレー */
  color: #333;            /* 文字は黒系 */
  border: none;           /* 枠線なし */

  text-decoration: none;  /* リンクの下線を消す */
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  
  cursor: pointer;
  transition: all 0.3s ease;
  margin:0 auto;
}

/* ホバー時の動き */
.c-btn-back:hover {
  background-color: #9F353A; /* エンジ色（送信ボタンと同じ色） */
  /* もしゴールドにするなら #D4AF37 */
  
  color: #fff;               /* 文字を白に */
}

/*お知らせページ*/
.topics-content{
  width:100%;
}
.topics-content li:first-child{
  border-top:none !important;
}
.topics-content .news-title, 
.topics-content .news-category,
.topics-content .news-date{
  margin-bottom:0;
}
/* ============================================
   外部リンクアイコンの自動付与
   ============================================ */

/* target="_blank" がついている aタグ全てに適用 */
a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 12px;       /* アイコンの幅 */
  height: 12px;      /* アイコンの高さ */
  margin-left: 5px;  /* 文字との隙間 */
  vertical-align: middle;
  position: relative;
  top: -1px;         /* 位置の微調整 */

  /* アイコンの画像データ（四角から矢印が飛び出すマーク） */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  
  background-repeat: no-repeat;
  background-size: contain;
}


/* reCAPTCHAのバッジを非表示にする */
.grecaptcha-badge {
  visibility: hidden;
}
.p-form__recaptcha-text {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
  text-align: center; /* または left */
}
.p-form__recaptcha-text a{
  color:#999;
  text-decoration:underline;
}
.link-white{
  color:#fff;
  text-decoration:underline !important;
}