@charset "utf-8";
/*--------------------------------------------
  goodsdetail.css
  商品詳細の共通CSS
--------------------------------------------*/

/* 商品タイトルエリア */
.goods_title_area {
  background-color: #f6f6f6;
  padding: 20px;
}
.goods_copy {
  background-color: #fff;
  padding: 15px 20px;
  line-height: 1.4;
}
.goods_copy p {
  font-size: 26px;
  color: #0039a6;
  font-weight: 700;
  margin-bottom: 5px;
}
.goods_copy p.not_tokuho {
  font-size: 13px;
  color: #1c1c1a;
  font-weight: normal;
}
.goods_title {
  font-size: 20px;
  color: #645042;
  font-weight: 700;
  margin: 10px 0 5px;
}
.goods_detail_info_wrap {
  font-size: 14px;
}
.goods_sku_info,
.goods_volume_info {
  display: inline-block;
  margin-right: 15px;
}
.goods_detail_info_wrap span {
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .goods_title_area {
    padding: 10px;
  }
  .goods_copy {
    padding: 10px;
  }
  .goods_copy p {
    font-size: 20px;
  }
}

/* 商品メインエリア（商品写真、カートエリア） */
.goods_main_area {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}
.goods_main_area_left,
.goods_main_area_right {
  width: 50%;
}
.goods_main_area_left {
  padding-right: 30px;
}
.goods_images_thumbnails {
  display: flex;
  flex-wrap: wrap;
  margin: 10px -5px 15px 0;
}
.goods_images_thumb {
  width: 20%;
  padding-right: 5px;
}
.goods_images_thumb .img_wrap {
  cursor: pointer;
  border: 1px solid #C8CCCE;
}
.goods_icon_wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px 15px 0;
}
.goods_icon {
  padding-right: 5px;
  max-width: 92px;
}
.goods_icon img {
  width: 89px;
}
.goods_main_area_right .goods_ex {
  margin-bottom: 20px;
}
.popup_about_post_wrap .popup_link_open {
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .goods_main_area {
    display: block;
    padding: 0 10px;
  }
  .goods_main_area_left, .goods_main_area_right {
    width: 100%;
    padding-right: 0;
  }
  .goods_images {
    position: relative;
    padding-bottom: 40px;
    width: calc(100% + 20px);
    margin: 0 -10px;
  }
  .goods_images .slides {
    background-color: #f6f6f6;
    padding: 0 40px;
    border-top: 1px solid #C8CCCE;
    border-bottom: 1px solid #C8CCCE;
  }
  .goods_images .slides li {
    background-color: #fff;
  }
  .flex-control-nav {
    bottom: 0;
  }
  .flex-control-paging li a {
    width: 12px;
    height: 12px;
    background-color: #C8CCCE;
  }
  .flex-control-paging li a.flex-active {
    background-color: #eb5904;
  }
  .flex-direction-nav a {
    top: 0;
    bottom: 40px;
    margin: auto;
    display: block;
    width: 0;
    height: 0;
    border: 12px solid transparent;
  }
  .flex-direction-nav a.flex-prev {
    border-right: 8px solid #0039a6;
  }
  .flex-direction-nav a.flex-next {
    border-left: 8px solid #0039a6;
  }
  .goods_main_area .goods_ex {
    margin-bottom: 10px;
  }
}

