
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Base Font */
body {
	margin: 0;
  font-family: sans-serif;
  line-height: 1.6;
  font-family:
    "游明朝体", "Yu Mincho",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",
    "MS 明朝", "MS Mincho",
    serif;
  line-height: 1.7;
  color: #333;
}


img {
  width: 100%;
  height: auto;
  display: block;
}

/* 通常（未訪問） */
a {
  color: #0000ee;
  text-decoration: none;
}

/* 訪問済み */
a:visited {
  color: #0000ee;
  text-decoration: none;
}

/* ホバー */
a:hover {
  text-decoration: underline;
}

/* クリック中 */
a:active {
  color: #0000ee;
}

/* 画像リンクのホバー効果 */
a img {
  transition: 0.3s ease;
}

a:hover img {
  opacity: 0.7;
}

@media (max-width: 767.98px) {
  a {
    position: relative;
    display: inline-block;
  }
  a:active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.25);
  }
}


.hero__image {
  width: 100%;
}

.intro,
.ingredients,
.menu,
.intro__inner {
  margin-top: 40px;
}

.ingredients__item {
  margin-bottom: 24px;
}

.menu__grid,
.stores__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .ingredients__item {
    display: flex;
    gap: 24px;
  }
  .menu__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stores__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* header */

.header {
  text-align: center;
  padding: 24px 16px 0;
  background: #fff;
}

.header__logo-img {
  width: 77%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.header__catch {
  font-size: 100%;
  line-height: 1.6;
  color: #333;
  font-weight: bold;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .header__logo-img {
    width: 38%;
    margin: 0 auto 12px;
  }
  .header__catch {
    font-size: 32px;
    margin-bottom: 12px;
  }
}

/* container */
.container {
  width: 98%;
  margin: 0 auto;
}

section {
  padding: 0 1% 24px;
}

@media (min-width: 768px) {
  .container {
    max-width: 1000px;
  }
}

/* =========================
   15周年キャンペーン（文章左・画像右）
========================= */

.campaign15 {
  margin: 40px 0 32px;
}

.campaign15__title {
  font-size: 22px;
  padding: 12px;
  border: 3px solid #000;
  background: #fff;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 24px;
}

/* 各ブロック */
.campaign15__block {
  margin-bottom: 40px;
}

/* 画像 */
.campaign15__image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.campaign15__subtitle {
  font-size: 22px;
  font-weight: bold;
  margin: 16px 0 12px;
  line-height: 1.6;
}

.campaign15__text {
  font-size: 16px;
  line-height: 1.8;
}

/* 第3〜5弾（テキストのみ） */
.campaign15__list {
  margin-top: 16px;
}

.campaign15__item {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}


/* PC：見た目だけ「文章左・画像右」にする */
@media (min-width: 768px) {
  .campaign15__block {
    display: flex;
    flex-direction: row-reverse; /* ← これで左右を反転 */
    gap: 24px;
    align-items: flex-start;
  }

  /* 右：画像（約30%） */
  .campaign15__image {
    flex: 0 0 30%;
		margin: 21px 0 0;
  }

  /* 左：文章（残り） */
  .campaign15__body {
    flex: 1;
  }
}

/* Topics */
.topics {
  margin-top: 32px;
}

.topics__title {
  font-size: 22px;
  padding: 12px;
  border: 3px solid #000;
  background: #fff;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 24px;
}

.topics__item {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 4px;
}

@media (min-width: 768px) {
  .topics__title {
    font-size: 28px;
  }
  .topics__item {
    font-size: 20px;
  }
}

/* Section 1 Bottom Icons */
.s1-bottom__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14.5px;
}

.s1-bottom__item {
  width: 100%;
}

.s1-bottom__item img {
  width: 100%;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .s1-bottom__item {
    width: calc(33.333% - 10.6px);
  }
  .s1-bottom__item--wide {
    width: calc(33.333% - 10.6px);
  }
}



