@charset "utf-8";
/* 菓子時間ムギ 原材料・栄養成分一覧（お客様が見る公開ページ）
   いまのブランドサイト（kashijikan-mugi.jp/material/）の CSS をそのまま土台にし、書体だけヒラギノ角ゴシックに替えたもの（10-01 は Noto Sans JP。2026-10-06 に自社システムの書体をヒラギノへ統一）。
   色・余白・線・幅の切り替え（780px・620px）は変えない。足したものは末尾の「足したもの」にまとめてある。
   社内システムの共通部品（tokens.css・base.css・shell.css）は使わない（見た目の基準が別。指示書 2026-10-01）
   同じファイルを、社内の確認用の表示（/material-preview）と公開側（material-site/）の両方が読む */
/*
Theme Name: KASHIJIKAN MUGI
Theme URI: https://wordpress.org/themes/kj-themes/
*/


/*COMMON*/
/*DETAIL*/
html { -webkit-text-size-adjust:none; -webkit-print-color-adjust:exact; }
body { width:100%; -webkit-text-size-adjust:none; text-rendering:optimizeLegibility;color: #000;background:#fff;font-feature-settings: 'palt';letter-spacing: 1px;font-size: 1rem;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
body,div,span,a,p,img,ul,li,h1,h2,input,textarea,select { margin:0; padding:0;}
.mac { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
li {list-style-type:none;}
div,a,p,input,textarea,select { box-sizing:border-box; }
img { width:100%;height:auto; border-style:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; user-select:none; -webkit-user-drag:none; user-drag:none; pointer-events:none; vertical-align:bottom; }
.vertical { -ms-writing-mode: tb-rl; -webkit-writing-mode: vertical-rl;writing-mode: vertical-rl;-webkit-font-feature-settings: 'vpal';-ms-font-feature-settings: 'vpal';-o-font-feature-settings: 'vpal';font-feature-settings: 'vpal';}
.safari .vertical {display: inline-table;text-align:left;white-space:nowrap;}
figure {margin: 0;}
.displaynone{display: none;}
h1,h2,h3,h4,h5 {margin:0;}

/*LINK*/
a {color:#000;text-decoration:none; -webkit-tap-highlight-color:rgba(0,0,0,0);display: block;}
a:focus {outline:none;cursor:pointer;}
*:focus {outline: none;}
a:hover,a:hover p,input:hover,.mugiIcon_btn a:hover {cursor: pointer;color: rgb(197,118,55);transition: all ease .5s;}
.menu a:hover {opacity:0.6;transition: all ease .5s;}
.pc a[href^="tel:"] { cursor:default; pointer-events:none; }
a.underline {text-decoration: underline;}

/*FONT STYLE*/
.ja_t {font-family: 'Hiragino Sans','Hiragino Kaku Gothic ProN',sans-serif;font-weight: normal;line-height: 1.8;letter-spacing: 2px;}
.ja_p {font-family: 'Hiragino Sans','Hiragino Kaku Gothic ProN',sans-serif;font-weight: normal;line-height: 1.85;letter-spacing: 0.03rem;}
.en_t { font-family: 'Hiragino Sans','Hiragino Kaku Gothic ProN',sans-serif;}
.en_p { font-family: 'Hiragino Sans','Hiragino Kaku Gothic ProN',sans-serif;}
.f_bw {color: rgb(197,118,55);}

/*FONT SIZE*/
.sec_title h2 {font-size: 20px;}
.p-tab_first_group li p {font-size: 16px;}
.accordion li h3 {font-size: 16px;}
.accordion > ul > li > a,.accordion dl h4,.accordion dl p {font-size: 14px;}

/*responsive*/
.none { display:none !important; }
.pc_on {display:block;}
.sp_on {display:none;}

.sp_br {display: none;}
.pc_br {display: block;}

.txt_center {text-align: center;}


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

STRUCTURE

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

/*WRAP*/
body {
  width:100%;
  height: 100%;
}
.wrap {
  position:relative;
  width: 100%;
  height: 100%;
}
.header {
  width: 100%;
  height: 100px;
  position: relative;
}
.header_inner {
  width: 100%;
  height: 100%;
  position: relative;
}
.contents_inner {
  height: 100%;
  width: 100%;
  padding:  70px 0 0;
}

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

 COMMON

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

/*section title*/
.sec_title h2 {
  writing-mode: vertical-rl;
  display: block;
  white-space: nowrap;
  margin: 0 auto 60px;
  letter-spacing: 2px;
}

/*flex_wrap*/
.flex_wrap {
  position: relative;
  box-sizing: border-box;
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}


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

HEADER

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

.header_title {
  position: absolute;
  top: 40px;
  left: 55px;
}
.header_title h1 {
  line-height: 1;
}
.header_title img {
  width: 200px;
  height: auto;
}
.header_navi {
  position: absolute;
  top: 20px;
  right: 30px; 
}
.header_navi ul li a {
  padding: 3px 14px;
  border: 1px solid rgb(197,118,55);
  border-radius: 50px;
  font-size: 13px;
}
.header_navi ul li + li {
  margin-left: 20px;
}


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

MAIN

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

h2.p-mv_title {
  font-size: 21px;
  text-align: center;
  width: 100%;
  margin-bottom: 45px;
  letter-spacing: 3px;
}
p.p-mv_txt {
  font-size: 13px;
  text-align: center;
  width: 100%;
}

.p-material_wrap {
  padding-top: 80px;
}

#material02 .contents_detail h3 {
  font-size: 16px;
  text-align:center;
  width: 100%;
  margin: 50px 0 150px;
  color: rgb(197, 118, 55);
}


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

TAB

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

/*PAGE TAB*/
.p-tab_first_wrap {
  display: none;
}
.p-tab_first_group {
  max-width: 860px;
  width: 80%;
  margin: 0 auto;
}
.p-tab_first_group li {
  border-top: 1px solid rgb(197,118,55);
  border-right: 1px solid rgb(197,118,55);
  border-left: 1px solid rgb(197,118,55);
  border-radius: 15px 15px 0 0;
  width: calc((100% - 25px)/ 2);
}
.p-tab_first_btn {
  list-style:none;
  text-align:center;
  cursor:pointer;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
  color: #ccc;
}
.p-tab_first_btn.active {
  transition: all 0.2s ease-out;
  border-bottom: 1px solid #fff;
  color: #000;
}
.p-tab_first_btn_inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}



/*CATEGORY TAB*/
.p-tab_wrap {
/*border-top: 1px solid rgb(197,118,55);*/
  background: #fff;
  margin-top: -1px;
  padding-top: 75px
}
.p-mv,.p-tab_inner {
  max-width: 860px;
  width: 80%;
  margin: 0 auto;
}
.p-tab_btn {
  cursor:pointer;
  padding: 12px 45px;
  border-radius: 50px;
  border: 1px solid rgb(197,118,55);
  display: inline-block;
}
.p-tab_btn_inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.p-tab_group {
  display: table;
  margin: 0 auto;
}
.p-tab_group li + li {
  margin-left: 20px;
} 
.p-tab_btn.is-active,
.p-tab_btn:hover {
  background: rgb(197,118,55);
  transition: all 0.2s ease-out;
}
.p-tab_btn p {
  color: #ccc;
}
.p-tab_btn.is-active p,
.p-tab_btn:hover p {
  color: #fff !important;
  transition: all 0.2s ease-out;
}
.p-panel_cnt.is-show {
  display:block;
}
.p-panel_cnt {
  display:none;
}

/*TAB-B*/
#p-lineup02 h3.title_no_item {
  font-size: 28px;
  text-align: center;
  color: #666;
  margin: 0;
}
#p-lineup02 .main_area_inner {
  min-height: 250px;
  position: relative;
}




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

