/* @import url('common.css'); */
/* ported to
  foundation/base.scss
  object/component/text.scss
 */


/*  ------ ------ ------ top ------ ------ ------*/
.about {
  margin-top: 120px;
}

.about-quote-container {
  padding-bottom: 100px;
}



@media (max-width: 1024px) {
  .about-quote-container {
    padding-left: 10%;
    justify-content: left;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .about-quote-container {
    padding-bottom: 30px;
    padding-left: 0;
    gap: 10px;
  }

  .about-quote-photo {
    position: relative;
    width: 80%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
  }

  .about-quote-photo img {
    width: 100%;
    height: 66%;
    object-fit: cover;
    object-position: center;
  }

  .contact .link-more {
    padding-bottom: 20px;
  }
}

/*  ------ ------ ------ tablet 調整 ------ ------ ------*/
/* --- TB -- */
@media (max-width: 1024px) {

  /* .section .section-inner {
    width: 90%;
    margin: 0 auto;
  } */

  .variety-contaier {
    padding: 8%;
  }

  .rice-philosophy {
    padding: 30px 0;
  }
}

/* --- SP表示--- */
@media (max-width: 767px) {
  /* .section .section-inner {
    margin: 0 20px;
  } */

  .variety-contaier {
    padding: 0;
  }
}

/*  ------ ------ ------ footer ------ ------ ------*/
.footer-nav-list-sns {
  padding-left: 22px;
}

.footer-nav-list-sns2 {
  padding-left: 16px;
}

/* --- SP表示--- */
@media (max-width: 767px) {
  .footer-nav-links {
    margin: 1.6rem 0;
  }
}

/* ------ ------ ------　child page title ------ ------ ------ */

.overview .section-title h1 {
  letter-spacing: 0.36rem;
  font-size: 2.2rem;

}

/* --- SP表示--- */
@media (max-width: 767px) {

  .overview .section-title h1::after {
    left: 10px;
    font-size: 1.75rem;
    letter-spacing: 0;
  }
}

/*  ------ ------ ------ hosoya-note  ------ ------ ------*/


/* ------ ------ ------ mura-initiatives.html css  ------ ------ ------ */
/* ---  partnership  ---*/
.partnership,
.collaborations {
  max-width: 77rem;
  margin: 0 auto var(--yohaku-160px);
}

.partnership {
  margin-bottom: 0;
}

/* h2 擬似要素で英字 下に日本語 */
.h2-top-en,
.h2-top-en2 {
  position: relative;
  margin-bottom: var(--yohaku-50px);
}

.h2-top-en::before {
  content: "Rice farm to Economy";
  font-size: var(--text-12px);
  position: absolute;
  top: -28px;
  left: 0;
}

.h2-top-en2::before {
  content: "Tanada Partnership Agreement";
  font-size: var(--text-12px);
  position: absolute;
  top: -28px;
  left: 0;
}

.column-3 {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.column-2 {
  display: flex;
  justify-content: space-between;
}

.column-2-box1 {
  width: 30rem;
}

.column-2-box2 {
  width: 50%;
}

.column-2-box1 p {
  width: 30rem;
  margin: 0 auto 5rem;
}

/* .column-2-box .text-en {
  margin-left: 1.4rem;
} */

.column-2-box2 img {
  margin-bottom: calc(var(--yohaku-60px)/2);
}

.link-page a {
  text-decoration: none;
  color: var(--darkgrey);
  font-family: var(--font-family-noto-sans);
  border-bottom: 1px solid var(--darkgrey);
  padding-bottom: 0.2rem;
}

.link-page a i {
  margin-left: 0.5rem;
  color: var(--green);
}

/* --- SP表示--- */

@media (max-width: 767px) {

  .partnership,
  .collaborations {
    max-width: 85%;
    margin-top: 6rem;
  }

  .column-2-box1 p {
    width: 100%;
  }

  .column-3,
  .column-2 {
    display: contents;
  }

  .column-3-box {
    margin: 0 auto 3rem;
  }

  .column-2-box1,
  .column-2-box2 {
    width: 100%;
  }

}

/* ------ ------ ------ rice-members.html css  ------ ------ ------*/
/* komeアニメ */
.kome-anime,
.kome-anime2 {
  position: relative;
  width: 100%;
  height: 20px;
}

/* 共通アニメーション設定 */
.rice-deco {
  width: 30px;
  height: auto;
  animation: katakata 0.8s steps(1, end) infinite;
  z-index: 2;
}

.kome1 {
  position: absolute;
  top: 0;
  left: 18%;
  rotate: -50deg;
}

.kome2 {
  position: absolute;
  top: -60px;
  left: 24%;
}

.kome3 {
  position: absolute;
  top: -80px;
  right: 18%;
  rotate: -50deg;
}

.kome4 {
  position: absolute;
  top: -120px;
  right: 24%;
}



/* カタカタ2コマアニメーション */
@keyframes katakata {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* ---  members image  ---*/
.image-grid {
  width: 100%;
  max-width: 114rem;
  margin: 6rem auto 8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 2rem;
}

.image-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* member imgをゆらゆら */
.image-grid a img {
  display: block;
  width: 100%;
  height: auto;
  animation: yura-smooth 4s linear infinite;
  transform-origin: center center;
}

@keyframes yura-smooth {
  0% {
    transform: rotate(-1deg);
  }

  50% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(-1deg);
  }
}


/* 2列目のレンガ状配置 */
.image-grid a:nth-child(3n + 2) {
  position: relative;
  transform: translateY(-50%);
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .kome3 {
    top: -50px;
    right: 26%;
  }

  .kome4 {
    top: -200px;
    right: 10%;
  }

  .image-grid {
    display: grid;
    width: 96%;
    grid-template-columns: repeat(2, 1fr);
    /* 2列表示 */
    margin: 0 auto 5rem;
    gap: 10px;
    padding: 0;
  }

  /* 2列目のレンガ状配置 */
  .image-grid a:nth-child(3n + 2) {
    position: relative;
    transform: translateY(0);
  }

  .image-grid a:nth-child(even) {
    transform: translateY(60px);
  }
}

/* --- member-wrap --- */
.bg-kome {
  background: var(--beige) url(../img/rice-members/kome.svg);
  background-size: 10%;
  padding: var(--yohaku-60px) 0;
  margin-top: 0;
}

.member-wrap {
  max-width: 74rem;
  width: 100%;
  margin: 0 auto 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.member-left {
  width: 50%;
  background-color: #fff;
  padding: 60px 40px;
  border-radius: 40px;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}


.member-name-jp {
  font-size: 2rem;
  letter-spacing: 0.6px;
}

.member-name-en {
  font-size: var(--text-12px);
  margin-bottom: 1.6rem;
}

.shumi {
  font-size: 1.8rem;
  padding-top: 30px;
}

.member-left-content {
  margin: 30px 0 0;
}

.member-right {
  width: 50%;
  padding: 1.6rem;
}

.overlay-image {
  width: 100%;
  /* サイズ調整 */
  height: auto;
  z-index: 10;
}

.sketch-box {
  margin-top: 1.4rem;
  width: 100%;
  height: auto;
}

/*ーーーーーーーーー コメントのアニメ　ーーーーーーーーー */
.member-right {
  position: relative;
}

/* 左上配置 */
.speech-bubble {
  position: absolute;
  max-width: 150px;
  top: 8%;
  left: 3%;
  background: #fff;
  border-radius: 50px;
  padding: 18px 20px;
  font-size: 12px;
  font-weight: normal;
  color: #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  animation: bobble 1.5s infinite ease-in-out;
  z-index: 2;
  overflow: visible;
}

/* 影（三角形の影用） */
.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -12px;
  /* 影を少し下に */
  left: 62px;
  /* 少し右にずらす */
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid rgba(0, 0, 0, 0.15);
  /* 影色 */
  z-index: 1;
  filter: blur(1px);
  /* 影っぽくぼかしをつける */
}

/* 本体（三角形の白い部分） */
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 60px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
  z-index: 2;
}

/* 右下吹き出し ---------------*/
.speright {
  position: absolute;
  max-width: 150px;
  background: #fff;
  border-radius: 50px;
  padding: 18px 20px;
  font-size: 12px;
  font-weight: normal;
  color: #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  animation: bobble 1.5s infinite ease-in-out;
  z-index: 2;
  overflow: visible;
  top: 32%;
  right: 3%;
}

.speright::before {
  content: "";
  position: absolute;
  top: -12px;
  /* 影を少し下に */
  left: 62px;
  /* 少し右にずらす */
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid rgba(0, 0, 0, 0.15);
  /* 影色 */
  z-index: 1;
  filter: blur(1px);
  /* 影っぽくぼかしをつける */
}

.speright::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 60px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  z-index: 2;
}