/* Intro Title */
.intro__title {
  position: relative;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  padding: 15px 0;
  margin: 40px 0 32px;
  color: #fff;
  background-color: #323c50;
  border-radius: 27px;
  background-image:
    url("/sobaichi/img/intro-left.png"),
    url("/sobaichi/img/intro-right.png");
  background-repeat: no-repeat;
  background-position: left center, right center;
  background-size: auto 100%;
}

@media (max-width: 767px) {
  .intro__title {
    font-size: 21px;
    padding: 13px 0;
    background-size: auto 28%;
    border-radius: 13px;
  }
}

@media (max-width: 415px) {
  .intro__title {
    font-size: 19px;
    background-size: auto 15%;
  }
}

/* Intro Section */
.intro__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.intro__textblock {
  width: 100%;
}

.intro__subtitle {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .intro__subtitle br {
    display: none;
  }
}

.intro__lead {
  font-size: 19px;
  margin-bottom: 16px;
  font-weight: 500;
}

.intro__body {
  font-size: 16px;
  line-height: 1.8;
}

.intro__image {
  width: 100%;
}

.intro__image-img {
  width: 100%;
  border-radius: 8px;
}

@media (min-width: 1024px) {
  .intro__textblock {
    flex: 0 0 67%;
  }
  .intro__image {
    flex: 0 0 30%;
    margin: 37px 0;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .intro__textblock {
    flex: 0 0 66%;
  }
  .intro__image {
    flex: 0 0 30%;
    margin: 37px 0;
  }
}

.intro__km-f {
  font-size: 13px;
}

/* Story Section */
.story__title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin: 13px 0;
}

.story__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.story__textblock,
.story__image {
  width: 100%;
}

.story__image-img {
  width: 100%;
  border-radius: 8px;
	margin-top: 29px;
}

.story__bottom {
  margin-top: 32px;
}

.story__subtitle {
  font-size: 22px;
  font-weight: bold;
  margin: 24px 0 12px;
  position: relative;
  padding-left: 1.4em;
  line-height: 1.6;
}

.story__subtitle::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.35em;
  color: #000;
  font-size: 0.9em;
}

@media (min-width: 768px) {
  .story__subtitle::before {
    top: 0.1em;
  }
}

.story__body {
  font-size: 16px;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .story__textblock {
    flex: 0 0 67%;
  }
  .story__image {
    flex: 0 0 30%;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .story__textblock {
    flex: 0 0 66%;
  }
  .story__image {
    flex: 0 0 30%;
  }
}

/* Story Gallery */
.story-gallery__title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin: 25px 0 14px;
}

.story-gallery__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.story-gallery__item img {
  width: 100%;
  border-radius: 6px;
}

.story-gallery__caption {
  font-size: 14px;
  text-align: center;
  margin-top: 3.5px;
}

@media (min-width: 768px) {
  .story-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .story-gallery__caption {
    font-size: 15px;
  }
}

/* Story Block */
.story-block {
  margin-top: 48px;
}

.story-block__image {
  margin-top: 2px;
}

.story-block__image img {
  width: 100%;
  border-radius: 8px;
}

.story-block__caption {
  font-size: 14px;
  text-align: center;
  margin-top: 6px;
}

