:root {
  --color-main: #164A84;
  --color-sub: #89A9CD;
  --bg-main: #E8EDF3;
  --font-main: #2b2b2b;
  --btn-main: #164A84;
  --btn-hover: #587DA7;
  --border-main: #CFD9E5;
  --color-red: #C9171E;
}

/* ヘッダー上部 */
.header-upper {
  display: none;
}

@media screen and (min-width:768px) {
  .header-upper {
    display: block;
    background-color: var(--bg-main);
  }
}

.header-upper__inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 5px 0;
}

.header-upper ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 40px;
}

.header-upper ul li a {
  position: relative;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  color: var(--color-main);
  padding-left: 20px;
}

.header-upper ul li a:not(.external)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 40%;
  width: 5px;
  height: 5px;
  border: 0px;
  border-top: solid 2px var(--color-main);
  border-right: solid 2px var(--color-main);
  transform: rotate(45deg) translateY(-50%);
}

.header-upper ul li a.external::before {
  content: '\f08e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  position: absolute;
  left: 0;
  top: 0;
}

/* ナビゲーションメニュー */
.header-nav {
  background-color: var(--color-main);
}

.menu-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 20px;
}

@media screen and (min-width:768px) {
  .menu-list {
    gap: 40px;
    padding: 0;
  }
}

@media screen and (min-width:1025px) {
  .menu-list {
    justify-content: center;
    gap: 80px;
  }
}

.menu-item {
  position: relative;
}

.menu-item:hover .drop-menu-list {
  opacity: 1;
  transition: opacity .3s, visibility .3s;
  visibility: visible;
}

.menu-item a {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-decoration: none;
  align-items: center;
  color: white;
  display: flex;
  height: 60px;
  justify-content: center;
  text-align: center;
}

@media screen and (min-width:768px) {
  .menu-list a {
    font-size: 15px;
  }

  .menu-item a br {
    display: none;
  }
}

.drop-menu-list {
  padding: 0;
  list-style: none;
  background-color: var(--color-sub);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  position: absolute;
  top: 100%;
  transition: opacity .3s, visibility .3s;
  visibility: hidden;
  width: max-content;
  z-index: 1;
}

.drop-menu-item a {
  padding: 0 30px;
  height: 50px;
  border-bottom: 1px solid white;
}

.drop-menu-item:last-of-type a {
  border-bottom: none;
}

/* スマホ用検索 */
.header-search__sp {
  background-color: var(--bg-main);
  padding: 20px;
}

.header-search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cccccc;
  border-radius: 23px;
  background-color: white;
}

.header-search-form input {
  width: calc(100% - 50px);
  height: 45px;
  padding: 5px 15px;
  border: none;
  box-sizing: border-box;
  font-size: 1em;
  outline: none;
}

.header-search-form input::placeholder{
  color: #B6B6B6;
}

.header-search-form button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 45px;
  border: none;
  background-color: white;
  cursor: pointer;
}
.header-search-form button i {
  font-size: 20px;
}

@media screen and (min-width:1025px) {
  .header-search__sp {
    display: none;
  }
}

/* フッター */
.footer {
  background-color: var(--btn-main);
  color: white;
  padding: 60px 20px 80px;
}

.footer__inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width:1025px) {
  .footer {
    padding: 60px 0;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    vertical-align: bottom;
  }
}

.footer__name {
  text-align: center;
  margin: 0;
}

.footer__name a {
  font-size: 22px;
  color: white;
  text-decoration: none;
}

.footer__address {
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
  margin: 20px 0 40px;
}

@media screen and (min-width:1025px) {
  .footer__name {
    font-size: 28px;
    text-align: left
  }

  .footer__address {
    font-size: 13px;
    text-align: left;
    margin: 20px 0  0;
  }
}