/* アニメーション：ゆったりカタカタ動く */
@keyframes bobble {
  0% {
    transform: translate(0px, 0px) rotate(-5deg);
  }

  25% {
    transform: translate(0.5px, -0.5px) rotate(-1deg);
  }

  50% {
    transform: translate(-0.5px, 0.5px) rotate(-6deg);
  }

  75% {
    transform: translate(0.5px, 0.5px) rotate(-2deg);
  }

  100% {
    transform: translate(0px, 0px) rotate(-5deg);
  }
}





/* --- member-wrap  SP表示--- */

@media (max-width: 767px) {
  .bg-kome {
    background-size: 20%;
    padding: 80px 0;
  }

  .member-wrap {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    margin-bottom: 50px
  }

  .member-wrap>* {
    width: 90%;
    margin: 0 auto;
  }

  .member-left {
    margin: 0 auto 5rem;
  }

  .member-name-jp,
  .shumi {
    font-size: 1.8rem;
  }

  .member-right {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
}


/* ------ ------ ------ company-overview.html css  ------ ------ ------ */
/* ---  company  ---*/
.bg-ligr {
  background-color: var(--lightgrey);
}

.company-page h1 {
  font-size: 2.2rem;
}

.company-page .main-img {
  display: block;
  margin: 0 auto var(--yohaku-120px);
  width: 75rem;
  height: auto;
  padding-top: 11.3rem;
}

.company-page .company,
.company-page .keii-wrap,
.company-page .award {
  max-width: 60rem;
  margin: 0 auto 12rem;
}

.company-page .award-wrap {
  width: 45rem;
  margin: 0 auto
}

.company-page .company-box {
  width: 100%;
  padding: 6rem;
  border-radius: 50px;
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
}

/* h2 擬似要素で英字 下に日本語 */
.company .h1-top-en,
.keii-wrap .h1-top-en,
.retailers .h1-top-en {
  position: relative;
  text-align: center;
  margin-bottom: var(--yohaku-50px);
  padding-top: 3rem;
}

.company .h1-top-en::before {
  content: "Company overview";
  font-size: var(--text-12px);
  position: absolute;
  width: 100%;
  text-align: center;
  top: 3px;
  left: 0;
}

/* 設立経緯 */
.keii-img {
  margin-top: 5rem;
  margin-bottom: 6rem;
}

.keii-wrap .h1-top-en::before {
  content: "Background of establishment";
  font-size: var(--text-12px);
  position: absolute;
  width: 100%;
  text-align: center;
  top: 3px;
  left: 0;
}

/* 取り組み内容 */
.company-page .torikuminaiyou {
  width: 60rem;
  padding: 6rem;
  border-radius: 50px;
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  margin: 0 auto 12rem;
}

.torikumi-wrap {
  width: 45rem;
  margin: 0 auto;
}

.torikumi-wrap h1 {
  margin-bottom: 6rem;
}

.torikumi-wrap h2 {
  padding-bottom: 5px;
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
}

.torikumi-wrap ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 3.5rem;
}