@media (min-width: 768px) {
  .story-block__caption {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .story-block__image {
    float: right;
    width: 40%;
    margin-left: 24px;
    margin-bottom: 8px;
    text-align: right;
  }
  .story-block__caption {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .story-block__image {
    float: none;
    width: 100%;
    margin-top: 16px;
    text-align: center;
  }
  .story-block__caption {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .story-block {
    position: relative;
  }
  .story-block .story__subtitle,
  .story-block .story__body {
    max-width: 57%;
  }
  .story-block__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .story-block__image {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
}

/* Rank */
.rank {
  clear: both;
  margin-top: 40px;
	padding-bottom: 2px !important;
}

@media (min-width: 768px) {
  .rank {
    margin: 157px 0 0;
  }
}

/* Ranking Title */
.menu__title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  padding-left: 11%;
  margin-bottom: 20px;
  line-height: 1.4;
  background-image: url("/sobaichi/img/ranking-left.png");
  background-repeat: no-repeat;
  background-position: 1% center;
  background-size: 9.5% auto;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .menu__title {
    font-size: 28px;
    padding-left: 0;
    margin-bottom: 32px;
    background-position: 21.25% center;
    background-size: 5.5% auto;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .menu__title {
    font-size: 28px;
    padding-left: 0;
    margin-bottom: 32px;
    background-position: 28% center;
    background-size: 4.5% auto;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .rank__body {
    display: flex;
    gap: 32px;
  }
  .rank__lead {
    flex: 0 0 58%;
    line-height: 1.8;
  }
  .rank__image {
    flex: 0 0 38%;
  }
  .rank__image img {
    width: 100%;
    border-radius: 8px;
  }
}

@media (max-width: 767.98px) {
  .rank__body {
    display: block;
  }
  .rank__lead {
    margin: 5px 0 15px;
  }
  .rank__image {
    margin-bottom: 16px;
  }
}

.ranking-title {
  font-size: 22px;
  margin: 40px 0 15px;
  font-weight: bold;
}

.rank-item {
  margin-bottom: 40px;
}

.rank-item:last-child {
  margin-bottom: 30px;
}

.rank-item__title {
  font-size: 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid #000;
  font-weight: bold;
	margin-bottom: 2px;
}

@media (min-width: 768px) {
  .rank-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .rank-item__content {
    display: flex;
    gap: 32px;
  }
  .rank-item__image {
    flex: 0 0 28%;
  }
  .rank-item__image img {
    width: 100%;
  }
  .rank-item__text {
    flex: 1;
    line-height: 1.8;
  }
	 .rank-item__text p{
		 margin-top: 0;
	}
}

@media (max-width: 767.98px) {
  .rank-item__image {
    margin-bottom: 16px;
  }
  .rank-item__title {
    font-size: 18px;
    margin-bottom: 12px;
  }
}

.rank-item.no-image p {
  line-height: 1.8;
  margin-top: 0px;
}

/* Stores */
.stores__header {
  margin: 13px 0;
  padding-left: 70px;
  background-image: url("/sobaichi/img/logo-shops-tate-icon001.jpg");
  background-repeat: no-repeat;
  background-size: 5.5% auto;
  background-position: left center;
}

.stores__title {
  font-size: 28px;
  font-weight: bold;
	margin: 0 0 1px;
}

.stores__subtitle {
  font-size: 15px;
  line-height: 1.6;
	margin: 0 0 1px;
}

@media (max-width: 767.98px) {
  .stores__header {
    margin: 13px 0;
    padding-left: 16.25%;
    background-size: 13% auto;
  }
  .stores__title {
    font-size: 22px;
  }
  .stores__subtitle {
    font-size: 15px;
  }
}

@media (max-width: 414px) {
  .stores__header {
    padding-left: 15.5%;
  }
  .stores__title {
    font-size: 22px;
  }
  .stores__subtitle {
    font-size: 13px;
  }
}

.shop-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 40px 0 0;
}

.shop-card {
  margin-bottom: 10px;
}

.shop-card__img {
  width: 100%;
}

@media (min-width: 768px) {
  .shop-card__img {
    max-width: 300px;
    margin-bottom: 15px;
  }
}

.shop-card__title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.shop-card__text {
  line-height: 1.8;
  font-size: 94%;
  padding: 0 2%;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .shop-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-card__img {
    max-width: 400px;
    margin: 0 auto 15px;
  }
}

@media (max-width: 767.98px) {
  .shop-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .shop-card__title {
    font-size: 22px;
    margin-top: 10px;
  }
}

@media (max-width: 414px) {
  .shop-card__title {
    font-size: 22px;
  }
  .shop-card__text {
    font-size: 12px;
  }
}

/* Footer */
.footer {
  background: #fff;
  padding: 12px 0;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}


.footer__btn {
  position: static;
  left: 1.5%;
  top: 50%;
  transform: none;
  background: #323c50;
  color: #fff !important;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 12px;
}

.footer__btn::after {
  content: "最新の店舗情報はこちら >";
}
/*最下部ボタンバグ解消*/
/* ===== SPビューのfooter縮み対策 ===== */

@media (max-width: 767px) {
  .footer {
    min-height: 120px;
  }
}


