@charset "utf-8";

/* --------- common ---------- */

body {
  padding-top: 0 !important;
}

#global-header .gh-inner {
  min-width: 100%;
}

.section-body {
  width: 100%;
  margin: 0 auto;
}

#global-footer .gf-inner {
  width: 100%
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

.green-txt {
  color: #00B050;
}

@media all and (min-width: 769px) {
  body {
    min-width: 1160px;
  }
  
  #global-header {
    height: 140px;
  }
}

@media all and (max-width: 768px) {
  body {
    min-width: 100%;
  }

  #global-header {
    height: 68px;
  }
}

/* --------- content ---------- */

.allergen_container {
  position: relative;
  margin: 0 auto;
}

.allergen_container p:has(>picture),
.allergen_container p:has(>img) {
  font-size: 0;
}

@media all and (min-width: 769px) {
  .allergen_container {
    padding-top: 140px;
  }
}

@media all and (max-width: 768px) {
  .allergen_container {
    padding-top: 68px;
  }
}

/* --------- header ---------- */

.allergen_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  width: 100%;
  font-size: 0;
}

.allergen_header.is-fixed {
  position: fixed;
  z-index: 10;
}

.allergen_header-logo {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}       

@media all and (min-width: 769px) {
  .allergen_header-logo {
    height: 140px;
  }

  #global-header.is-fixed  .allergen_header-logo {
    height: 60px;
  }

  .allergen_header-logo img {
    /*width: 271px;*/
	  width: 7rem;
  }

  #global-header.is-fixed  .allergen_header-logo img {
    /*width: 136px;*/
	  width: 3.1rem;
  }
}

@media all and (max-width: 768px) {
  .allergen_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }

  .allergen_header-logo {
    height: 68px;
  }

  .allergen_header-logo img {
    width: 132px;
  }
}

.allergen_language {
  position: absolute;
}

.allergen_language-btn {
  border: 1px solid #000;
  text-align: center;
}

.allergen_language-list {
  width: 100%;
  border: 1px solid #ccc;
  position: absolute;
  right: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.allergen_language.is-open .allergen_language-list {
  opacity: 1;
  visibility: visible;
}

.allergen_language-list li:not(:first-child) {
  border-top: 1px solid #ccc;
}

.allergen_language-list li button {
  width: 100%;
  padding: 5px 10px;
  background-color: #fff;
  border: none;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
}

.allergen_language-list li:first-child button {
  background-color: #eee;
  color: #999;
}

@media all and (min-width: 769px) {
  .allergen_language {
    right: 40px;
    top: 36px;
  }
  
  .allergen_language-btn {
    width: 154px;
    height: 32px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 30px;
  }
  
  .allergen_language-list li button {
    font-size: 16px;
  }
}

@media all and (max-width: 768px) {
  .allergen_language {
    right: 15px;
    top: 15px;
  }
  
  .allergen_language-btn {
    width: 100px;
    height: 28px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 25px;
  }
  
  .allergen_language-list li button {
    font-size: 11px;
  }
}

/* --------- title ---------- */

.allergen_title {
  background: linear-gradient(to bottom, #ecead9 0%,#ffffff 20%,#ffffff 80%,#ecead9 100%);
  line-height: 1.5;
  text-align: center;
}

@media all and (min-width: 769px) {
  .allergen_title {
    padding: 55px 0;
  }

  .allergen_title h3 {
    font-size: 45px;
    
  }
  
  .allergen_title h2 {
    font-size: 55px;
  }
}

@media all and (max-width: 768px) {
  .allergen_title {
    padding: 20px 0;
  }

  .allergen_title h3 {
    font-size: 18px;
    
  }
  
  .allergen_title h2 {
    font-size: 24px;
  }
}

/* --------- pagenav ---------- */

.allergen_pagenav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin: 0 auto;
	justify-content: center;
}

.allergen_pagenav ul li {
  border-bottom: 1px solid #000;
}

.allergen_pagenav ul li a {
  display: block;
  padding: 5px;
  line-height: 1.5;
  text-align: center;
  color: #000;
}

.allergen_pagenav ul li a span {
  display: inline-block;
}

@media all and (min-width: 769px) {
  .allergen_pagenav ul {
    gap: 40px;
    width: 1160px;
    padding: 60px 0;
  }

  /*.allergen_pagenav ul li {
    width: calc( ( 100% - 40px ) / 2 );
  }*/

  .allergen_pagenav ul li a {
    font-size: 34px;
  }
}

@media all and (max-width: 768px) {
  .allergen_pagenav ul {
    gap: 10px;
    padding: 30px 15px;
  }

  .allergen_pagenav ul li {
    width: calc( ( 100% - 10px ) / 2 );
  }

  .allergen_pagenav ul li a {
    font-size: 15px;
  }
}

@media all and (min-width: 769px) {
  .allergen_inner {
    width: 1160px;
    margin: 0 auto;
    padding: 60px 0;
  }
}

/* --------- table ---------- */

.allergen_mark li {
  padding-left: 1em;
  text-indent: -1em;
}

@media all and (min-width: 769px) {
  .allergen_mark {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-bottom: 40px;
  }

  .allergen_mark li {
    font-size: 20px;
  }
}

@media all and (max-width: 768px) {
  .allergen_mark {
    margin-bottom: 20px;
  }
  
  .allergen_mark li {
    font-size: 14px;
  }
}

.allergen_list {
  background-color: #f5eddd;
}

.allergen_list section {
  position: relative;
}

.allergen_list section::before {
  content: "";
  display: block;
}

.allergen_list_title {
  margin-bottom: 30px;
  text-align: center;
}

.allergen_list_title h3 span {
  display: inline-block;
  border-bottom: 1px solid #000;
}

.allergen_list_table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
}
@media all and (max-width: 768px) {
  .allergen_list_table {
    font-size: 13px;
  }
}