/* 商品メインエリア（カートエリア） */
.cart {
  border: 1px solid #C8CCCE;
  padding: 5px;
}
.cart_wrap .cart:not(:last-child) {
  margin-bottom: 15px;
}
.cart_regular {
  background-color: #fdeedb;
}
.cart_normal {
  background-color: #e3e3e6;
}
.cart_title {
  display: flex;
  align-items: center;
  padding: 8px 5px 12px;
  line-height: 1;
}
.cart_regular .cart_title {
  font-size: 20px;
  color: #eb5904;
}
.cart_normal .cart_title {
  color: #02a13d;
}
.cart_regular .cart_title::before {
  content: "";
  display: block;
  width: 70px;
  height: 20px;
  background: url(../images/goodsdetail/icon/cart_osusume.png) center center no-repeat;
  background-size: contain;
  margin-right: 5px;
}
.cart_title span {
  font-weight: 700;
}
.cart_contents {
  background-color: #fff;
  padding: 10px;
}
.row_price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.cart_contents .price {
  font-size: 26px;
  font-weight: 700;
}
/* 価格改定時の説明文 */
.cart_contents #revisionedGoodsPrice {
	font-size: 13px;
	font-weight: bold;
	color: #d80a2a;
}
.cart_icon_wrap {
  margin-left: 10px;
}
.cart_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 5px;
  width: 85px;
  font-size: 12px;
  line-height: 1;
}
.cart_icon.off_05 img {
  width: 85px;
}
.row_sku {
  display: flex;
  flex-wrap: wrap;
  background-color: #E3E3E6;
  padding: 2px 10px;
  margin-bottom: 15px;
}
.row_sku li {
  margin-right: 20px;
}
.sku input[type="radio"] {
  margin: 0;
}
.sku label {
  font-size: 14px;
}
.row_cartbtn {
  display: flex;
  margin-bottom: 10px;
}
.cart_wrap .select_vol {
  display: flex;
  align-items: flex-end;
}
.cart_wrap .select_vol span,
label.addCount_itemLabel {
  margin-right: 5px;
}
.cart_wrap .select_vol select {
  width: 70px;
}
.addCartItemWrap {
  flex: 1 0 0%;
  margin-left: 15px;
}
.addCartItemWrap .items {
  width: 100%;
}
.cart_wrap .btn_cart,
.cart_wrap input.btn_cart {
  position: relative;
  display: flex;
  min-width: 0;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  flex: 1 0 0%;
  border-radius: 30px;
  transition: 0.1s;
  padding: 5px 20px;
  line-height: 1.5;
}
/* カートアイコン
.cart_wrap .btn_cart::before,
.cart_wrap input.btn_cart::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  background: url(../images/icon_cart.png) no-repeat center center;
  display: block;
  width: 20px;
  height: 20px;
  background-size: contain;
}
*/
.cart_wrap .btn_cart:hover {
  opacity: 0.7;
}
.cart_wrap .cart_regular .btn_cart {
  background-color: #eb5904;
  margin-left: 15px;
}
.cart_wrap .cart_regular .btn_cart a {
    color: #fff;
    text-decoration: none;
}
.cart_wrap .cart_normal .btn_cart {
  background-color: #02a13d;
  width: 100%;
  margin-left: 0;
  white-space: normal;
}
.row_cart_note p {
  font-size: 13px;
}
.cart_contents > div:last-child {
  margin-bottom: 0;
}
.row_banner {
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .row_cartbtn {
    flex-wrap: wrap;
  }
  .cart_wrap .btn_cart {
    flex: 0 1 auto;
    width: 100%;
    margin-left: 0;
    font-size: 22px;
  }
  .cart_wrap .select_vol {
    margin-bottom: 10px;
  }
}

/* まとめ買いバナー */
.matomegai_banner_wrap {
  width: 100%;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .matomegai_banner_wrap img {
    margin: 0 auto;
  }
}

/* 商品説明1：タブコンテンツ切替(ウルトラハレガード) */
.contents_tab_wrap {
  display: flex;
  align-items: stretch;
  margin-top: 50px;
}
.contents_tab {
  flex: 1 0 0%;
  padding: 0 2px;
  border-bottom: 2px solid #0039a6;
}
.contents_tab a {
  display: flex;
  align-items: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 0.9em;
  text-align: center;
  text-decoration: none;
  border: 2px solid #0039a6;
  border-bottom: none;
  background-color: #fff;
  color: #0039a6;
  cursor: pointer;
}
.contents_tab a:not(.open):hover {
  background-color: #0039a6;
  color: #fff;
}
.contents_tab a.open {
  background-color: #0039a6;
  color: #fff;
}
.contents_tab a.open:hover {
  opacity: 1;
}
.contents_tab a p {
  margin: 0 auto;
}
.contents_tab a span {
  margin: 0 auto;
}
.contents_tab a.open span {
  font-weight: bold;
}
.switching_content {
  border: 2px solid #0039a6;
  border-top: none;
}
.switching_content:not(.open) {
  display: none;
}
@media screen and (max-width: 768px) {
  .contents_tab_wrap {
    flex-wrap: wrap;
  }
  .contents_tab {
    width: 50%;
    flex: 0 0 auto;
    border-bottom: none;
    padding-bottom: 4px;
  }
  .contents_tab a {
    padding: 10px 5px;
    flex-wrap: wrap;
    font-size: 0.85em;
    border-bottom: 2px solid #0039a6;
  }
  .contents_tab a span {
    display: inline-block;
    margin: 0;
  }
  .switching_content {
    border: none;
  }
}

