@charset "utf-8";
/*-------------------------------
  Layout
-------------------------------*/
.wrapper {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  background-image: url("../img/background.jpg");
  box-shadow: 0px 0px 8px rgba(92, 92, 92, 0.6);
}

/*-------------------------------
  header
-------------------------------*/
/* ハンバーガーメニュー */
/* モーダル全画面 */
/* モーダルの初期状態：透明で隠しておく */
.modal {
  display: flex; /* flexレイアウト自体は維持 */
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: auto;
  background: #ffffff;
  z-index: 1000;
  
  /* アニメーションの設定 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* クラスがついた時：ふわっと表示 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
}
/* モーダル内メニュー */
.modal-header {
  height: 80px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  background-color: #ffffff;
  padding: 0;
  z-index: 10000;
  display: flex;
}
.modal-content {
  text-align: center;
  max-width: 640px;
  width: 100%;
}
.modal-content::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: #1e1e1e;
  position: absolute;
  left: 0;
  bottom: 0;
}
.modal-content ul {
  list-style: none;
  font-size: 24px;
  padding: 0;
  margin: 0;
  font-family: 'Noto Serif JP', serif;
}
.modal-content li {
  width: 640px;
  height: 95px;
  padding: 0 20px;
  text-align: left;
  line-height: 95px;
  border-bottom: solid 1px #af9c68;
  position: relative;
}
.modal-content li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #080405;
  font-weight: 500;
  background-image: url("../img/menu_item.png");
  background-repeat: no-repeat;
  background-position: 99% 50%;
}
.modal-content li span {
  font-size: 14px;
  margin-left: 20px;
  color: #3c3d3d;
}
.modal-content nav ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(0deg, rgba(178, 159, 105, 0.4), rgba(0, 194, 139, 0));
  opacity: 0;
  transition: all 0.3s ease-out;
  z-index: -1;
}
.modal-content nav ul li.stay_nav::after {
  opacity: 1;
}
/* 閉じるボタン */
.close-btn {
  width: 80px;
  height: 80px;
  text-indent: 105%;
  white-space: nowrap;
  overflow: hidden;
  background: url("../img/menubtn_close.png") no-repeat center center #af9c68;
  position: absolute;
  top: 0;
  right: 0px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 10002;
}
.close-btn.is-active {
  opacity: 1;
  visibility: visible;
}