.allergen_list_table th,
.allergen_list_table td{
  position: relative;
}
.allergen_list_table th::before,
.allergen_list_table td::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* border-top: 1px solid #333; */
  border-bottom: 1px solid #333;
  /* border-left: 1px solid #333; */
  border-right: 1px solid #333;
  line-height: 1;
  letter-spacing: 0;
  box-sizing: border-box;
}


.allergen_list_table th {
  text-align: left;
  line-height: 1.2;
  vertical-align: top;
  position: relative;
  top: 0;
  left: 0;
  background: none;
  z-index: 4;
}
@media screen and (max-width: 768px) {
  .allergen_list_table th {
    position: sticky;
  }
}
.allergen_list_table th::before {
  border-top: 1px solid #333;
  background: #fff;
  z-index: -1;

}

.allergen_list_table th span {
  display: block;
  min-width: 1.5em;
  padding: 10px 5px;
  margin: auto;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  vertical-align: middle;
  white-space: nowrap;
}

.allergen_list_table th.hinmei {
  width: 25%;
  text-align: center;
  vertical-align: middle;
  position: relative;
  top: 0;
  left: 0;
  z-index: 5;
}
@media screen and (max-width: 768px) {
  .allergen_list_table th.hinmei {
    position: sticky;
    width: 12%;
  }
}

.allergen_list_table th.hinmei::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-left: 1px solid #333;
  z-index: -1;
  box-sizing: border-box;
}

.allergen_list_table th.hinmei span {
  width: 100%;
  writing-mode: inherit;
}

.allergen_list_table th.kcal span {
  /* width: calc( 2em + 10px ); */
}

.allergen_list_table td {
  padding: 10px 5px;
  background: #fff;
  text-align: center;
  line-height: 1.2;
}

.allergen_list_table tbody tr:nth-child(2n) td{
  background: #f1f1f1;
}

.allergen_list_table td.name {
  text-align: left;
  position: sticky;
  top: 0;
  left: 0;
  background: none;
  border-left: none;
  border-right: none;
  z-index: 1;
}
.allergen_list_table td.name::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
  background: #fff;
  z-index: -1;
  box-sizing: border-box;
}
.allergen_list_table tr:nth-child(2n) td.name::before{
  background: #f1f1f1;
}

@media all and (min-width: 769px) {
  .allergen_list section::before {
    padding-top: 40px;
    margin-top: -40px;
  }

  .allergen_list section:not(:last-of-type) {
    margin-bottom: 70px;
  }
  
  .allergen_list_title h3 {
    font-size: 48px;
  }
}

@media screen and (max-width: 768px) {
  .allergen_list {
    padding: 40px 10px;
  }

  .allergen_list section::before {
    /*padding-top: 30px;
    margin-top: -30px;*/
  }

  .allergen_list section:not(:last-of-type) {
    margin-bottom: 40px;
  }
  
  .allergen_list_title {
    margin-bottom: 20px;
  }
  
  .allergen_list_title h3 {
    font-size: 24px;
  }

  .allergen_list .table-wrap {
    height: 400px;
    margin-right: -10px;
  }

  .allergen_list_table {
    width: 1160px;
  }
}

.allergen_notes {
  margin-top: 30px;
}

.allergen_notes ul li {
  padding-left: 1em;
  text-indent: -1em;
}

@media all and (min-width: 769px) {
  .allergen_notes {
    text-align: center;
  }
  
  .allergen_notes ul {
    display: inline-block;
  }
  
  .allergen_notes ul li {
    font-size: 21px;
    line-height: 39px;
    text-align: left;
  }
}

@media all and (max-width: 768px) {
  .allergen_notes ul li {
    font-size: 14px;
    line-height: 1.75;
  }
}

.allergen_copy {
  text-align: right;
}

@media all and (min-width: 769px) {
  .allergen_copy {
    font-size: 31px;
  }
}

@media all and (max-width: 768px) {
  .allergen_copy {
    font-size: 14px;
  }
}

.scroll-hint-icon {
  /* top: 40px !important; */
  z-index: 10;
}
