/*
Theme Name: meichan_no_okome
*/

body {
 margin: 0;
 font-family: "Noto Sans JP", sans-serif;
 background-color: #F8F5F0;
}

h1,h2,h3{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight:500;
  letter-spacing:1px;
}

/*p{
  font-weight:400;
}*/

.header {
  background-color: transparent;
  color: white;
  height: 75px; 
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.header-inner {
  margin: 0 auto;
  padding: 5px 10px;
  display: flex;
  align-items: center; 
  justify-content: space-between;
}

.site-branding {
  display: flex;
  align-items: center;
  gap:10px;
}

.site-branding img { 
  height: 60px;
}

.site-title a {
  font-family: "Zen Maru Gothic";
  text-decoration: none;
  color: #4b3f2f;
  font-size: 30px;
  letter-spacing: 2px;
}

.header-nav {
 margin-top: 5px;
}

.header-nav .menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-size: 15px;
  letter-spacing: 1px;
}

.menu a {
  text-decoration: none;
  border-bottom: none;
  color: #4b3f2f;
  font-weight: bold;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: rgba(75, 63, 47, 0.4);
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 28px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
  transform-origin: center;
}

/* タブレット */
@media screen and (max-width: 1024px) {
  .header-inner {
    padding: 8px 16px;
  }

  .site-branding img {
    height: 50px;
  }

  .site-title a {
    font-size: 24px;
  }

  .header-nav .menu {
    gap: 16px;
  }

  .menu li {
    margin-left: 0;
    font-size: 14px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .header {
    height: 60px;
  }

  .header-inner {
    padding: 8px 12px;
  }

  .site-branding {
    gap: 8px;
    min-width: 0;
  }

  .site-branding img {
    height: 44px;
  }

  .site-title a {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .hamburger {
    display: block !important;
    position: relative;
    z-index: 1100;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 75px;
    right: 10px;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1050;
  }

  .header-nav.active {
    display: block;
  }

  .header-nav .menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .header-nav .menu li {
    margin-left: 0;
  }

  .header-nav .menu a {
    color: #4b3f2f;
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
  }
}

/* 小さいスマホ */
@media screen and (max-width: 480px) {
  .header {
    height: 55px;
  }

  .site-branding img {
    height: 36px;
  }

  .site-title a {
    font-size: 18px;
  }
}

/* ページタイトル */
.entry-title,
.page-title,
.post-title,
.page-title-custom{
  font-weight:600;
  font-size: 32px;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #7aa874;
  color: #333;
}

.rice-page,
.farm-page,
.main-page {
  padding-left: 30px;
  padding-right: 30px;
}

.title-container{
  margin: 0 auto;
  padding: 30px 0px 10px;
}

/* トップページ */
.hero {
  background-color: #e6d8c3;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1320px;
  /*max-width: 80%;*/
  margin: 0 0 0 auto;
  gap: 60px;
  position: relative;
}

.hero-text{
  max-width:520px;
  padding:30px 35px;
  position:absolute;
  top:60%;
  left:25%;
  transform:translate(-50%,-50%);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.hero-text h2 {
  font-size: 30px;
  line-height: 2.0;
  font-weight: 400;
  color: #2f241b;
  margin-bottom: 24px;
}

.hero-desc {
  margin-top: 20px;
  line-height: 2;
  color: #5f5042;
}

.hero-text p {
  font-size: 16px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.hero-image {
  width: 93%;
  margin-left:auto;
}

.hero-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  display: block;
}

.scroll {
  position: absolute;
  left: 8%;
  bottom: 25px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #4b3f2f;
  z-index: 2;
}

.scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 45px;
  background-color: #4b3f2f;
  margin: 10px auto 0;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
}

@media screen and (max-width: 1024px) {
  .hero-inner {
    max-width: 900px;
  }

  .hero-image {
    width: 92%;
  }

  .hero-image img {
    height: 560px;
  }

  .hero-text {
    max-width: 420px;
    padding: 24px 28px;
    top: 52%;
    left: 28%;
  }

  .hero-text h2 {
    font-size: 28px;
    line-height: 1.7;
  }

  .scroll {
    left: 13px;
    bottom: 20px;
  }
}

@media screen and (max-width: 900px) {
  .hero-inner {
    max-width: 740px;
  }

  .hero-image {
    width: 87%;
  }

  .hero-image img {
    height: 520px;
  }

  .hero-text {
    max-width: 420px;
    padding: 24px 28px;
    top: 55%;
    left: 38%;
  }

  .hero-text h2 {
    font-size: 26px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-desc {
    margin-top: 12px;
    line-height: 1.8;
  }

  .scroll {
    left: 15px;
    bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    background-color: #e6d8c3;
    padding-bottom: 32px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 0;
  }

  .hero-image {
    width: 100%;
    margin-left: 0;
  }

  .hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .hero-text {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;

    width: calc(100% - 48px);
    max-width: 360px;
    margin: -32px auto 0;
    padding: 22px 18px;
    box-sizing: border-box;

    background: rgba(255,255,255,0.92);
    border-radius: 14px;
  }

  .hero-text h2 {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .scroll {
    display: none !important;
  }
}

@media (min-width: 1600px) {
  .hero-inner {
    max-width: 1500px;
  }

  .hero-text{
    left: 20%;
  }
}

.about-section {
  padding: 80px 20px 20px 20px;
  background-color: #F8F5F0;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

.about-item.show {
  opacity: 1;
  transform: translateY(0);
}

.about-item.reverse {
  flex-direction: row-reverse;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

.about-text {
  max-width: 500px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2f3e2f;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #6b8e23;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .about-section {
    padding: 60px 20px 20px;
  }

  .about-item,
  .about-item.reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
  }

  .about-image,
  .about-text {
    width: 100%;
    max-width: 520px;
  }

  .about-image img {
    max-width: 100%;
  }

  .about-text {
    text-align: center;
  }

  .about-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .btn {
    padding: 12px 24px;
  }
}

@media screen and (max-width: 480px) {
  .about-section {
    padding: 50px 16px 10px;
  }

  .about-item,
  .about-item.reverse {
    gap: 20px;
    margin-bottom: 50px;
  }

  .about-text {
    text-align: left;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.section-title{
  font-size:28px;
  margin-bottom:40px;
  text-align:center;
  font-family:"Zen Maru Gothic", sans-serif;
}

.feature-list{
  display:flex;
  gap:30px;
  justify-content:center;
}

.feature-item{
  background:#f7f7f7;
  padding:30px;
  width:280px;
  text-align:center;
}

@media screen and (max-width: 768px) {
  .feature-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature-item {
    width: 100%;
    max-width: 420px;
    padding: 24px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

.top-products{
  background:#fafafa;
  padding:80px 0;
}

.top-products .product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.top-products .product-card {
  width: calc(50% - 12px);
  box-sizing: border-box;
  background: #fff;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 10px;
}

.center-btn{
  text-align:center;
  margin-top:40px;
}

@media screen and (max-width: 768px) {
  .top-products {
    padding: 60px 0;
  }

  .top-products .product-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .top-products .product-card {
    width: 100%;
    max-width: 420px;
    padding: 22px;
  }

  .center-btn {
    margin-top: 30px;
  }
}

.main-btn{
  background:#7aa874;
  color:white;
  padding:15px 30px;
  border-radius:30px;
  text-decoration:none;
  display:inline-block;
}

.sub-btn{
  background:#eee;
  padding:15px 30px;
  border-radius:30px;
  text-decoration:none;
  margin-left:10px;
}

.top-flow{
  padding:80px 0;
}

.flow-list{
  display:flex;
  justify-content:center;
  gap:40px;
}

.flow-item{
  text-align:center;
}

.flow-item span{
  display:block;
  font-size:30px;
  color:#7aa874;
  margin-bottom:10px;
}

.flow-icon {
  font-size: 28px;
  color: #7aa874; /* サイトに合うグリーン */
  margin-bottom: 10px;
  display: block;
}

@media screen and (max-width: 768px) {
  .top-flow {
    padding: 60px 20px;
  }

  .flow-list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .flow-item {
    width: 100%;
    max-width: 360px;
    background: #fff;
    padding: 24px 20px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .flow-item span {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .flow-icon {
    font-size: 26px;
    margin-bottom: 8px;
  }
}

.top-cta{
  background:#f5f8f4;
  padding:80px 0;
  text-align:center;
}

.cta-buttons {
  margin-top:30px;
}

.news {
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.news p {
  text-align: center;
  margin-bottom: 30px;
  font-family: "Zen Maru Gothic";
}

.btn:hover {
  background-color: #556b2f;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.news-date {
  margin-right: 15px;
  color: #888;
}

.news-list a {
  text-decoration:none;
  color:#333;
}

@media screen and (max-width: 768px) {
  .news {
    padding: 60px 20px;
  }

  .news p {
    margin-bottom: 24px;
  }

  .news-list li {
    padding: 14px 0;
  }
}

/* 共通 */
.container {
  margin: 0 auto;
  padding: 60px 20px;
}

/* メインビジュアル */
.page-hero {
  position: relative;
}

.page-hero img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 50px 20px;
  }

  .page-hero img {
    height: 360px;
  }
}

/* 農園 */
.farm-hero-text {
  position: absolute;
  bottom: 10%;
  right: 10%;
  color: #fff;
  max-width: 500px;
}

.farm-hero-text h2 {
  font-size: 28px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.farm-intro {
  padding: 80px 20px;
  text-align: center;
}

.farm-intro h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.farm-intro h3 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 30px;
  color: #666;
}

.farm-intro p {
  line-height: 2;
  margin-bottom: 20px;
  font-size: 16px;
}

.farm-container {
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .farm-hero-text {
    right: 20px;
    left: 20px;
    bottom: 24px;
    max-width: none;
  }

  .farm-hero-text h2 {
    font-size: 22px;
    line-height: 1.6;
  }

  .farm-intro {
    padding: 60px 20px;
  }

  .farm-intro h2 {
    font-size: 24px;
  }

  .farm-intro h3 {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .farm-intro p {
    font-size: 15px;
    line-height: 1.9;
  }

  .farm-container {
    width: 100%;
  }

  .pc-only {
    display: none;
  }
}

/* こだわり */
.features {
  padding: 80px 20px;
  background: #f8f5f0;
}

.features h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  position: relative;
}

.features h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #6b8e23;
  margin: 10px auto 0;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 250px;
  max-width: 340px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.feature p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 768px) {
  .features-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .feature {
    width: 100%;
    max-width: 250px;
    min-width: 0;
    padding: 24px 20px;
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .feature h3,
  .feature p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ギャラリー */
.gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.gallery-item {
  flex: 1;
  min-width: 250px;
  max-width: 340px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* 生産者 */
.farmer {
  margin-top: 140px;
  margin-bottom: 140px;
  text-align: center;
}

.farmer-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.farmer-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.farmer-content img {
  max-width: 100px;
}

.farmer-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .farmer {
    margin-bottom: 60px;
  }

  .farmer-content {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .farmer-text {
    width: 100%;
  }

  .farmer-name {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .farmer-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .farmer-content img {
    width: 100%;
    max-width: 360px;
    height: auto;
  }
}

/* 商品案内 */
/* 下部案内セクション 共通 */
.page-guide {
  padding: 80px 20px;
  background: #eef5e9;
  text-align: center;
}

.page-guide .container {
  max-width: 900px;
  margin: 0 auto;
}

.page-guide h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.page-guide p {
  line-height: 2;
  color: #555;
  margin-bottom: 30px;
}

.page-guide-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .page-guide {
    padding: 60px 20px;
  }

  .page-guide h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .page-guide p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
  }

  .page-guide-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .page-guide-buttons a {
    width: 100%;
    max-width: 320px;
  }
}

/* お米 */
.rice-hero-text {
  position: absolute;
  bottom: 10%;
  right: 10%;
  color: #fff;
  max-width: 500px;
}

.rice-hero-text h2 {
  font-size: 28px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.rice-intro {
  padding: 80px 20px;
  text-align: center;
}

.rice-intro h3 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 30px;
  color: #666;
}

.rice-intro p {
  line-height: 2;
  margin-bottom: 20px;
  font-size: 16px;
}

.rice-container {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .rice-hero-text {
    right: 5%;
    bottom: 8%;
    max-width: 90%;
  }

  .rice-hero-text h2 {
    font-size: 20px;
    line-height: 1.6;
  }

  .rice-intro {
    padding: 60px 20px;
  }

  .rice-intro h3 {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .rice-intro p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 16px;
  }

  .rice-container {
    width: 100%;
  }
}

/* お米の特徴比較 */
.rice-chart-simple {
  background-color: #faf7f2;
  padding: 40px 0 20px;
}

.rice-chart-simple h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 32px;
}

.rice-chart-simple .section-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  color: #666;
  line-height: 1.9;
}

.simple-chart-table {
  max-width: 900px;
  margin: 0 auto;
}

.simple-chart-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  box-sizing: border-box;
}

.rice-name {
  flex: 0 0 180px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  padding-top: 4px;
}

.rice-bars {
  flex: 1;
}

.rice-bars p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #444;
}

.bar {
  width: 100%;
  height: 10px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.bar span {
  display: block;
  height: 100%;
  background: #c6a774;
  border-radius: 999px;
}

.simple-chart-row:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .rice-chart-simple {
    padding: 60px 20px;
  }

  .rice-chart-simple h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .rice-chart-simple .section-lead {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 32px;
  }

  .simple-chart-row {
    flex-direction: column;
    gap: 18px;
    padding: 22px 20px;
  }

  .rice-name {
    flex: none;
    font-size: 20px;
    padding-top: 0;
  }

  .rice-bars p {
    font-size: 13px;
    line-height: 1.7;
  }

  .bar {
    height: 8px;
    margin-bottom: 14px;
  }
}

/* 商品紹介 */
.rice-products {
  background-color: #faf7f2;
}

.rice-products h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 32px;
}

.section-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  color: #666;
  line-height: 1.9;
}

.product-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-item {
  position: relative;
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.product-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  background-color: #e8d7b7;
  color: #6b4f2a;
  font-size: 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.product-item h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: #333;
}

.product-copy {
  margin-bottom: 18px;
  color: #555;
  line-height: 1.8;
}

.product-item ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.product-item li {
  border-top: 1px solid #eee;
  padding: 12px 0;
  line-height: 1.8;
  color: #444;
}

.product-item li:last-child {
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .rice-products {
    padding: 60px 20px;
  }

  .rice-products h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .section-lead {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 32px;
  }

  .product-list {
    flex-direction: column;
    gap: 24px;
  }

  .product-item {
    flex: none;
    max-width: 100%;
    padding: 24px 20px;
  }

  .product-item h3 {
    font-size: 20px;
  }

  .product-copy,
  .product-item li {
    font-size: 14px;
    line-height: 1.8;
  }

  .product-label {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* ご購入案内 */
.rice-guide {
  text-align: center;
}

.rice-guide h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.rice-guide p {
  line-height: 2;
  color: #555;
  margin-bottom: 30px;
}

.rice-guide-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #8b6b3f;
  color: #8b6b3f;
}

.btn-secondary:hover {
  background-color: #8b6b3f;
  color: #fff;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .rice-guide {
    padding: 60px 20px;
  }

  .rice-guide h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .rice-guide p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
  }

  .rice-guide-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .rice-guide-buttons a {
    width: 100%;
    max-width: 320px;
  }
}

/* 購入方法 */
.purchase-page {
  max-width: 900px;
  margin: 0 auto;
}

.purchase-intro {
  text-align: center;
  margin-bottom: 40px;
}

.purchase-intro h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.purchase-intro p {
  line-height: 1.9;
  color: #555;
}

.purchase-box {
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 14px;
  padding: 28px 60px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.purchase-box h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #5f7c4a;
}

.purchase-box h4 {
  font-size: 18px;
  margin: 18px 0 10px;
}

.purchase-box p {
  max-width: 700px;
  line-height: 1.9;
  color: #444;
}

.price-main {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.price-list,
.rice-mill-list {
  margin: 12px 0 12px 20px;
  line-height: 1.9;
}

.table-wrap {
  width: 100%;
  overflow-x: visible;
}

.purchase-table {
  width: 100%;
  min-width: 500px;
  margin: 10px auto;
  border-collapse: collapse;
}

.purchase-table th,
.purchase-table td {
  text-align: center;
  padding: 14px 16px;
}

.table-comment {
  text-align: right;
}

.sp-cards {
  display: none;
}

.price-card {
  border-top: 1px solid #e8e2d8;
  padding: 14px 0;
}

.price-card span {
  display: block;
  font-weight: bold;
  color: #333;
}

.price-card strong {
  display: block;
  margin-top: 4px;
  color: #444;
}

.price-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}

.purchase-note {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

.purchase-contact-box {
  text-align: center;
}

.purchase-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.contact-main-btn,
.contact-sub-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.3s;
}

.contact-main-btn {
  background: #7aa874;
  color: #fff;
  font-weight: bold;
}

.contact-sub-btn {
  background: #f5f1e8;
  color: #444;
  border: 1px solid #ddd3c3;
}

.contact-main-btn:hover,
.contact-sub-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .purchase-page {
    width: 100%;
  }

  .purchase-intro {
    margin-bottom: 32px;
  }

  .purchase-intro h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .purchase-intro p {
    font-size: 14px;
    line-height: 1.9;
  }

  .purchase-box {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .purchase-box h3 {
    font-size: 20px;
  }

  .purchase-box h4 {
    font-size: 16px;
  }

  .purchase-box p,
  .price-list,
  .rice-mill-list {
    font-size: 14px;
    line-height: 1.9;
  }

  .price-main {
    font-size: 20px;
  }

  .purchase-table {
    font-size: 14px;
    min-width: 350px;
  }

  .purchase-table th,
  .purchase-table td {
    padding: 7px 5px;
  }

  .table-comment {
    text-align: left;
    font-size: 13px;
  }

  .pc-table {
    display: none;
  }

  .sp-cards {
    display: block;
  }

  .purchase-note {
    font-size: 13px;
    line-height: 1.8;
  }

  .purchase-contact {
    flex-direction: column;
    align-items: center;
    margin: 5px 5px;
  }

  .contact-main-btn,
  .contact-sub-btn {
    width: 80%;
    max-width: 250px;
    text-align: center;
  }
}

/* 問い合わせ */
.contact-page {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

.form-button:hover {
  background: #556b2f;
}

.wpcf7 input[type="submit"] {
  background: #6b8e23 !important;
  color: #fff !important;
  padding: 15px 40px !important;
  font-size: 16px;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer;
  display: inline-block;

  display: block;
  margin: 20px auto;
}

.wpcf7 select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
  height: 45px; 
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.wpcf7 input[type="submit"]:hover {
  background: #556b2f;
}

.contact-info {
  margin-top: 40px;
  padding: 24px;
  background-color: #f8f8f3;
  border: 1px solid #e5e2d8;
  border-radius: 12px;
  text-align: center;
}

.contact-text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.contact-note{
  margin-top:20px;
  font-size:14px;
  color:#666;
  line-height:1.8;
  text-align:center;
}

.contact-item {
  margin: 12px 0;
  font-size: 16px;
}

.contact-item a {
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  opacity: 0.7;
}

.contact-qr {
  margin-top: 20px;
}

.contact-qr img {
  width: 160px;
  height: auto;
}

.contact-qr p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.map-section {
  padding: 80px 20px;
  background-color: #f3eee7;
  text-align: center;
}

.map-section iframe {
  max-width: 1000px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .map-section {
    padding: 60px 16px;
  }

  .map-section iframe {
    width: 100%;
    height: 320px;
  }
}

.footer {
  font-family: "Zen Maru Gothic", sans-serif;
  background-color: #e6d8c3;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a,
.footer-sns a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-nav a:hover,
.footer-sns a:hover {
  opacity: 0.7;
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
    margin-top: 60px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footer-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .footer-nav li {
    margin-bottom: 12px;
  }

  .footer-copy {
    margin-top: 24px;
    padding-top: 16px;
    font-size: 12px;
  }
}