.footer__navi {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.footer__navi li {
  text-align: center;
  margin: 0 0 20px;
}

.footer__navi li:last-of-type {
  margin: 0;
}

.footer__navi li a {
  font-size: 13px;
  color: white;
  text-decoration: none;
}

@media screen and (min-width:1025px) {
  .footer__navi {
    flex-direction: row;
  }

  .footer__navi li {
    position: relative;
    padding-right: 1em;
    margin-right: 1em;
  }

  .footer__navi li:last-of-type {
    padding-right: 0;
    margin-right: 0;
  }

    .footer__navi li:last-of-type::after {
    display: none;
  }

  .footer__navi li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background-color: white;
  }
}

.footer__copyright {
  font-size: 11px;
  text-align: center;
  margin: 40px 0 0;
}

@media screen and (min-width:1025px) {
  .footer__copyright {
    font-size: 12px;
    text-align: right;
  }
}


/* トップページ */
.top-section {
  max-width: 860px;
  padding: 20px 20px;
  margin: 0 0 40px;
}

@media screen and (min-width:1025px) {
  .top-section {
    padding: 0;
    margin: 0 0 80px;
  }
}

.top-heading h2 {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.top-heading h2::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-image: url(../img/common/accent.png);
  background-size: 36px 18px;
  width: 36px;
  height: 18px;
}

@media screen and (min-width:1025px) {
  .top-heading h2 {
    font-size: 24px;
  }

  .top-heading h2::after {
    background-size: 42px 21px;
    width: 42px;
    height: 21px;
  }
}

.top-heading h3 {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.top-heading h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-sub);
}

@media screen and (min-width:1025px) {
  .top-heading h3 {
    font-size: 24px;
  }

  .top-heading h3::after {
    width: 40px;
  }
}

/* スライダー設定 */
.top-slider {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto 40px;
}

@media screen and (min-width:1025px) {
  .top-slider {
    margin: 30px auto 60px;
  }
}

.slick-slide img {
  width: 100%;
}

.slick-dots {
  position: absolute;
  bottom: -45px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:before {
  content: " ";
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  text-align: center;
  opacity: .25;
  background-color: black;
  border-radius: 50%;
}

.slick-dots li.slick-active button:before {
  opacity: .75;
  background-color: black;
}

.slick-dots li button.thumbnail img {
  width: 0;
  height: 0;
}

.slick-list {
  margin: 0 -10px;
}

.slick-slide {
  margin: 0 10px;
}

@media screen and (min-width:1025px) {
  .slick-list {
    margin: 0 -15px;
  }

  .slick-slide {
    margin: 0 15px;
  }
}

.main_slide .slick-list {
  margin: 0;
}

.main_slide .slick-slide {
  margin: 0;
}

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--btn-main);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: rgba(255,255,255,0.9);
  z-index: 10;
}

.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
  background-color: white;
}

.slick-prev {
  left: -8px;
}

.slick-next {
  right: -8px;
}

@media screen and (min-width:1025px) {
  .slick-prev {
    left: -20px;
  }

  .slick-next {
    right: -20px;
  }
}

.slick-prev::before,
.slick-next::before {
  content: '';
  position: absolute;
  top: 13px;
  display: block;
  width: 10px; 
  height: 10px;
  border-top: 2px solid var(--btn-main);
  border-right: 2px solid var(--btn-main);
}

.slick-prev::before {
  transform: rotate(225deg);
  left: 15px;
}

.slick-next::before {
  transform: rotate(45deg);
  left: 10px;
}

/* 商品リスト */
.list-recommend {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
}

@media screen and (min-width:768px) {
  .list-recommend {
    flex-direction: row;
    gap: 30px;
    padding: 0;
  }
}

.card-item a {
  position: relative;
  color: var(--font-color);
  text-decoration: none;
}

.card-item a img {
  width: 100%;
}

.card-item__title {
  font-size: 14px;
  margin: 10px 0;
}

.card-item__price {
  font-weight: bold;
  font-size: 14px;
}

.card-item a img.ranking {
  position: absolute;
  left: 10px;
  top: -6px;
  width: 30px;
  z-index: 10;
}

