:root {
    --main: #140a3c;
    --white: #fff;
    --link: #0096ff;
    --red: #e60014;
    --blue: #001eff;
    --black: #3c3c3c;
}

html body {
  position: relative;
  color: var(--main);
  text-rendering: optimizeLegibility;
  font-family: "Noto Sans JP", serif;
  font-feature-settings: "palt";
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  line-height: 1.8;
  font-size: clamp(14px, 2.4vw, 18px);
  background-image: url(../img/bg_concrete.webp);
  background-size: 100%;
  background-position: center top;
  background-size: min(1200px, 100%);
}

a,
a:visited,
a:active {
  color: var(--link);
  text-decoration: underline;
}
a:hover {
  color: var(--link);;
}
img {
  width: 100%;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}
p span {
  display: inline-block;
}

header {
  position: relative;
  padding: 1em 0 .5em;
}
header a {
  display: block;
  width: 40%;
  max-width: 250px;
  margin: 0 auto;
}

section {
  max-width: 1200px;
  margin: 0 auto;
}
section.contents {
  padding: 0 2em;
  margin: 2em auto;
}

#fv {
  text-align: center;
}
#fv h1 picture {
  display: block;
}
#fv p {
  font-weight: 700;
  margin: .5em;
}

.h2-wrap {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--main);
  margin: 1em 0;
}
.h2-wrap h2{
  font-size: 1.6em;
  font-weight: 800;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
}
.h2-wrap h2 span{
  display: block;
  font-size: 1rem;
  width: 100%;
}
br.sp-br {
  display: none;
}
a.x-link {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--main);
  color: var(--white);
  padding: .6em 3em .6em 1.4em;
  border-radius: 4px;
  line-height: 1.4;
  text-decoration: none;
}
a.x-link>div {
  display: flex;
}
a.x-link>div p{
  font-size: .8em;
  display: flex;
  align-items: center;
  border-right: 2px dashed #fff;
  padding: 0 1rem;
  white-space: nowrap;
}
a.x-link svg{
  width: 1.6em;
}
a.x-link svg path{
  fill: var(--white);
}
a.x-link::before {
  content: '';
  background: url(../img/arrow_right_white.png) no-repeat;
  background-size: contain;
  width: 1.2em;
  height: 1.2em;
  position: absolute;
  right: .9em;
}
@media (hover: hover) {
  a.x-link:hover {
    text-decoration: underline;
  }
  a.x-link:hover::before {
    transform: translateX(2px);
  }
}
@media screen and (max-width: 600px) {
  .h2-wrap {
    flex-wrap: wrap;
  }
  a.x-link {
    width: 100%;
    margin: .8em 0 0;
    padding: 1em 3em 1em 1.4em;
  }
  a.x-link>div,a.x-link>div p{
    width: 100%;
  }
  a.x-link>div p {
    font-size: .9em;
  }
  a.x-link svg {
      width: 2em;
  }
  br.sp-br {
    display: block;
  }
}

.title_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1em;
  margin: 0 0 3em;
}
.title_list li {
  position: relative;
  border: 1px solid var(--main);
  cursor: pointer;
}
p.tokuten-coming {
  text-align: center;
  background: #e6e6eb;
  margin: 0 auto;
  max-width: 500px;
}
.tokuten-icon::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -.5rem;
  width: 40%;
  height: 150px;
  background: url(../img/tokuten-icon.png) no-repeat;
  background-size: contain;
  background-position: bottom;
  z-index: 1;
}
.tokuten-icon2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -.5rem;
  width: 40%;
  height: 150px;
  background: url(../img/tokuten-icon2.png) no-repeat;
  background-size: contain;
  background-position: bottom;
  z-index: 1;
}
@media (hover: hover) {
  .title_list li:hover:not(.coming) {
    box-shadow: 0 0 0 3px var(--main);
    border-color: var(--white);
  }
}
.title_img {
  position: relative;
}
.title_img.no_img {
  background: var(--white);
}
.title_img.no_img span{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  font-weight: 800;
  font-size: 1.2em;
  text-align: center;
  line-height: 1.4;
}
@media screen and (max-width: 1200px) {
  .title_img.no_img span,.coming span{
    font-size: 1.8vw;
  }
}
@media screen and (max-width: 1000px) {
  .title_img.no_img span,.coming span{
    font-size: 2.3vw;
  }
}
@media screen and (max-width: 600px) {
  .title_img.no_img span,.coming span{
    font-size: 3.8vw;
  }
}
.title_list li.coming {
  cursor: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(20, 10, 60, .7);
  border: none;
  color: var(--white);
  text-align: center;
  font-size: 1.2em;
  text-shadow: 0 0 4px #000, 0 0 4px #000;
  font-weight: 800;
}
@media screen and (max-width: 600px) {
  .title_list li.coming.min600 {
    aspect-ratio: 17 / 27;
  }
}


