﻿.sm {
  display: none;
}
.md {
  display: block;
}
h1.tax-free {
  padding: 40px 0 20px 0;
  margin-bottom: 0;
  font-size: 24px;
}
.border-red {
  border-bottom: 1px solid #D80A24;
  padding-bottom: 5px;
}
.color-gray {
  color: #959595;
  font-size: 16px;
}
.logo-box {
  text-align: center;
}
.link-lang {
  text-align: right;
  padding: 2rem 0 0;
  word-spacing: 0.5em;
}
ul.tab-list {
  display: flex;
  margin-bottom: 40px;
  margin-top: 5px;
}
ul.tab-list li {
  font-size: 18px;
  background: #646461;
  color: #fff;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 3px 0 #000000;
  transition: .3s;
}
ul.tab-list li:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 #000000;
}
ul.shop-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
ul.shop-list li {
  width: calc(50% - 25px);
  margin-bottom: 20px;
}
ul.tab-list li.selected-tab {
  background-color: #D80A24;
  /* 選択されたタブの背景色 */
  color: white;
  /* 選択されたタブの文字色 */
}
ul.shop-list li h3 {
  align-items: flex-end;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1;
  display: flex;
}
ul.shop-list li h3 span:first-of-type {
  display: block;
  width: 8%;
}
ul.shop-list li h3 span:last-of-type {
  display: block;
  width: 92%;
}
table {
  width: 100%;
}
table,
td,
th {
  border: 1px solid #595959;
}
td:first-of-type {
  width: 30%;
  font-size: 16px;
  padding: 10px;
}
td:last-of-type {
  font-size: 16px;
  padding: 10px;
}
td.map-inner {
  display: flex;
  align-items: center;
  border: none;
  justify-content: space-between;
}
td.map-inner span {
  width: 90%;
}
td.map-inner a {
  display: block;
  text-align: center;
  width: 10%;
  margin: 0 10px;
  background: url(/service/tax-free/images/map.png)no-repeat;
  height: 30px;
  background-position: center;
}
td.map-inner a:hover {
  background: url(/service/tax-free/images/map-hover.png)no-repeat;
  background-position: center;
  transition: all 0.3s;
}
/**************************************共通部分**************************************************/
section {
  margin-bottom: 40px;
}
h2 {
  font-size: 24px;
  margin: 0 0 5px 0;
  padding: 0;
  background: none;
  color: #666666;
}
p {
  font-size: 16px;
  margin: 0;
}
strong {
  /* line-height: 1.7; */
  font-size: 16px;
  font-weight: normal;
  color: #D80A24;
}
strong.bold-black {
  font-weight: bold;
  color: #3d3333;
}
  section#contact .c-btn {
    display: block;
    margin: 2rem auto 0;
  }
/**************************************レスポンシブ**************************************************/
@media (max-width: 767px) {
  .sm {
    display: block;
  }
  .md {
    display: none;
  }
  section {
    margin: 0 auto 40px auto;
    width: 90%;
  }
  ul.tab-list li {
    text-align: center;
    margin: 0 0 15px 0;
    padding: 10px 0px;
    font-size: 16px;
    width: 48%;
  }
  ul.tab-list {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  ul.shop-list {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  ul.shop-list li {
    width: 100%;
  }
  ul.shop-list li h3 {
    font-size: 20px;
    line-height: 1.3;
    align-items: center;
    margin: 0 0 10px 0;
  }
  ul.shop-list li h3 span:first-of-type {
    display: block;
    width: 10%;
    margin-right: 5px;
  }
  ul.shop-list li h3 span:last-of-type {
    display: block;
    width: 90%;
  }
  .Label {
    padding: 1em 3em 1em 1em;
  }
  .Label span {
  flex-shrink: 0; /* flexアイテムとして縮むのを防ぐ */
  white-space: nowrap; 
  }
  h1.tax-free {
    font-size: 24px;
    padding: 20px 0 20px 0;
  }
  h2 {
    font-size: 2.2rem;
  }
  a.btn {
    width: 100%;
  }
  section#contact p {
    text-align: left;
  }
  td:first-of-type {
    width: 35%;
  }
  .toggle:checked+.Label+.content {
    padding: 10px;
  }
  section#contact p.tyui-txt {
    width: 100%;
  }
  .color-gray {
    font-size: 12px;
  }
  .border-red {
    border-bottom: 1px solid #D80A24;
    padding-bottom: 5px;
    display: block;
  }
}
/**************************************一覧ページ用css**************************************************/
/*
ul.top-list{
    margin: 10px 0 0 0;
}

ul.top-list li a{
color:#1558D6;
font-size:16px;
text-decoration: none;
}

ul.top-list li a:hover{
   text-decoration: underline;
}
*/
/************ ボタンリスト ***********/
.top-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
/* liのデフォルト余白対策 */
.top-list li {
  margin: 0;
  padding: 0;
}
/* PC */
@media screen and (min-width: 768px) {
  #wPrimary ul.top-list li a:hover,
  #wPrimary ul.top-list li a:visited,
  .tax-flow__btn:link,
  .faq-nav__btn:link {
    text-decoration: none;
    color: var(--line-main);
  }
  .faq-nav__text {
    color: inherit;
  }
  .top-list .c-btn {
    width: auto;
    min-width: 256px;
  }
}
/* SP */
@media screen and (max-width: 767px) {
  .top-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .top-list .c-btn {
    width: 100%;
    min-width: 320px;
  }
}
/************** 免税フロー **************/
.tax-flow {
  margin: 64px auto;
}
.tax-flow__title {
  margin: 0 0 40px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.tax-flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 160px));
  justify-content: center;
  gap: 1rem;
  max-width: 950px;
  margin: 0 auto 3rem;
  padding: 0;
  list-style: none;
}
.tax-flow__item {
  text-align: center;
}
.tax-flow__step {
  margin: 0 0 14px;
  color: #d91c2b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.tax-flow__icon {
  display: block;
  width: 110px;
  height: auto;
  margin: 0 auto;
}
.tax-flow__label {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 767px) {
  .tax-flow {
    margin: 48px auto;
  }
  .tax-flow__title {
    margin-bottom: 32px;
    font-size: 1.5rem;
  }
  .tax-flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .tax-flow__step {
    margin-bottom: 12px;
    font-size: 1.6rem;
  }
  .tax-flow__icon {
    width: 90px;
    margin-bottom: 14px;
  }
}
/************** FAQアンカー **************/
.faq-nav .c-btn {
  width: fit-content;
}
.faq-nav {
  margin: 40px 0;
}
.faq-nav__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 170px));
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq-nav__item {
  margin: 0;
}
.faq-nav__btn {
  width: 100%;
  min-height: 64px;
  height: auto;
  padding: 14px 16px;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color .2s, border-color .2s;
}
.faq-nav__btn:hover,
.faq-nav__btn:focus-visible {
  background: #f7f7f7;
}
.faq-nav__icon {
  flex-shrink: 0;
  display: block;
  width: 36px;
  height: 36px;
}
.faq-nav__text {
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: center;
}
#tax-free-en .faq-nav__text { /* 英語ページ */
  font-size: 1.4rem;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .faq-nav {
    margin: 2rem auto;
    width: 90%;
  }
  .faq-nav .c-btn {
    width: 100%;
  }
  .faq-nav__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .faq-nav__btn {
    width: 100%;
    min-height: unset;
    padding: 4px 16px!important;
    justify-content: flex-start;
    gap: 12px!important;
    height: unset!important;
  }