header {
  height: 80px;
  position: relative;
  background-color: #ffffff;
  padding: 0 0 0 0;
  z-index: 10001;
  display: flex;
}
header #menu_btn {
  display: inline-block;
  width: 80px;
  height: 80px;
  text-indent: 105%;
  white-space: nowrap;
  overflow: hidden;
  background: url("../img/menubtn_open.png") no-repeat center center #af9c68;
  position: absolute;
  top: 0;
  right: 0;
}
.header_inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ロゴ */
header .logo {
  width: 250px;
  height: 42px;
  display: block;  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
header .logo a {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/header_logo.jpg") no-repeat left center / contain;
  text-indent: -9999px; /* SEO対策：テキストは残して飛ばす */
}
/*-------------------------------
  Footer
-------------------------------*/
footer {
  background-color: #2b2b2b;
  color: #fff;
  position: relative;
  z-index: 10;
  margin-top: 160px;
}
.footer_inner {
  margin: 0 auto;
  padding: 50px 0;
  font-family: 'Noto Serif JP', serif;
}
footer nav {
  font-size: 18px;
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}
footer nav ul li {
  padding: 0 40px 50px 0;
}
footer nav ul li:nth-child(4), footer nav ul li:last-child {
  padding-right: 0;
}
footer nav ul li a {
  color: #fff;
}
.footer_info {
  text-align: center;
}
.footer_info h2 {
  font-size: 24px;
  margin-bottom: 15px;
}
.footer_info h2 a {
  color: #fff;
}
.footer_info address {
  font-size: 16px;
  line-height: 1.8;
  font-style: normal;
}
.footer_info small {
  font-size: 16px;
}
.footer_info a[href^="tel:"] {
  text-decoration: none;
  color: #fff;
}
/* Page Top */
footer a.pagetop_link {
  display: block;
  width: 89px;
  height: 34px;
  background: url("../img/page_top.png") no-repeat center center;
  text-indent: -9999px;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}
.copyright {
  background: #b29f69;
  padding: 5px 0;
  font-size: 12px;
  text-align: center;
}
/*-------------------------------
  Animation Base
-------------------------------*/
/* 出現前の状態（透明で少し下に配置） */
.js-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
/* 出現後の状態（JSでこのクラスを付与） */
.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}
/* 読み込み直後にふわっと出すための遅延設定（必要に応じて追加） */
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.container {
  background-color: #f0f0f0; /* なじませたい背景色 */
  display: inline-block;
  padding: 20px; /* ぼかし用の余白 */
}
.blurred-image {
  display: block;
  width: 300px;
  height: auto;
  /* 上下左右の端をグラデーションで透過（ぼかし）させる */
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
}
/*common*/
.cframe {
  max-width: 600px;
  margin: 0 auto;
}
/*-------------------------------
  Main Visual
-------------------------------*/
.main_visual_bloc {
  height: 592px;
  background: url("../img/main_visual_bg.jpg") center/cover;
}
.mv_inner {
  height: 100%;
  position: relative;
}
.main_visual_bloc img {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 500;
}
/*-------------------------------
  main
-------------------------------*/
/*-------------------------------
  トップページ 
-------------------------------*/
.about_bloc {
  padding: 90px 0;
}
.about_bloc .cframe, .company_bloc .cframe {
  display: flex;
  flex-direction: column;
}
.main h3 {
  font-size: 30px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  padding: 40px 0;
}
.main p {
  font-size: 22px;
  line-height: 1.8;
  padding-bottom: 60px;
}
.button-container {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.button-container a {
  display: inline-block;
  width: 600px;
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  line-height: 57px;
  border-radius: 10px;
  background-color: #2b2b2b;
  -webkit-transition: all 0.3s ease;
}
.button-container a::after {
  content: url("../img/button_item.png");
  position: relative;
  top: 1px;
  left: 10px;
}
/*-------------------------------
  サブぺージ共通
-------------------------------*/
.subpage_title {
  width: 100%;
  height: 136px;
  background: url("../img/subpage_title_bg.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.subpage_title::after {
  content: "";
  position: absolute;
  inset: 0;
}
.subpage_title span {
  font-size: 14px;
  margin-left: 10px;
}
.subpage_title h2 {
  position: relative;
  color: #fff;
  font-size: 24px;
  font-family: "Noto Serif JP", serif;
  z-index: 1;
  text-shadow: 0px 0px 15px rgba(0,0,0,9);
}
.page_title {
  font-size: 34px;
  color: #090304;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  margin: 70px 0 35px 0;
}
.page_title_2 {
  font-size: 26px;
  color: #090304;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  margin: 70px 0 35px 0;
}
.plist {
  max-width: 600px;
  margin: 20px auto;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: #777;
}
.plist li::after {
  content: ">";
  margin-left: 10px;
}
.plist li:last-child::after {
  content: "";
}
.plist a {
  color: #777;
}
/*-------------------------------
  商品一覧
-------------------------------*/
.product_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}
.product_card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.product_card img {
  width: 92%;
  height: auto;
  text-align: center;
  margin: 20px;
}
.product_card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}
.product_card p {
  font-size: 22px;
  line-height: 1.9;
  color: #333;
  margin: 20px;
}
.page_title {
  font-size: 30px;
  text-align: left;
  margin: 40px 0 20px;
}
/*-------------------------------
  鰹節をつくる
-------------------------------*/
.text_block {
  margin: 10px 0px 40px;
}
.card_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0px;
  width: 100%;
  max-width: 600px; 
  margin: 0 auto;
  box-sizing: border-box;
}
.card {
  background: #f5f5f5;
  border-radius: 14px;
  overflow: hidden;
  padding: 0px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.card a {
  display: block;
  color: #333;
  text-decoration: none;
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card h1 {
  font-size: 24px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  margin: 0px 10px 10px;
}
.card p {
  font-size: 20px;
  line-height: 1.8;
  margin: 0 12px 15px;
  color: #444;
}
.card_list .card:last-child {
  grid-column: 1 / 2;
}
.card:active {
  transform: scale(0.97);
}
/*　原料について　*/
.material_page_title {
  font-size: 34px;
  color: #090304;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 20px;
}
.material_block {
  display: flex;
  flex-direction: column;
}
.material_block img {
  width: 100%;
  height: auto;
  display: block;
}
.material_text {
  font-size: 22px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}
.section_title_material {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  margin: 40px 0 0px;
}
.fish_list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}
.fish_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
}
.fish_card > div {
  width: 100%;
}
.fish_card img {
  width: 100%;
  max-width: 500px;
  height: 173px;
  display: block;
  text-align: center;
}
.fish_card h5 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  margin-bottom: 20px;
}
.fish_card p {
  font-size: 22px;
  line-height: 1.7;
  text-align: left;
  margin: 0 10px 20px;  
}
.text_block_material {
  font-size: 22px;
  line-height: 1.8;
}
/*  つくりかた（一覧）*/
.process_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.process_list li {
  position: relative;
}
.process_list a {
  display: block;
}
.process_list img {
  width: 100%;
  display: block;
  margin: 0px !important;
}
.process_list span {
  position: absolute;
  bottom: 17px;
  left: 40px;
  color: #fff;
  font-size: 20px;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}