@media screen and (min-width:1025px) {
  .card-item a img.ranking {
    top: -8px;
    width: 40px;
  }
}

/* ランキング */
.tab-ranking {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tab-ranking > label {
  order: -1;
  padding: .6em 1em;
  border: 1px solid var(--border-main);
  background-color: white;
  color: var(--font-color);
  font-size: .9em;
  text-align: center;
  cursor: pointer;
}

.tab-ranking > label:hover {
  background-color: var(--bg-main);
}

.tab-ranking input {
    display: none;
}

.tab-ranking > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.tab-ranking label:has(:checked) {
  background-color: var(--btn-main);
  color: #fff;
  border-color: var(--btn-main);
}

.tab-ranking label:has(:checked) + div {
    display: block;
}

@media screen and (min-width:1025px) {
  .top-ranking .card-item {
    padding-top: 6px;
  }
}

.top-ranking .card-item {
  padding-top: 8px;
}

/* カテゴリー */
.list-category {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.list-category li {
  width: calc(50% - 10px);
}

.list-category li a {
  color: var(--font-color);
  text-decoration: none;
}

.list-category li a img {
  width: 100%;
}

.list-category li p {
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  margin: 10px 0 0;
}

@media screen and (min-width:768px) {
  .list-category li {
    width: calc(25% - 15px);
  }
}

/* トップページ 市について */
.top-about {
  background-color: var(--bg-main);
  padding: 30px 20px 40px;
}

.top-about p {
  line-height: 1.8;
  margin: 0 0 20px;
}

.top-about img {
  width: 100%;
}

@media screen and (min-width:1025px) {
  .top-about {
    padding: 40px;
  }

  .top-about p {
    width: 80%;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 2.0;
  }
}

/* 事業 */
.list-project {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-project li {
  padding: 0 20px;
}

.list-project li img {
  width: 100%;
}

.list-project li a {
  text-decoration: none;
  color: var(--font-color);
}

.list-project li p {
  font-weight: bold;
  text-align: center;
  margin: 10px 0 0;
  font-size: 14px;
}

@media screen and (min-width:768px) {
  .list-project {
    flex-direction: row;
    gap: 30px;
  }

  .list-project li {
    padding: 0;
  }
}

/* サイド */
.side-box {
  background-color: var(--bg-main);
  width: 240px;
  padding: 30px 20px;
  margin-bottom: 20px;
}

.side-box p {
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 20px;
}

.gmenu__nav,
.gmenu__nav2 {
  font-size: 13px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gmenu__nav li a {
  display: block;
  padding: 16px 0;
  color: var(--font-main);
  text-decoration: none;
  position: relative;
  border-top: 1px solid var(--border-main);
  font-weight: bold;
}

.gmenu__nav li a::before {
  content: "";
  position: absolute;
  top: 50%;
  transition: 0.2s ease-in;
  right: 10px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--btn-main);
  border-top: 1px solid var(--btn-main);
  transform: translateY(-50%) rotate(45deg);
}

.gmenu__nav dl {
  margin-bottom: 0;
}

.gmenu__nav dl dt {
  padding: 16px 20px 16px 0;
  margin: 0;
  border-top: 1px solid var(--border-main);
}

.gmenu__nav dl dd {
  margin: 0;
}

.gmenu__nav dl dt a {
  display: block;
}
.gmenu__nav .subpage {
  position: relative;
  color: var(--font-main);
}
.gmenu__nav .subpage.open:after {
  height: 0;
  transition: 0.2s ease-in;
}
.gmenu__nav .subpage::before,
.gmenu__nav .subpage::after {
  content: "";
  position: absolute;
  background-color: var(--btn-main);
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s ease-in;
}
.gmenu__nav .subpage::before {
  right: 6px;
  width: 13px;
  height: 1px;
}
.gmenu__nav .subpage::after {
  right: 12px;
  width: 1px;
  height: 13px;
}

.gmenu__nav2 li a {
  padding: 16px 20px;
  color: var(--font-main);
}

/* サイド - 検索 */
.side-search {
  width: 240px;
  margin-bottom: 20px;
}

.side-search p {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.side-search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border-radius: 3px;
  background-color: var(--bg-main);
}

.side-search-form input {
  background-color: var(--bg-main);
  height: 50px;
  padding: 5px 15px;
  border: none;
  box-sizing: border-box;
  font-size: 1em;
  outline: none;
}

.side-search-form input::placeholder{
  color: #B6B6B6;
  font-size: 14px;
}

.side-search-form button {
  background-color: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
}

.side-search-form button i {
  color: var(--font-color);
  font-size: 20px;
}

/* サイド - ポイントから探す */
.search-point {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-point li {
  display: block;
  padding: 16px 0;
  color: var(--font-main);
  text-decoration: none;
  position: relative;
  border-top: 1px solid var(--border-main);
  font-size: 13px;
}

.search-point li input[type=checkbox] {
  margin-right: 8px;
}

.btn-search {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  font-size: 13px;
  background-color: var(--color-main);
  color: white;
  padding: 12px 0;
  margin-top: 20px;
  border-radius: 22px;
  transition: .3s ease-in-out;
}

.btn-search:hover {
  background-color: var(--btn-hover);
  transition: .3s ease-in-out;
}

/* 個別ページ共通 */
.page-container {
  padding: 0 20px;
}

.page-container h3,
.page-container h4,
.page-container h5 {
  font-weight: bold;
}

.page-container p {
  margin: 1em 0;
}

.page-container p,
.page-container li {
  font-size: 15px;
  line-height: 1.8;
}

@media screen and (min-width:768px) {
  .page-container {
    padding: 0 40px;
  }

  .page-container p,
  .page-container li {
    font-size: 16px;
  }
}

@media screen and (min-width:1025px) {
  .page-container {
    padding: 0;
  }
}

/* ふるさと納税とは */
.about-main {
  margin-bottom: 60px;
}

@media screen and (min-width:1025px) {
  .about-main {
    margin-bottom: 100px;
  }
}

.about-graph {
  text-align: center;
  margin: 40px 0;
}

.about-graph img {
  width: 100%;
  margin-bottom: 20px;
}

@media screen and (min-width:768px) {
  .about-graph img {
    width: 60%;
  }
}

@media screen and (min-width:1025px) {
  .about-graph {
    margin: 60px 0;
  }

  .about-graph img {
    width: 500px;
  }
}

.about-btn {
  display: block;
  background-color: var(--btn-main);
  color: white;
  text-decoration: none;
  width: 100%;
  height: 60px;
  line-height: 60px;
  margin: 40px auto;
  text-align: center;
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: .06em;
  transition: .3s ease-in-out;
  font-size: 15px;
}

.about-btn:hover {
  background-color: var(--btn-hover);
  transition: .3s ease-in-out;
}

.about-btn span {
    font-size: 12px;
  }

@media screen and (min-width:768px) {
  .about-btn {
    height: 80px;
    line-height: 80px;
    width: 80%;
    font-size: 18px;
    border-radius: 40px;
  }

  .about-btn span {
    font-size: 14px;
  }

  .about-btn i {
    margin-left: 20px;
  }
}

/* ふるさと納税のメリット */
.merit-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.merit-box {
  position: relative;
  border: 2px solid var(--color-main);
  padding: 30px 20px 20px;
  margin: 20px 0 0;
  border-radius: 20px;
}

.merit-box h4 {
  position: relative;
  text-align: center;
  margin: 10px 0 20px;
  padding: 0 0 40px;
  color: var(--color-main);
  font-size: 18px;
}

.merit-box h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-sub);
  height: 20px;
  width: 2px;
  border-radius: 2px;
}

.merit-box p.number {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -20px;
  display: inline;
  color: white;
  background-color: var(--color-main);
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  font-weight: bold;
}

@media screen and (min-width:768px) {
  .merit-box {
    padding: 30px 40px 20px;
  }
}

@media screen and (min-width:1025px) {
  .merit-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }

  .merit-box {
    width: calc(50% - 42px);
    padding: 40px 30px 30px;
  }

  .merit-box h4 {
    font-size: 20px;
  }

  .merit-box p.number {
    font-size: 20px;
    top: -25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
  }
}

/* 控除を受けるためには */
.deduction-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.deduction-left {
  border: 2px solid var(--color-main);
  border-radius: 10px;
}

.deduction-right {
  border: 2px solid var(--color-sub);
  border-radius: 10px;
}

.deduction-left h3,
.deduction-right h3 {
  margin: 0;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px 8px 0 0;
}

.deduction-left h3 {
  background-color: var(--color-main);
}

.deduction-right h3 {
  background-color: var(--color-sub);
}

.deduction-left hr,
.deduction-right hr {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px dashed var(--color-sub);
  margin: 30px 0;

}

.deduction-inner {
  padding: 20px;
}

.deduction-inner h4 {
  font-size: 16px;
  margin: 10px 0 10px;
}

.deduction-inner h5 {
  font-size: 15px;
}

.deduction-inner ul li span {
  color: #c1202a;
  font-weight: bold;
}

.deduction-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deduction-inner ul li {
  position: relative;
  padding-left: .8em;
}

.deduction-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  background-color: var(--color-sub);
  width: 6px;
  height: 6px;
  border-radius: 3px;
}