#tax-free-en .faq-nav__btn { 
    padding: 8px 16px!important;
  }
#tax-free-en .faq-nav__text {
  font-size: 1.5rem;
}

  .faq-nav__icon {
    flex: 0 0 40px;
  }
  .faq-nav__text {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: left;
  }
}
/************** FAQ **************/
.faq-box {
  margin-top: 24px;
}
/* FAQカテゴリ */
.faq-section {
  margin-top: 56px;
}
/* FAQカテゴリ見出し */
.faq-heading {
  position: relative;
  margin: 0 0 16px;
  padding: 18px 24px 18px 64px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}
/* FAQ共通アイコン */
.faq-heading::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* FAQアイコン切り替え */
.icon-eligibility::before {
  background-image: url("/service/tax-free/images/icon-eligibility_fill.svg");
}
.icon-product::before {
  background-image: url("/service/tax-free/images/icon-product_fill.svg");
}
.icon-flow::before {
  background-image: url("/service/tax-free/images/icon-flow_fill.svg");
}
.icon-stock::before {
  background-image: url("/service/tax-free/images/icon-stock_fill.svg");
}
.icon-return::before {
  background-image: url("/service/tax-free/images/icon-return_fill.svg");
}
/*ベース*/
.toggle {
  display: none;
}
.Label {
  /*タイトル*/
  padding: 1.6rem 3.6rem 1.6rem 1rem;
  display: flex;
  color: #fff;
  background: #003366;
  font-weight: bold;
  cursor: pointer;
}
.Label span {
  margin-right: 8px;
  font-weight: bold;
}
.Label::before {
  /*タイトル横の矢印*/
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  -webkit-transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 10px);
  right: 16px;
  transform: rotate(135deg);
}
.Label,
.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  font-size: 16px;
}
.content {
  /*本文*/
  height: 0;
  margin-bottom: 10px;
  padding: 0 20px;
  overflow: hidden;
}
.content p {
  display: flex;
}
.content p span:first-of-type {
  margin-right: 8px;
  font-weight: bold;
  flex-shrink: 0;
  white-space: nowrap;
}
.toggle:checked+.Label+.content {
  /*開閉時*/
  height: auto;
  padding: 2rem;
  transition: all .3s;
}
.toggle:checked+.Label::before {
  transform: rotate(-45deg) !important;
  top: calc(50% - 5px);
}
section#contact {
  text-align: center;
}
section#contact p {
  text-align: center;
}
section#contact p.tyui-txt {
  display: inline-block;
  margin-top: 10px;
  width: 50%;
  padding: 10px 2.5%;
  text-align: left;
  font-size: 14px;
  background: #f8f8f8;
  border: 1px solid #e5e4e4;
  color: #959595;
}
a.btn {
  display: block;
  background: red;
  color: #fff;
  text-decoration: none;
  width: 55%;
  padding: 20px 0;
  margin: 20px auto 0 auto;
  font-size: 16px;
  background-color: #C40018;
  border-radius: 15px;
  box-shadow: 0 3px 0 #000000;
  transition: .3s;
  font-weight: bold;
}
a.btn:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 #000000;
}

@media (max-width: 767px) {
.faq-heading::before { 
left: 8px;
width: 40px;
height: 40px;
}
.faq-heading { padding: 18px 10px 20px 50px;}

}

/**********************************/
/* 追記 2024/6/17 */
.caution {
  background-color: #eee;
  margin: 16px;
  padding: 16px;
}