@charset "UTF-8";

/* -------------------------------------
CONCEPT
------------------------------------- */

.concept {
  padding: clamp(52px, 6.77vw, 100px) 0 clamp(42px, 5.47vw, 167px);
}
.concept .sec_ttl {
  margin-bottom: 0;
}
.concept-wrap {
  justify-content: space-between;
  gap: 0 4%;
}
.concept-wrap::after {
  content: "";
  width: 55%;
  max-width: 600px;
  margin-right: -3.33vw;
}
.concept-txt-wrap {
  flex: 1;
  max-width: 558px;
}
.concept-wrap .sec_head {
  margin-bottom: 16px;
}
.concept-txt {
  font-weight: 700;
  line-height: 2.22;
  letter-spacing: 0;
}
.concept-txt span {
  display: inline-block;
}
.concept-img {
  width: 55%;
  max-width: 600px;
  margin-right: -3.33vw;
  height: 521px;
  padding-top: 3em;
  position: absolute;
  right: 0;
  top: 0;
}

/* -------------------------------------

------------------------------------- */
#map {
  padding-bottom: 0;
}
.map_main {
  width: 100%;
  max-width: 737px;
  margin: 0 auto 79px;
}
#itemnav_top {
}
.itemnav_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.itemnav_list > * {
}
.itemnav_list a {
  color: #fff;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
  padding: 17px 24px;
  background-color: #866d4f;
  border-radius: 10px;
}

.item__section .sec_wrap {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}
.item_txt_wrap {
  margin-bottom: 50px;
  position:relative;
}
.content__bg-wrap .sec_ttl {
  display: flex;
  flex-direction: inherit;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.content__bg-wrap .cont_txt {
  line-height: 2.22;
  letter-spacing: 0;
  width:calc(100% - 286px);
  max-width:788px;
  margin-bottom: 0;
}
.content__bg-wrap .cont_txt-w {
  width:100%;
  max-width:100%;
}
.map_img {
  width:46%;
  max-width: 286px;
  min-width:142px;
  position:absolute;
  right:0;
  top:-20px;
}
.item__list {
  display: flex;
  flex-wrap: wrap;
  gap: 107px 24px;
  /*background-color: #000;*/
}
.item_blk {
  width: calc((100% - 48px) / 3);
  background-color: #000;
}
.item_img {
  padding: 9px;
  background-color: #fff;
  aspect-ratio: 368 / 284;
}
.item_txt {
  color: #fff;
  padding: 24px 30px;
}
.item_name {
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}
.item_cont {
  font-size: 17px;
  font-family: "MFW-YuGoPr6N-Medium";
}

/* -------------------------------------
セクション間の余白調整
（デザインカンプ実測：各商品セクションの
商品リスト下端〜次見出し上端は約127〜140px）
共通の .blk は max(180px,12.5vw) と大きすぎるため、
商品セクション（.item__section）のみ上書き。
------------------------------------- */
.item__section.blk {
  padding: max(64px, 4.5vw) 0;
}

/* -------------------------------------
原料昆布（genryo）
商品カード（白背景＋商品名/容量）ではなく
写真3点をそのまま並べる仕様のため、
item_img の白背景・余白・比率を上書き
------------------------------------- */
#genryo .item_img {
  padding: 0;
  background-color: transparent;
  aspect-ratio: 368 / 388;
}

.inner__wrap {
  max-width: 990px;
  margin: 0 auto;
}


.item__list_toggle {
  display:none;
}