ACCORDION

-----------------------------------------------*/
.accordion ul {
  width:100%;
  padding:0;
}
.accordion li {
  position:relative;
  border-bottom:1px solid rgb(197,118,55);
  list-style:none;
}
.accordion li:first-child {
  border-top:1px solid rgb(197,118,55);
}
.accordion > ul > li > a {
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  width: 96%;
  margin: 0 auto;
  padding: 18px 0;
  background: #fff;
}
.accordion > ul > li > a h4 {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,1);
  padding: 0;
  margin: 0;
  line-height: 1.6875;
  padding-right: 40px;
}
.accordion > ul > li > a h4 span {
  font-size: 14px;
  letter-spacing: .1em;
  color: #999;
  padding-right: 3%;
}
.accordion > ul > li > a h4:hover {
  color: #111;
  text-decoration:none;
}
.accordion > ul > li > .accordion_cnt {
  display: none;
  padding: 0 5em 2.5em 0;
  width: 96%;
  margin: 20px auto 0;
}
.accordion .accordion_cnt_inner {
  width: 88%;
  margin: 0 auto;
  padding: 30px 0;
  background: #fff;
}
.accordion > ul > li > .accordion_cnt p + p {
  margin-top: 20px;
}

/* アイコン */
.accordion_icon,
.accordion_icon span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.accordion_icon {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  right:10px;
}
.accordion_icon span {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: rgb(197,118,55);
}
.accordion_icon span:nth-of-type(1) {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
}
.accordion_icon span:nth-of-type(2) {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}
.accordion_icon.active span:nth-of-type(1) {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.accordion_icon.active span:nth-of-type(2) {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
}

/* 表 */
.accordion_cnt dl {
  justify-content: space-between;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;  
  width: 100%;
}
.accordion_cnt dt, .accordion_cnt dd {
  display: inline-block;
  line-height: 1.6;
  vertical-align: top;
}
.accordion_cnt dt {
  width: 150px;
  margin-top: 20px;
}
.accordion_cnt dl dd {
  margin: 23px 0 0;
  width: calc(100% - 160px);
}
.accordion dl h4 {
  background: rgb(197, 118, 55, 0.4);
  font-weight: normal;
  padding: 3px 15px;
  border-radius: 50px;
  text-align: center;
  display: inline-block;
}
.accordion_cnt dl > dt:first-child {
  margin-top: 0;
}
.accordion_cnt dl > dd:nth-child(2) {
  margin-top: 3px;
}


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

 FOOTER

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

.footer {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 80px;
}
.footer copyright p {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 0 0 40px;
}


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

 RESPONSIVE

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

@media (max-width:780px){
.p-tab_btn {padding: 12px 35px;}
.p-tab_group li + li {margin-left: 10px;}
}

@media (max-width:620px){
.header_navi ul {position: unset;display: unset;justify-content: unset;flex-wrap: unset;}
.header_title {top:18px;left: 6%;}
.header_navi {top: 12px;right: 10px;}
.p-mv,.p-tab_inner {width: 88%;}
.header_navi ul li + li {margin:6px 0 0;}
.header_navi ul li a {font-size:10px;}
ul.p-tab_group {flex-wrap: wrap;display: -webkit-flex;display: flex;-webkit-flex-wrap: wrap;}
ul.p-tab_group li {width: calc((100% - 20px) / 2);display:table;padding: 5px 0;}
ul.p-tab_group li:nth-child(odd) {margin-right:10px;}
ul.p-tab_group li:nth-child(3),ul.p-tab_group li:nth-child(4) {margin-top:10px;}
ul.p-tab_group li + li {margin-left: 0;}
.accordion li h3{font-size: 14px;}
.p-tab_btn p {text-align:center;font-size: 14px;}
p.p-mv_txt {font-size: 12px;text-align: left;}
.p-tab_wrap {padding-top:40px;}
h2.p-mv_title {margin-bottom:30px;font-size: 18px;}
.header_title img {width: 160px;}
.contents_inner {padding-top:50px;}
.p-material_wrap {padding-top: 50px;}
.accordion > ul > li > .accordion_cnt {padding: 0 0 2.5em 0;}
.accordion > ul > li > a, .accordion dl p {font-size:13px;}
.accordion dl h4 {font-size:11.5px;padding: 3px 0;width: 100%;}
.accordion_cnt dt {width:110px;}
.accordion_cnt dl dd {width: calc(100% - 125px);}
}

/* 画面案で足したもの：開閉の動き（jQuery を使わない）と、キーボードで選んだときの枠 */
.accordion > ul > li > .accordion_cnt { overflow: hidden; }
/* 現行は長い商品名が＋の印に重なる。印の分だけ右を空ける（DE の提案） */
.accordion > ul > li > a h3 { padding-right: 44px; }
/* 上部のボタン：言葉の頭にアイコン（パソコン・カート・Instagram）。PC は右上に横並び。
   スマホ（620px 以下）は上部から外し、画面の一番下に3つ並べて、スクロールしても追従させる（2026-10-01 ケイさん）。
   3つを横に並べると「アイコン＋言葉」の横組みは入らないので、スマホではアイコンを言葉の上に置く */
.header_navi ul li a { display: flex; align-items: center; gap: 6px; }
.header_navi .nav_ic { display: block; flex: none; width: 15px; height: 15px; }
@media (max-width:620px){
  .header_navi { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 10; background: #fff; border-top: 1px solid rgba(197,118,55,.4); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .header_navi ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .header_navi ul li + li { margin: 0; }
  .header_navi ul li a { flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 4px 2px; font-size: min(10px, 2.9vw); letter-spacing: 1px; line-height: 1.2; white-space: nowrap; }
  .wrap { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
}
/* 縦のスクロールグラデーション（PC・タブレット・スマホ共通。2026-10-01 ケイさん）。
   まだ下に続きがあるときは画面の下端、上に送った分があるときは画面の上端を、白へ薄く消す。スマホは下の3つのボタンの帯のすぐ上に出す */
.pg-fade-t, .pg-fade-b { position: fixed; left: 0; right: 0; height: 56px; pointer-events: none; z-index: 9; opacity: 0; transition: opacity .2s; }
.pg-fade-t { top: 0; background: linear-gradient(to bottom, #fff, rgba(255,255,255,0)); }
.pg-fade-b { bottom: 0; background: linear-gradient(to top, #fff, rgba(255,255,255,0)); }
.more-t .pg-fade-t, .more-b .pg-fade-b { opacity: 1; }
@media (max-width:620px){
  .pg-fade-b { bottom: calc(61px + env(safe-area-inset-bottom)); }
}
.toggle:focus-visible, .p-tab_btn:focus-visible { outline: 2px solid rgb(197,118,55); outline-offset: 2px; }

/* 確認用の表示（社内だけ）の上の帯。公開ページには出ない */
.mat-preview-bar { background: rgb(197,118,55); color: #fff; font-family: 'Hiragino Sans','Hiragino Kaku Gothic ProN',sans-serif; font-size: 12px; line-height: 1.6; letter-spacing: 1px; text-align: center; padding: 6px 12px; }