/*  タイムライン　*/
.timeline {
  position: relative;
  padding-left: 60px;
  margin: 40px 0px;
}
/* 縦線 */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #b29f69;
}
/* 各ブロック */
.timeline_item {
  position: relative;
  margin-bottom: 60px;
}
/* 番号丸 */
.timeline_num {
  position: absolute;
  left: -64px;
  top: 0;
  width: 50px;
  height: 50px;
  background: #b29f69;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-weight: bold;
}
/* タイトル */
.timeline_content h4 {
  font-size: 24px;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 15px;
}
/* 画像 */
.timeline_content img {
  width: 100%;
  margin-bottom: 15px;
}
/* リード */
.timeline_content .lead {
  font-size: 26px;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  margin-bottom: 10px;
}
/* 本文 */
.timeline_content .text_block p {
  font-size: 22px;
  line-height: 1.8;
}
/*  セクションタイトル　*/
.make_title {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  margin: 40px 20px 20px;
}
/* 加工上の違い　*/
.section_title_processed {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  margin: 30px 0 20px;
}
.section_title_processed_u {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  margin: 50px 0 20px;
  width: 560px;
	border-bottom: 1.5px solid;
}
.text_bloc_processed {
  font-size: 22px;
  line-height: 2;
  margin-top: 15px;
}
.processed_img {
  width: 70%;
  margin: 0 auto;
}
/*　枕崎鰹節マーク　*/
.info_box {
  margin-top: 50px;
  padding: 20px;
  border: 10px #ffffff solid;
}
.info_box .info_title {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}
.mark_img {
  width: 50%;
  margin: 0 auto;
}
/*-------------------------------
  枕崎について
-------------------------------*/
.makurazaki_mainimg img {
  width: 100%;
  margin: 20px 0;
}
.intro_text p {
  font-size: 22px;
  line-height: 2;
  margin-bottom: 80px;
}
.about_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}
.about_block .image img {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
}
.makurazaki_title {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin-bottom: 10px;
}
.makurazaki_title_s {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  margin-bottom: 10px;
}
.about_block p {
  font-size: 22px;
  line-height: 1.9;
}
.note {
  width: 100%;
  font-size: 16px;
  margin-top: 10px;
  color: #555;
  text-align: right;
}
.title-border-left {
  font-size: 24px;
  margin: 30px 0 10px;
  padding-left: 20px;
  position: relative;
}
.title-border-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background-color: #b29f69;
}
.text_block p {
  font-size: 22px;
  line-height: 2;
  margin-bottom: 15px;
}
/*==============================
  中平商店について
==============================*/
.subcontents_01 {
  padding: 20px;
}
.subcontents_01 img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.philosophy_box {
  padding: 30px;
  margin: 40px 0;
  width: 560px;
  height: 320px;
  background: url("../img/company/company_rinen_back.jpg");
}
.philosophy_box h3 {
  font-size: 26px;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 30px;
  text-align: center;
}
.philosophy_box p {
  font-size: 22px;
  line-height: 1.8;
  text-align: center;
}
.company_box {
  padding: 20px;
  margin-bottom: 40px;
  height: 1050px;
  background: url("../img/company/company_back.jpg");
}
.company_box .section_title {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  margin: 20px 0 ;
  text-align: center;
}
.company_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.company_card {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,1);
}
.company_card h4 {
  background: #3c3b6e;
  color: #fff;
  font-size: 16px;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 12px;
}
.company_card strong {
  text-align: center;
}
.company_card p {
  font-size: 16px;
  line-height: 2;
  text-align: center;
}
.company_card ul {
  list-style: none;
  padding: 0;
}
.company_card li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}
.image_2col {
  display: flex;
  gap: 10px;
  width: 49%;
  box-sizing: border-box;
}
.image_2col img {
  flex: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.access_images {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.access_images > img {
  width: 80%;
  max-width: 400px;
}
.google_map iframe {
  width: 100%;
  height: 250px;
}
.section_title {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  margin: 40px 0 20px;
}
/*-------------------------------
  Q&Aページ
-------------------------------*/
.subcontents_01 img {
  width: 100%;
  height: auto;
  margin: 20px 0;
}
.faq_intro p {
  font-size: 22px;
  text-align: center;
  margin-bottom: 30px;
}
.faq_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq_item {
  border-bottom: 1px solid #ccc;
  border-radius: 6px;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.faq_question {
  display: flex;
  align-items: start;
  padding: 20px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  gap: 10px;
}
.faq_question .q {
  font-weight: bold;
  color: #c0392b;
  margin-right: 10px;
  font-size: 22px;
}
.faq_question p {
  flex: 1;
  margin: 0;
  line-height: 1.6;
}
.faq_question .arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: 0.3s;
  margin: auto;
}
.faq_item.active .arrow {
  transform: rotate(-135deg);
}
.faq_answer {
  display: none;
  padding: 20px;
  font-size: 22px;
  line-height: 1.8;
  background: #f9f9f9;
  border-radius: 6px;
}
.faq_answer .a {
  font-weight: bold;
  color: #2c3e90;
  margin-right: 10px;
}
.faq_item.active .faq_answer {
  display: block;
}
/*==============================
  お問い合わせ
==============================*/
.contact_wrap {
  padding: 20px;
}
.contact_box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 30px 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.form_text {
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.required,
.required_note {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 8px;
}
.form_group {
  margin-bottom: 20px;
}
.form_group label {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
}
.form_group input,
.form_group textarea {
  width: 100%;
  background: #efefef;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 22px;
}
.form_group textarea {
  height: 140px;
  resize: none;
}
.privacy_box {
  background: #f5f5f5;
  padding: 15px;
  height: 180px;
  overflow-y: scroll;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid #ccc; 
}
.privacy_title {
  background-color: #d3d3d3;
	margin: 10px 0; 
}
.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  font-size: 20px;
}
.checkbox input {
  margin-right: 10px;
}
.form_btn {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.btntype_01 {
  width: 50%;
  height: 60px;
  border: none;
  border-radius: 12px;
  background: #b29f69;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
.btntype_01:hover {
  background-color: #aa967b;
}
.btntype_02 {
	text-align: center;
	width: 50%;
  height: 60px;
  background: #c0c0c0;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
	transition: 0.1s;
}
.btntype_02:hover {
  background-color: #808080;
}
.confirm_box .errormsg {
	font-size: 20px;
	color: #c40000;
	margin-bottom: 20px;
}
.errtxt_bloc{
	border-radius: 10px;
	margin: 20px auto 25px auto;
	padding: 10px;
	color: #FF3E41;
	background-color: #fdebeb;
}
.errtxt_bloc ul {
  list-style: disc;
  padding-left: 25px;
}
.errtxt_bloc li {
	margin: 5px 3px;
  font-size: 20px;
}
.clearmsg {
	font-size: 22px;
	color: #32cd32;
	margin-bottom: 20px;
}
.err_p {
  font-size: 22px;
}
.clea_p {
  font-size: 22px;
}
.confirm_form {
  border-collapse: separate;
  border-spacing: 0 15px;
  margin: 0px 0px 30px;
}
.confirm_form tr{
  display: flex;
  flex-direction: column;
  margin: 20px 0px;
}
.confirm_form th,
.confirm_form td {
  font-size: 20px;
  padding: 5px 20px;
}
.confirm_form th {
  width: 500px;
  text-align: left;
}
.confirm_form tr:nth-child(even) th,
.confirm_form tr:nth-child(even) td {
  background: rgba(255,255,255,0.3);
}
.confirm_form tr:nth-child(odd) th,
.confirm_form tr:nth-child(odd) td {
  background: rgba(255,255,255,0.5);
}