/* -------------------------------------
trivia（昆布の豆知識）
------------------------------------- */
#trivia {
  color: #fff;
  padding-bottom: min(150px, 10.4vw);
}
#trivia .sec_head {
  text-align: center;
  margin-bottom: 80px;
}
#trivia .sec_head .sec_ttl {
  margin-bottom: 0;
}
.trivia_blk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.trivia_blk:not(:last-child) {
  margin-bottom: min(110px,7.6vw);
}
.trivia_txt_wrap {
  width: 100%;
  position:relative;
}
.trivia_ttl {
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid #fff;
}
.trivia_txt_wrap .cont_txt {
  line-height: 2.2;
  letter-spacing: 0;
  margin-bottom: 0;
  width: 48%;
}
.trivia_img {
  /*width: 46%;*/
  width:50%;
  max-width: 451px;
  /*flex-shrink: 0;*/
  position:absolute;
  top:0;
  right:0;
}
.trivia_img img {
  width: 100%;
  aspect-ratio: 451 / 316;
}
.trivia_thumb_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 80px;
}
.trivia_thumb_list li {
  width: calc((100% - 72px) / 4);
  aspect-ratio: 460 / 430;
  overflow: hidden;
}
.trivia_thumb_list img {
  width: 100%;
  height: 100%;
}

/* -------------------------------------
howto（おいしい「だし」の取り方）
------------------------------------- */
.bg_bl2 {
  background-color: #00385d;
}
#howto {
  padding-top: 0;
}
.howto_card {
  background-color: #fff;
  border-radius: 30px;
  padding: min(80px, 7vw) min(90px, 7.5vw);
}
.howto_ttl {
  color: #004065;
  text-align: center;
  font-size: 40px;
  font-family: dnp-shuei-nmincho-std, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-bottom: 100px;
}
.howto_ttl span {
  display:inline-block;
}
.howto_blk {
  margin-bottom: 50px;
}
.howto_blk:last-child {
  margin-bottom: 0;
}
.howto_subttl {
  color: #004065;
  font-size: 30px;
  font-family: "MFW-YuMinPr6N-Medium";
  letter-spacing: 0.1em;
  line-height: 1;
  padding-left: 18px;
  border-left: 3px solid #004065;
  margin-bottom: 10px;
}
.howto_txt {
  line-height: 2;
  letter-spacing: 0;
  padding-left: 1em;
}
.howto_step_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px 40px;
  padding-top: 30px;
}
.howto_step {
  width: calc((100% - 40px) / 2);
  max-width: 367px;
}
.howto_step_img {
  margin-bottom: 20px;
  /*aspect-ratio:367 / 199;
  overflow:hidden;*/
}
/*.howto_step_img img {
  width:100%;
  height:100%;
  object-fit:contain;
}*/
.howto_step_txt {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.howto_step_num {
  color: #004065;
  font-family: dnp-shuei-nmincho-std, sans-serif;
  font-size: 50px;
  line-height: 1;
  flex-shrink: 0;
}
.howto_step_txt p {
  line-height: 1.66;
}
.howto_divider {
  border: none;
  border-top: 1px solid #dbdbdb;
  margin: 50px 0;
}

.item #contact .sec_head {
  color: #343029;
}

/* -------------------------------------
side_nav（右側追尾メニュー）
日高昆布〜原料昆布セクションの間で表示。
表示切替／アクティブ切替は item.js で行う。
枠装飾は side_nav-frame.png を背景表示し、
.side_nav_list の overflow:hidden で
不要な右側部分を切り取っている。
------------------------------------- */
#side_nav {
  display:none;/*pc非表示*/
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(16px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s;
}
#side_nav.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.side_nav_list {
  position: relative;
  z-index: 0;
  width: max-content;
  padding: 44px 34px 44px 44px;
  overflow: hidden;
}
.side_nav_list::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../imgs/item/side_nav-frame.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
  z-index: -1;
}
.side_nav_item:not(:last-child) {
  margin-bottom: 29px;
}
.side_nav_item a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #000;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.side_nav_dot {
  display: block;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s;
}
.side_nav_item a:hover .side_nav_dot,
.side_nav_item.is-active .side_nav_dot {
  background-color: #dd5c5c;
}