.goods-show {
    position: relative;
    background: var(--main);
    color: var(--white);
    padding: 0.2em 1.7em 0.35em;
    text-align: right;
    font-size: 1em;
    font-weight: 700;
}
.goods-show::before {
    position: absolute;
    content: '';
    display: block;
    right: .5em;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1em;
    height: 1em;
    background: url(../img/arrow_right_white.png) no-repeat;
    background-size: contain;
}



.modal {
  display: block;
}
.modal[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.modal__container {
  position: relative;
  background-color: var(--white);
  padding: 0;
  max-width: 1200px;
  max-height: 100dvh;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 8px;
  border: 2px solid var(--main);
  overflow-y: auto;
  box-sizing: border-box;
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: visible;
} 
.modal[aria-hidden="false"] .modal__container {
  transform: translateY(0);
  opacity: 1;
}
.modal__content {
  max-height: 100%;
  overflow-y: auto;
  padding: 1em;
}

h3.modal__ttl {
  margin: 1rem 0;
  border-bottom: 2px solid var(--main);
  border-left: 8px solid var(--main);
  font-size: 1.2em;
  font-weight: 700;
  padding: 0 .4em;
} 
.modal__close--icon {
  position: absolute;
  top: .4em;
  right: .4em;
  font-weight: 900;
  font-size: 1.8em;
  line-height: 1;
  background: var(--red);
  color: var(--white);
  border-radius: 8px;
  border: 2px solid var(--main);
  padding: .2em;
  z-index: 999;
}
.modal__close {
  display: block;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  max-width: 500px;
  width: 90%;
  text-align: center;
  margin: 1rem auto;
  border-radius: 8px;
  font-size: 1.2em;
  padding: .3em;
  letter-spacing: 3px;
  border: 2px solid var(--main);
}  
.tokuten-wrap {
  margin: 0 0 2rem;
}
#modal-5 .tokuten-wrap {
  margin: 0;
}
a.tokuten-online {
  position: relative;
  display: block;
  color: var(--white);
  background: var(--main);
  text-decoration: none;
  text-align: center;
  margin: 1rem auto 2rem;
  font-size: 1.2em;
  font-weight: 700;
  padding: .5em;
  border-radius: 100px;
  letter-spacing: 2px;
  max-width: 500px;
}
a.tokuten-online::before {
  content: '';
  background: url(../img/arrow_right_white.png) no-repeat;
  background-size: contain;
  width: 1.2em;
  height: 1.2em;
  position: absolute;
  right: .9em;
  top: 0;
  bottom: 0;
  margin: auto;
}
a.tokuten-online:hover {
  background: #5f5298;
}

.goods_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: .5em;
  margin: 0 0 2em;
}
.goods_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: .5em;
  padding: 0 0 .5em;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}
.goods_item a {
  display: block;
  position: relative;
  padding-bottom: 100%;
}
.goods_item a img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.goods_item>div {
  padding: 0 .5rem;
}
.cat {
  font-size: .7em;
  font-weight: 500;
}
.cat span.new{
  color: var(--red);
  border: 1px solid var(--red);
  background: var(--white);
  padding: 0 .2em;
  margin-right: .4em;
}
.cat span.senko{
  color: var(--white);
  border: 1px solid var(--blue);
  background: var(--blue);
  padding: 0 .2em;
}
.cat span.gentei{
  color: var(--white);
  border: 1px solid var(--red);
  background: var(--red);
  padding: 0 .2em;
}
.name {
  color: #736e7d;
  font-size: .8em;
  font-weight: 500;
}
.size {
  color: #736e7d;
  padding: 0;
  font-size: .7em;
  font-weight: 500;
}
.size span {
  border: 1px solid #ccc;
  padding: 0 5px;
  margin-right: 4px;
}
.price {
  text-align: right;
  margin-top: auto;
  font-weight: 700;
}
.price span{
  font-size: 70%;
}