/* 表彰実績 */
.award h1 {
  text-align: center;
  margin-bottom: 6rem;
}

.award p {
  margin-bottom: 4rem;
}

.award ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 6rem;
}

.award ul li {
  margin-bottom: 2rem;
}

/* グループ */
.company-page .retailers {
  max-width: 60rem;
  margin: 12rem auto 0;
  padding-bottom: 8rem;
}

.retailers .h1-top-en::before {
  content: "Retailers";
  font-size: var(--text-12px);
  position: absolute;
  width: 100%;
  text-align: center;
  top: 3px;
  left: 0;
}


.company-page .group-list {
  width: 100%;
  padding: 6rem;
  border-radius: 50px;
  background-color: rgb(255, 255, 255);
}

.company-page .group-list a {
  text-decoration: none;
}

.company-page .company-overview th {
  width: 7.5rem;
  text-align: left;
}

.company-page .company-overview th,
.company-page .company-overview td {
  padding: 0 0 1.8rem;
  vertical-align: top;
  /* 上揃え */
}

.company-page .company-overview th:last-child,
.company-page .company-overview td:last-child {
  padding-bottom: 0;
  /* 最後の項目の下余白をなくす */
}


.hosoya-note {
  width: 31rem;
  margin: 8rem auto 12rem;
}