.deduction-inner img {
  width: 100%;
}

@media screen and (min-width:1025px) {
  .deduction-wrap {
    justify-content: space-between;
  }

  .deduction-left h3,
  .deduction-right h3 {
    padding: 15px;
    font-size: 18px;
  }

  .deduction-inner h4 {
    font-size: 17px;
  }

  .deduction-inner h5 {
    font-size: 16px;
  }

  .deduction-inner {
    padding: 30px;
  }
}

.btn-mypg {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: var(--btn-main);
  padding: 20px 40px;
  font-weight: bold;
  border-radius: 30px;
  transition: .3s ease-in-out;
  font-size: 14px;
}

.btn-mypg:hover {
  background-color: var(--btn-hover);
  transition: .3s ease-in-out;
}

.btn-mypg i {
  margin-left: 20px;
}

/* 寄附金の使い道 */
.usage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.usage-list li {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--border-main);
  padding: 30px 0;
}

.usage-list li h4 {
  margin: 0 0 10px;
}

.usage-list li p {
  margin: 0;
}

@media screen and (min-width:768px) {
  .usage-list li {
    flex-direction: row;
    padding: 40px 0;
    gap: 40px;
  }

  .usage-thumbnail {
    width: 230px;
  }

  .usage-text {
    flex: 1;
  }
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-main);
}