@media screen and (max-width: 1000px) {
  .title_list {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .goods_list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (max-width: 600px) {
  section.contents {
      padding: 0 1em;
  }
  .title_list {
    grid-template-columns: 1fr 1fr;
    gap: .5em;
  }
  .goods_list {
    grid-template-columns: 1fr 1fr;
  }
}


.sns-wrap {
  margin: 2em 0;
}
.sns-wrap p{
  text-align: center;
  margin: 0;
  font-weight: 700;
}
.sns {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 0 2em;
    font-weight: normal;
    height: 60px;
}
.sns li {
    list-style: none;
    margin: 5px;
    color: #ffffff;
}
.sns li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #150c3b;
    padding: 8px;
    border-radius: 4px;
}
#t-icon a {
    padding: 10px;
}
#t-icon path {
    fill: #000;
}
#f-icon path {
    fill: #1877f2;
}
#l-icon path {
    fill: #00B900;
}

.wrap {
  background: var(--white);
  padding: 1em 2em;
  border-radius: 4px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
}
@media screen and (max-width: 600px) {
  .wrap {
    padding: 1em;
  }
}
#about h2 {
  position: relative;
  margin: 2rem 0 1rem;
  background: var(--main);
  color: var(--white);
  font-size: 1.2em;
  font-weight: 700;
  border-radius: 2px;
  text-align: center;
  overflow: hidden;
}
#about h2::before,#about h2::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: var(--white);
  padding: 2px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(-45deg);
  width: 4px;
  height: 200%;
}
#about h2::before {
  left: 10%;
}
#about h2::after {
  right: 10%;
}
#about table {
  display: block;
  margin: 1rem 0;
  padding: .5em;
  border-collapse: collapse;
  border-radius: 4px;
  background: #f7f7f7;
}
#about table tbody {
  width: 100%;
  display: block;
}
#about table tr {
  width: 100%;
  display: block;
  border-bottom: 1px dotted #aaa;
  padding: .5em 0;
}
#about table tr:first-of-type {
  border-top: 1px dotted #aaa;
}
#about table th {
  width: 100px;
  background: var(--main);
  color: var(--white);
  text-align: center;
  border-radius: 4px;
  font-size: 90%;
  vertical-align: middle;
}
@media screen and (max-width: 400px) {
  #about table th {
    width: 70px;
  }
}
#about table td {
  padding-left: .5em;
  line-height: 1.4;
}
#about table td a{
  color: var(--main);
}
#about table td a:hover {
  color: var(--link);
}

#about table.tokuten-info tr{
  padding: 1em .6em;
}
#about table.tokuten-info th{
  display: block;
  width: 100%;
  background: none;
  text-align: left;
}
#about table.tokuten-info td{
  line-height: 1.6;
  padding: 0;
}
#about table.tokuten-info th span {
  padding: 0 .5em;
  display: inline-block;
  margin: 0 .4em .4em 0;
  background: #645096;
}
#about table.tokuten-info tr:nth-child(1) th span:nth-child(1){
  background: #0082cd;
}
#about table.tokuten-info th span:nth-child(2){
  background: #e66e00;
}
#about table.tokuten-info th span:nth-child(3){
  background: #008250;
}
.pay {
  background: #000000;
  text-align: center;
}
.pay img{
  max-width: 1000px;  
}
ul.a-list {
    padding: 0;
    list-style: none;
    list-style-position: inside;
    margin: 1rem 0;
    text-align: left;
    font-size: .8em;
    font-weight: 500;
}
ul.a-list li {
    position: relative;
    padding-left: 1.1em;
    line-height: 1.4;
    margin: 0 0 .5em;
}
ul.a-list li::before {
    content: '※';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: flex;
    justify-content: center;
}

footer {
  width: 100%;
  background: rgba(0, 0, 0, 0.125);
  text-align: center;
  padding: .5rem 0;
  font-weight: 400;
  font-size: 70%;
}
footer p {
  font-feature-settings: normal;
}
footer p span{
  margin: 0 .5em;
}