.text {
  max-width: 45rem;
  margin: 0 auto 6rem;
}

.group-list {
  list-style: none;
}

.group-list::before {
  list-style: none;
}

.group-list li {
  position: relative;
}

.group-list li:not(:last-child) {
  margin-bottom: 5rem;
}

.bottom {
  display: block;
  position: absolute;
  top: 2.4rem;
  left: 0;
}


/* ---会社概要 SP表示--- */

@media (max-width: 767px) {
  .company-page {
    width: 100%;
    margin: 0 auto;
  }

  .company-page .main-img {
    width: 90%;
    margin: 0 auto 5rem;
    padding-top: 8rem;
  }

  .company-page .company-box {
    width: 100%;
    padding: 4.4rem 3rem;
  }

  .company-page .torikuminaiyou {
    width: 90%;
    margin: 0 auto 8rem;
    padding: 5rem 3rem;
  }

  .company-page .torikumi-wrap {
    width: 100%;
  }

  .torikumi-wrap h1 {
    margin-bottom: 4rem;
  }

  .company-page .keii-wrap,
  .company-page .company,
  .company-page .retailers {
    width: 90%;
    margin: 0 auto 10rem;
    padding: 0 5%;
  }

  .company-page .retailers {
    width: 90%;
    margin: 0 auto;
    padding: 0 5%;

  }

  .company-page .award {
    width: 90%;
    margin: 0 auto 10rem;
    padding: 0 5%;
  }

  .company-page .award-wrap {
    width: 100%;
  }

  .company-page .company-overview {
    padding: 5rem 1rem 6rem;
    border-radius: 20px;
  }


  .hosoya-note,
  .company-page .retailers {
    padding-bottom: 6rem;
  }

  .company-page .group-list {
    padding: var(--yohaku-50px) 1rem var(--yohaku-60px);
    border-radius: 0;
  }
}



/* ------ ------ ------ archive.html css  ------ ------ ------ */
/* --- archive --- */
.news {
  width: 100%;
}

.news .main-img {
  display: block;
  margin: 1.3rem auto var(--yohaku-120px);
  width: 77.6rem;
  height: auto;
}

.news .main-img {
  margin-bottom: var(--yohaku-60px);
  padding-top: 8rem;
}

.news .post-list {
  max-width: 82.2rem;
  margin: 0 auto;
}

.news .post-list {
  margin-bottom: 10rem;
}

.news .post-list .column-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 36px;
}

.news .post-list .column-3 a {
  text-decoration: none;
}

.news .post-list .column-3 .post {
  flex: 0 0 250px;
}

.news .post-list img {
  margin-bottom: 0.5rem;
  width: 100%;
  aspect-ratio: 250 / 168;
  object-fit: cover;
}

.news .post-list time {
  font-family: var(--font-family-noto-sans);
  font-size: var(--text-12px);
}

.news .post-list h2 {
  margin: 0;
  font-size: var(--text-15px);
}



/* all-text-anime */

.all-btn {
  width: 120px;
  height: 140px;
  margin: 0 auto 3rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  background-image: url('../img/archive/kome.svg');
  /* お米型SVG */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  /* animation: float-all 2s ease-in-out infinite; */
  /* 全体をふわふわ */
}

/* @keyframes float-all {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
} */

.all-text {
  display: flex;
  gap: 2.5px;
  font-size: 22px;
  font-family: var(--font-family-noto-sans-self);
}

.char {
  display: inline-block;
  animation: float-char 2s ease-in-out infinite;
}

.char:nth-child(1) {
  animation-delay: 0s;
}

.char:nth-child(2) {
  animation-delay: 0.2s;
}

.char:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes float-char {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* --- pagination部分 --- */

body.home .pagination .prev {
  display: none;
}

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 16rem;
}

.pagination li {
  display: inline-block;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 17px;
  text-decoration: none;
  position: relative;
  border: 1px solid var(--darkgrey);
}

.pagination .page-numbers span {
  display: block;
  position: relative;
  top: 50px;
}

.pagination .page-numbers:after {
  content: "";
  position: absolute;
  bottom: 1.2rem;
  left: 22px;
  right: 22px;
  height: 1px;
  background-color: var(--darkgrey);
}