.usage-table th {
  background-color: var(--bg-main);
  padding: 20px;
  text-align: left;
}

.usage-table td {
  border-bottom: 1px solid var(--border-main);
  padding: 15px 20px;
}

/* 見出し */
.page-heading h3 {
  position: relative;
  font-size: 17px;
  font-weight: bold;
  margin: 60px 0 30px;
  padding: 6px 15px 6px 20px;
}

.page-heading h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  height: 100%;
  background-color: var(--color-sub);
}

@media screen and (min-width:1025px) {
  .page-heading h3 {
    font-size: 20px;
  }
}


/* EC-CUBE修正 */
.ec-headerNavSP {
  background-color: var(--bg-main);
}

.ec-headerSearch {
  background-color: var(--bg-main);
}

@media screen and (min-width: 768px) {
  .ec-headerSearch {
    background-color: transparent;
  }
}

.ec-headerTitle .ec-headerTitle__title a span {
  font-size: 15px;
  margin-left: 10px;
}

@media screen and (min-width: 768px) {
  .ec-headerTitle .ec-headerTitle__title a {
    font-size: 30px;
  }

  .ec-headerTitle .ec-headerTitle__title a span {
    font-size: 18px;
  }
}

@media screen and (min-width: 1025px) {
  .ec-headerTitle .ec-headerTitle__title a {
    font-size: 34px;
  }

  .ec-headerTitle .ec-headerTitle__title a span {
    font-size: 20px;
  }
}