/* 特徴 */
.level_h1 {
  margin-top: 50px;
}
.section_title_wrap {
  display: flex;
  line-height: 1.2;
  border-bottom: 1px solid #fff;
}
section:not(.no_accordion) .section_title_wrap {
  position: relative;
  cursor: pointer;
  transition: 0.1s;
}
section:not(.no_accordion) .section_title_wrap:hover {
  opacity: 0.7;
}
section:not(.no_accordion) .section_title_wrap::after {
  content: "";
  position: absolute;
  top: -7px;
  bottom: 0;
  right: 20px;
  margin: auto;
  display: block;
  width: 15px;
  height: 15px;
  border-right: 2px solid #0039a6;
  border-bottom: 2px solid #0039a6;
  transform: rotate(45deg);
  transition: 0.4s ease;
}
section:not(.no_accordion) .section_title_wrap.open::after {
  transform: rotate(-135deg);
  top: 7px;
}
.section_title {
  display: block;
  width: 100%;
  padding: 10px 70px 10px 20px;
  font-size: 20px;
  background-color: #e1f3ff;
}
.section_contents_wrap {
  display: none;
  padding: 20px 20px 30px;
}
section.no_accordion .section_contents_wrap {
  display: block;
}
.section_contents_wrap .headline {
  font-size: 18px;
  color: #645042;
  margin-bottom: 10px;
}
.ex_wrap .obi {
  color: #645042;
  background-color: #f6f3d9;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.section_contents_wrap .ex_list li {
  display: flex;
  align-items: flex-start;
}
.section_contents_wrap .ex_list li::before {
  content: "・";
  margin-right: 3px;
}
@media screen and (max-width: 768px) {
  .section_title {
    padding-right: 60px;
    font-size: 18px;
  }
  .section_contents_wrap {
    padding: 20px 10px;
  }
  .section_contents_wrap .ex_list li {
    margin-bottom: 5px;
  }
  .img_wrap {
    display: block;
    margin: 0 auto;
  }
}

/* 私たちも続けています！ */
.repeater_voices:last-of-type .section_contents_wrap {
  padding-bottom: 0;
}
p.voice {
  max-width: 720px;
  overflow: hidden;
  text-overflow: ellipsis; /* 文が長い時「…」を出す設定。文が720pxに満たない時は「…」が出ないので、必ず720px以上になるように文の長さを調整してください。 */
  white-space: nowrap;
}
p.repeater_name {
  font-size: 14px;
  text-align: right;
  margin-top: 5px;
}
.repeater_voices + p.fs12 {
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .repeater_voices + p.fs12 {
    padding: 0 10px;
  }
}

/* 原材料・栄養成分 */
.nutrition_table_wrap {
  display: flex;
  margin-right: -15px;
}
.nutrition_table {
  flex: 1 0 0%;
  padding-right: 15px;
}
.nutrition_table_wrap table {
  width: 100%;
}
.nutrition_table_wrap table thead th {
  text-align: center;
}
.nutrition_table_wrap table tr:not(.no_table) {
  border: 1px solid #C8CCCE;
}
.nutrition_table_wrap table th,
.nutrition_table_wrap table td {
  width: 50%;
  padding: 4px 15px;
}
.nutrition_table_wrap table tr:not(.no_table) th {
  background-color: #f6f3d9;
}
.about_mbp {
  margin-top: 40px;
  font-size: 14px;
  text-align: right;
}
@media screen and (max-width: 768px) {
  .food_label_section .level_h2 {
    position: relative;
    padding: 15px 10px;
    margin: 0;
    border-top: 1px solid #C8CCCE;
    border-bottom: 1px solid #C8CCCE;
    cursor: pointer;
  }
  .food_label_section .level_h2::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    width: 50px;
    height: 100%;
    background-color: #0039a6;
  }
  .food_label_section .level_h2::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 7px;
    bottom: 0;
    margin: auto;
    display: block;
    width: 15px;
    height: 15px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-135deg);
    transition: 0.4s ease;
  }
  .food_label_section .level_h2.open::after {
    transform: rotate(45deg);
    top: -7px;
  }
  .food_label_section .items {
    padding: 15px 10px;
  }
  .nutrition_table_wrap {
    margin-right: 0;
  }
  .nutrition_table_wrap table {
    margin-right: 0;
  }
  .nutrition_table {
    padding-right: 0;
  }
  .about_mbp {
    text-align: left;
    padding-left: 10px;
    margin-top: 10px;
  }
}