.pagination .page-numbers:hover {
  background-color: var(--beige);
  opacity: 1;
}

.pagination .current {
  background-color: var(--beige);
}

.pagination .prev,
.pagination .next {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0 0.8rem;
}

.pagination .prev img,
.pagination .next img {
  display: block;
  margin: auto;
}

/* --- SP表示--- */

@media (max-width: 767px) {
  .news {
    width: 90%;
    margin: 0 auto;
  }

  .news .main-img {
    width: 98%;
    margin: 0 auto 1.87rem;
  }

  .news .post-list {
    width: 100%;
    margin: 0 auto;
  }

  .news .footer {
    width: 90%;
  }

  .news .post-list .column-3 {
    gap: 16px;
    margin: 50px auto 80px;
  }

  .news .post-list .column-3 .post {
    flex: 0 0 160px;
  }

  .news .all-btn {
    width: 70px;
    height: 90px;
    margin: 3rem auto 2rem;
  }

  .all-text {
    gap: 1px;
    font-size: 18px;
  }


  .news .pagination {
    width: 100%;
    margin: 5rem auto 7rem;
  }

  .news .pagination .page-numbers {
    width: 60px;
    height: 60px;

  }
}




/* ------ ------ ------ single.html css  ------ ------ ------ */
/* --- 記事ページ --- */
.single-wrap {
  max-width: 900px;
  margin: 100px auto var(--yohaku-60px);
}

.single .container {
  display: flex;
  justify-content: space-between;
  align-items: self-end;
  gap: 50px;
}

.single .post {
  max-width: 600px;
  padding-bottom: 90px;
}

.single h1 {
  font-size: 2.4rem;
  margin: 1rem 0 5rem;
  font-weight: normal;
}

.single p {
  font-size: 1.6rem;
  line-height: 1.85;
}

.single .post-thumbnail img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.single .post-midashi {
  margin-top: var(--yohaku-60px);
}

.recent-posts {
  padding-bottom: 40px;
}

/* news-h2　見出し */
.recent-posts h2 {
  width: 184px;
  font-size: 1.6rem;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: var(--yohaku-60px);
}

.recent-title-en {
  font-size: 13px;
}

.recent-posts .border {
  width: 42px;
  height: 1px;
  background-color: var(--darkgrey);
  border: none;
}

.recent-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 1.375rem;
}

.recent-posts .post-date {
  display: block;
  font-size: var(--text-12px);
  font-family: var(--font-family-noto-sans);
  margin-bottom: 2px;
}

.recent-posts ul li a {
  text-decoration: none;
}

.recent-posts ul li a:hover {
  text-decoration: underline;
}