/* -------------------------------------
itemlist（SP用「取り扱いリスト」ボタン＆全画面メニュー）
PCでは非表示。768px以下でのみ表示する。
開閉は item.js（#itemlist_btn / #itemlist_close）で行う。
------------------------------------- */
#itemlist_bar,
#itemlist_btn,
#itemlist_nav {
  display: none;
}

@media screen and (max-width: 1440px) {
.item_name {
  font-size: clamp(15px,1.73vw,25px);

}
.item_cont {
  font-size: clamp(13px,1.18,17px);
}

.trivia_ttl {
    font-size:clamp(20px, 2.08vw, 30px);
}
.howto_ttl {
    font-size:clamp(23px, 2.77vw, 40px);
    margin-bottom: min(6.94vw,100px);
}
.howto_subttl {
    font-size:clamp(20px, 2.08vw, 30px);
}
.howto_step_num {
    font-size:clamp(36px, 3.47vw, 50px);
}

}
@media screen and (max-width: 1260px) {
  .concept-wrap::after,
  .concept-img {
    width: 49%;
    margin-right: 0;
  }
}

@media screen and (max-width: 1050px) {
}

@media screen and (max-width: 980px) {
}

@media screen and (max-width: 920px) {
}

@media screen and (max-width: 880px) {
}

@media screen and (max-width: 820px) {
}

@media screen and (max-width: 768px) {
  /* CONCEPT */
  .concept-wrap::after {
    content: none;
  }
  .concept-txt-wrap {
    max-width: initial;
  }
  .concept-txt {
    line-height: 1.86;
    letter-spacing: 0.03em;
  }
  .concept-img {
    position: relative;
    width: 100%;
    max-width: initial;
    height: 72vw;

    min-height: 270px;
    overflow-y: clip;
    padding-top: 0;
    margin-bottom: 20px;
  }
  .concept-img img {
    width: 100vw;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  
  .item_txt_wrap {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom: 30px;
  }
  .content__bg-wrap .sec_ttl {
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
  }
  .content__bg-wrap .cont_txt {
    width:100%;
  }
  
  
  #map {
    padding-bottom: 40px;
  }
  
  .map_img {
    position:static;
  }
  
  
  #genryo .item_img {
      aspect-ratio: 152 / 180;
  }  
  
  
  
  
  
  
  
  /* -------------------------------------
  ハンバーガーメニュー：右下の閉じる「×」ボタン
  （header/common.js/header.cssは共通ファイルのため、
  この見た目・挙動はitem.css/item.js側に記述している。
  クリック時の開閉自体はcommon.js側の#menu_btnの
  処理をそのまま呼び出す＝item.jsを参照）
  ------------------------------------- */
  #gnav_close {
    display: none;
  }
  header.active #gnav_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: fixed;
    right: clamp(20px, 6vw, 32px);
    bottom: 32px;
    z-index: 5;
    color: #666;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  /* -------------------------------------
  商品カード：3カラム→2カラムに変更
  ------------------------------------- */
  .item__list {
    gap: 32px 16px;
    margin-bottom:37px;
  }
  .item_blk {
    width: calc((100% - 16px) / 2);
  }
  .item_img {
    padding:13px;
    aspect-ratio: 136 / 140;
  }
  .item_txt {
    padding: 16px 20px;
  }
  .item_name {
    font-size: 16px;
    line-height: 1.4;
  }
  .item_cont {
    font-size: 13px;
  }

  /* -------------------------------------
  原料昆布（genryo）：SPは3枚目を出さず2枚表示のみ
  （開閉する残りが無いため「＋」ボタンは非表示）
  ------------------------------------- */
  #genryo .item__list_toggle {
    display: none;
  }

  /* -------------------------------------
  商品カード：SPは最初2個だけ表示し、
  「＋」タップで残りを開閉する
  ------------------------------------- */
  .item_blk:nth-child(n + 3) {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }
  .item__list.is-expanded .item_blk:nth-child(n + 3) {
    display: block;
  }
  .item__list.is-expanded .item_blk:nth-child(n + 3).is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .item__list_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 8px auto 0;
    position: relative;
    border: 1px solid #707070;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }
  .item__list_toggle::before,
  .item__list_toggle::after {
    content: "";
    width: 16px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #707070;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
  }
  .item__list_toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .item__list_toggle.is-open::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  /* PC用の右側追尾メニューはSPでは非表示 */
  #side_nav {
    display: none;
  }

  /* -------------------------------------
  itemlist：「取り扱いリスト」バー
  日高昆布セクションの手前に通常配置（#itemlist_bar内）。
  画面下辺に出てきた時点で画面下に固定され、原料昆布セクションの終わりまで追尾する。
  （.is-fixed / .is-hide の付与は item.js）
  ------------------------------------- */
  #itemlist_bar {
    display: block;
    height: 60px; /* #itemlist_btnの高さと同じにする（固定表示に切り替わってもページの高さが変わらないように確保） */
  }

  #itemlist_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    padding: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.1em;
    background-color: #004065;
    border: none;
    border-radius: 0;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  /* 「＞」の矢印 */
  #itemlist_btn::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 22px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
  }

  /* 画面下に固定（画面下辺に出てきた時点で切り替わる） */
  #itemlist_btn.is-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 40;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    transition:
      opacity 0.3s,
      visibility 0.3s,
      transform 0.3s;
  }

  /* 追尾範囲を過ぎたら、下にスッと消える */
  #itemlist_btn.is-fixed.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
  }

  /* -------------------------------------
  itemlist：全画面オーバーレイメニュー
  ------------------------------------- */
  #itemlist_nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      opacity 0.4s,
      visibility 0.4s,
      transform 0.4s;
  }
  #itemlist_nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .itemlist_head {
    padding: 24px clamp(20px, 6vw, 32px);
    color: #fff;
    background-color: #004065;
    flex-shrink: 0;
  }
  .itemlist_head p {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1;
  }
  .itemlist_body {
    flex: 1;
    overflow-y: auto;
    padding: 0 clamp(20px, 6vw, 32px);
  }
  .itemlist_body li:not(:last-child) a {
    border-bottom: 1px solid #dbdbdb;
  }
  .itemlist_body a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 4px;
    color: #343029;
    font-size: 17px;
    letter-spacing: 0.05em;
  }
  .itemlist_body a::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: rotate(45deg);
  }
  #itemlist_close {
    width: 32px;
    height: 32px;
    margin: 8px clamp(20px, 6vw, 32px) 150px auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }
  body.itemlist-fixed {
    overflow-y: hidden;
  }
}