.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
  background-color: var(--color-main);
}

.ec-drawerRole,
.ec-drawerRole .ec-headerLinkArea {
  background-color: var(--color-main);
}

.ec-layoutRole__contents {
  padding: 20px 0 60px;
}

@media screen and (min-width:1025px) {
  .ec-role {
    padding: 0;
  }

  .ec-layoutRole__contents {
    padding: 40px 0 100px;
  }

  .ec-newsRole__news {
    border: 16px solid var(--bg-main)!important;
  }
}

.ec-productRole .ec-productRole__price {
  color: var(--color-red);
}

.ec-blockBtn--action {
  background-color: var(--color-red);
  border-color: var(--color-red);
}

.ec-productRole__description table {
  table-layout: fixed;
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  border: 0;
  margin-top: 20px;
}

.ec-productRole__description table th,
.ec-productRole__description table td {
  display: block;
  width: 100%;
  padding: 10px 15px;
  text-align: left;
  border-bottom: 2px solid white;
}

.ec-productRole__description table th {
  background-color: #CFD9E5;
}

.ec-productRole__description table td {
  background-color: var(--bg-main);
}

@media screen and (min-width: 768px) {
  .ec-productRole__description table th,
  .ec-productRole__description table td {
    display: table-cell;
  }

  .ec-productRole__description table th {
    width: 150px;
    border-right: 2px solid white;
    vertical-align: top;
  }
}

.ec-pageHeader h1 {
  margin: 0 0 20px;
  border-bottom: 1px dotted var(--color-sub);
  border-top: 2px solid var(--color-sub);
  padding: 14px 0 14px;
  font-weight: bold;
  font-size: 17px;
}

@media screen and (min-width: 768px) {
  .ec-pageHeader h1 {
    margin: 0 0 40px;
    font-size: 22px;
    padding: 20px 0 20px;
  }
}


.ec-layoutRole .ec-layoutRole__left {
  display: none;
}

@media screen and (min-width: 768px) {
  .ec-layoutRole .ec-layoutRole__mainWithColumn {
    width: 100%;
  }
}

@media screen and (min-width:1025px) {
  .ec-layoutRole .ec-layoutRole__left {
    display: block;
  }

  .ec-layoutRole .ec-layoutRole__mainWithColumn {
    width: 75%;
  }
}

.btn-confirm {
  background-color: var(--btn-main);
  border-color: var(--btn-main);
}


@media screen and (min-width: 768px) {
  .ec-shelfGrid .ec-shelfGrid__item {
    width: 33.33%;
  }
}

.ec-shelfGrid__item .btn-area {
  text-align: center;
  margin-top: 20px;
}

.ec-shelfGrid__item .price02-default {
  font-weight: bold;
  margin-top: 5px;
}

.btn-detail {
  position: relative;
  display: inline-block;
  padding: 0 3em;
  background-color: var(--btn-main);
  color: white;
  text-decoration: none;
  text-align: left;
  transition: .2s ease-in-out;
  position: relative;
  font-size: 13px;
  border-radius: 22px;
  height: 44px;
  line-height: 44px;
  font-weight: bold;
  letter-spacing: .08em;
}

@media screen and (min-width: 768px) {
  .btn-detail {
    width: auto;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
  }
}

.btn-detail:visited,
.btn-detail:active {
  color: white;
}

.btn-detail:hover {
  background-color: var(--btn-main);
  color: white;
  opacity: .8;
}

.ec-productRole__description-title {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid #ccc;
  font-weight: 700;
}

.ec-productRole__description-data {
  margin-bottom: 20px;
}