/* post nav */
.post-navigation {
  max-width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.post-navigation a {
  text-decoration: none;
}

.post-navigation .nav-all {
  border-bottom: 1px solid var(--darkgrey);
  padding-bottom: 5px;
}

.post-navigation .nav-previous::before {
  content: "";
  display: inline-block;
  background-image: url(../img/single/before-btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 49px;
  /* 適切なサイズを指定 */
  margin-right: 20px;
  /* 文字との間隔を調整 */
  vertical-align: middle;
}

.post-navigation .nav-next::after {
  content: "";
  display: inline-block;
  background-image: url(../img/single/next-btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 49px;
  /* 適切なサイズを指定 */
  margin-left: 20px;
  /* 文字との間隔を調整 */
  vertical-align: middle;
}

/* --- TB --- */
@media (max-width: 1024px) {
  .single-wrap {
    width: 88%;
    margin: 110px auto var(--yohaku-60px);
  }
}

/* --- SP --- */
@media (max-width: 767px) {
  .single-wrap {
    width: 88%;
    margin: 80px auto var(--yohaku-60px);
  }

  .single .container {
    display: contents;
  }

  .single .post {
    padding-bottom: 50px;
  }

  .single .recent-posts {
    max-width: 90%;
    margin: var(--yohaku-60px) auto 4rem;
  }


  .single .post-midashi {
    margin-top: 40px;
  }

  .single h1 {
    font-size: 2.08rem;
    margin-bottom: 40px;
  }

  .recent-posts h2 {
    margin-bottom: 4rem;
  }
}



/* ------ ------ ------ rice-philosophy  コンテンツ調整 ------ ------ ------ */

.rice-philosophy-photo01 {
  width: 60rem;
}

.rice-philosophy-photo02 {
  width: 30rem;
}


/* --- SP --- */
@media (max-width: 767px) {
  .rice-philosophy-photo01 {
    width: 95%;
  }

  .rice-philosophy-photo01 picture {
    position: relative;
    left: 5%;
    top: 0;
  }

  .rice-philosophy-photo02,
  .mura-philosophy-photo02 {
    width: 70%;
  }

  .rice-philosophy-photo03 {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .rice-philosophy-photo03 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 中央を切り抜いて表示 */
    object-position: center;
    display: block;
  }
}




/* ------ ------ ------rice-cultivation  コンテンツ調整 ------ ------ ------ */
.cultivation .lang-en {
  margin: 5rem 0;
}

.cultivation .lang-ja p,
.cultivation .lang-en p {
  margin-top: 0;
  margin-bottom: 30px;
}

/* ------ ------ ------mura-philosophy コンテンツ調整 ------ ------ ------ */

.mura-philosophy .section-content {
  max-width: 450px;
  margin-top: 80px;
}

.mura-philosophy .section-inner {
  padding: 0;
}

.rice-philosophy-photo03-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9比率 */
  height: 0;
  overflow: hidden;
}

.rice-philosophy-photo03-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrap-maturiphotos {
  margin-top: var(--yohaku-60px);
}

.maturi-photo {
  margin: 0 auto 1.6rem;
}

.maturi-photo :last-child {
  margin-bottom: 0;
}

/* --- TB 以下 --- */
@media (max-width: 1024px) {
  .mura-philosophy .section-content {
    margin-top: 0;
  }

  .mura-philosophy {
    padding: 30px 0;
  }
}

/* --- SP --- */
@media (max-width: 767px) {
  .mura-philosophy .section-content h2 {
    margin: 0 0 50px;
    font-size: 2rem;
  }
}

/* ------ ------ ------mura-renovation コンテンツ調整 ------ ------ ------ */
.sub-info {
  padding-top: 5rem;
}

/*　------ アクセス追加　------ */
.accessmap-wrap {
  max-width: 76rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 6rem;
}

.accessmap-left-wrap {
  width: 30rem;
}

.accessmap-right-wrap {
  width: 40rem;
}

.accessmap-right-wrap iframe {
  width: 100%;
  /* 幅を100%に設定 */
  height: 280px;
  border: 0;
}

.sub-access h4 {
  display: flex;
  align-items: center;
  font-size: 2rem;
}

.sub-access .sub-text {
  font-size: 1.3rem;
  padding: 2px 6px;
  margin-right: 1rem;
  margin-bottom: 3rem;
  display: flex;
  /* これを追加してsub-textをflexコンテナに */
  align-items: center;
}

.sub-access .line {
  display: block;
  /* spanをブロック要素に */
  width: 100%;
  height: 1px;
  background-color: var(--darkgrey);
  margin-left: 1.3rem;
  margin-top: 2px;
  /* ラインを2px下にずらす */
}

.h-reservation {
  justify-content: flex-start;
  margin-top: 5rem;
}

/* ますや */
.masuya-shop {
  display: block;
}

.masuya-info {
  padding-top: 5rem;
  margin-bottom: 3rem;
}

.masuya-info h1 {
  margin-bottom: 0.8rem;
}

.masuya-contact a {
  text-decoration: none;
}


/* ------ ------ ------mura-worksop コンテンツ調整 ------ ------ ------ */
.add-text {
  margin: 5rem 0 2rem;
  font-size: 1.3rem;
}

.recommend {
  padding-top: 5rem;
  margin-bottom: 3rem;
}

.recommend h1 {
  font-size: 1.7rem;
  margin-bottom: 1.6rem;
  position: relative;
  display: inline-block;
  padding: 0 0.8em;
  margin-left: 1em;
  /* ← 擬似要素「＼」のぶん右にずらす */
}

.recommend ul li {
  margin-bottom: 0.5rem;
}

.recommend ul li i {
  margin-right: 0.8rem;
}

.sanka-voice ul li {
  margin-bottom: 2rem;
}

.recommend h1::before,
.recommend h1::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  /* 色は自由に */
}

.recommend h1::before {
  content: '＼';
  left: -1em;
  /* 文字との距離を調整 */
}

.recommend h1::after {
  content: '／';
  right: -1em;
}

.workshop .bg-beige {
  background-color: var(--beige);
}

/* test */