@media screen and (max-width: 700px) {
}

@media screen and (max-width: 640px) {
.item__section.blk {
    padding: max(35px, 8.6vw) 0;
}


/* -------------------------------------
trivia（昆布の豆知識）
------------------------------------- */
.trivia_txt_wrap .cont_txt {
  width: 100%;
}
.trivia_img {
  width:100%;
  height: 68.27vw;
  max-width: initial;
  position:relative;
  margin-bottom:25px;
  overflow-y: clip;
}
.trivia_img img {
  width: 100vw;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.trivia_thumb_list {
  gap: 14px;
}
.trivia_thumb_list li {
  width: calc((100% - 14px) / 2);
  aspect-ratio: 146 / 136;
}

.howto_step_list {
    width:100%;
    max-width: 367px;
    margin:0 auto;
    padding-top:15px;
}
.howto_step {
    width: 100%;
    max-width: 367px;
}




}

@media screen and (max-width: 600px) {
}

@media screen and (max-width: 500px) {
.itemnav_list > * {
  text-align:center;
  width:100%;
}

.item_txt {
        padding: 16px 12px;
}

}

@media screen and (max-width: 400px) {
}
@media screen and (max-width: 360px) {
}

@media screen and (max-width: 320px) {
}

@media screen and (min-width: 769px) {
}
