@charset "UTF-8";

html {
  font-size: 100%;
}

body.legacy-body {
  margin: 0;
  background: #DBE4EA;
  color: #000;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a img {
  border: 0;
}

.site-shell {
  width: min(750px, calc(100% - 20px));
  margin: 0 auto;
}

.hero-frame,
.menu-frame,
.content-frame,
.footer-frame {
  display: grid;
  grid-template-columns: 5px minmax(0, 740px) 5px;
  align-items: stretch;
}

.shadow-left {
  background: url("../common_img/back_left_shadow.gif") repeat-y left top;
}

.shadow-right {
  background: url("../common_img/back_right_shadow.gif") repeat-y right top;
}

.hero-main,
.menu-main,
.page-main,
.footer-main {
  background: #fff;
}

.hero-main img,
.footer-main img,
.title-image img {
  width: 100%;
  height: auto;
}

.menu-bar {
  display: grid;
  grid-template-columns: 246fr 248fr 246fr;
}

.menu-item img {
  width: 100%;
  height: auto;
  display: block;
}

.content-inner {
  width: min(660px, calc(100% - 24px));
  margin: 0 auto;
  padding: 30px 0 24px;
}

.title-image {
  margin-bottom: 6px;
}

.update {
  text-align: right;
  margin-bottom: 14px;
}

.intro-text,
.shop-info,
.contact-intro,
.contact-note {
  line-height: 1.6;
}

.intro-text {
  margin-bottom: 18px;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.contact-button {
  text-align: right;
}

.product-list {
  display: grid;
  gap: 14px;
}

.product-row {
  display: grid;
  grid-template-columns: 449px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.product-images {
  display: grid;
  grid-template-columns: repeat(2, 222px);
  gap: 5px;
}

.product-image a,
.product-image img {
  display: block;
}

.product-desc {
  line-height: 1.6;
  word-break: break-word;
}

.shop-info {
  margin-top: 14px;
}

.law-inner {
  padding-bottom: 30px;
}

.law-table {
  border: 1px solid #a3a3a3;
  margin-top: 10px;
}

.law-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-top: 1px solid #a3a3a3;
}

.law-row:first-child {
  border-top: 0;
}

.law-th {
  background: #FFFAEA;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.5;
}

.law-td {
  background: #fff;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.5;
}

.law-note {
  border-top: 1px solid #a3a3a3;
  background: #fff;
  padding: 10px;
  font-size: 14px;
  line-height: 1.7;
}

/* contact page */
.contact-form {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-top: 1px solid #d7d7d7;
}

.form-row:first-child {
  border-top: 0;
}

.form-label,
.form-field {
  padding: 10px 12px;
  line-height: 1.6;
  font-size: 14px;
}

.form-row.highlight .form-label,
.form-row.highlight .form-field {
  background: #FFFAEA;
}

.form-row.actions .form-label,
.form-row.actions .form-field {
  background: transparent;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  max-width: 100%;
  font-size: 16px;
  font-family: inherit;
  padding: 6px 8px;
  border: 1px solid #999;
  box-sizing: border-box;
}

.form-field textarea {
  width: min(100%, 420px);
  min-height: 10em;
  resize: vertical;
}

.form-field input[type="submit"],
.form-field input[type="reset"] {
  font-size: 14px;
  padding: 6px 14px;
  margin-right: 8px;
}

@media (max-width: 767px) {
  .site-shell {
    width: 100%;
  }

  .hero-frame,
  .menu-frame,
  .content-frame,
  .footer-frame {
    grid-template-columns: 4px minmax(0, 1fr) 4px;
  }

  .content-inner {
    width: calc(100% - 20px);
    padding-top: 18px;
  }

  .menu-bar {
    grid-template-columns: 1fr;
  }

  .contact-row,
  .product-row,
  .form-row,
  .law-row {
    grid-template-columns: 1fr;
  }

  .contact-button,
  .page-top-link,
  .update {
    text-align: left;
  }

  .product-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .form-field textarea {
    width: 100%;
  }
}








.page-top-fixed {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 1000;
}

.page-top-fixed a {
  display: inline-block;
  padding: 3px 7px;
  background: #fff;
  border: 0;
  color: #666;
  text-decoration: underline;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: none;
}

.page-top-fixed a:hover {
  color: #333;
  background: #fff;
}

@media (max-width: 767px) {
  .page-top-fixed {
    right: 8px;
    bottom: 8px;
  }

  .page-top-fixed a {
    padding: 3px 6px;
    font-size: 11px;
  }
}


/* --- contact page tweak --- */
.form-field select,
.form-field option {
  font-size: 13px;
}

.form-field input[type="submit"],
.form-field input[type="reset"] {
  width: 160px;
  min-width: 160px;
  text-align: center;
}

/* 「このページの上へ」をフッター帯とかぶらないよう少し上へ */
.page-top-fixed {
  bottom: 28px;
}

@media (max-width: 767px) {
  .form-field input[type="submit"],
  .form-field input[type="reset"] {
    width: 140px;
    min-width: 140px;
  }

  .page-top-fixed {
    bottom: 24px;
  }
}


/* --- contact input size adjustment --- */
.contact-page .form-field input[type="text"],
.contact-page .form-field input[type="email"] {
  width: 500px;
  max-width: 100%;
  height: 34px;
  padding: 4px 8px;
}

.contact-page .form-row:nth-child(4) .form-field input[type="text"] {
  width: 280px;
  max-width: 100%;
}

.contact-page .form-field textarea {
  width: 620px;
  max-width: 100%;
  min-height: 260px;
  padding: 6px 8px;
}

.contact-page .form-field select {
  width: 450px;
  max-width: 100%;
  height: 36px;
  padding: 4px 6px;
}

@media (max-width: 767px) {
  .contact-page .form-field input[type="text"],
  .contact-page .form-field input[type="email"],
  .contact-page .form-field textarea,
  .contact-page .form-field select {
    width: 100%;
    max-width: 100%;
  }

  .contact-page .form-field input[type="text"],
  .contact-page .form-field input[type="email"],
  .contact-page .form-field select {
    height: 34px;
  }
}

@charset "UTF-8";

/* ハニーポット用 */
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* --- contact form width adjustment: PC only --- */
@media (min-width: 768px) {
  .contact-page .form-field input[type="text"],
  .contact-page .form-field input[type="email"] {
    width: 260px;
    max-width: 100%;
    height: 30px;
    padding: 3px 6px;
    box-sizing: border-box;
  }

  .contact-page .form-row:nth-child(4) .form-field input[type="text"] {
    width: 180px;
    max-width: 100%;
  }

  .contact-page .form-field select {
    width: 260px;
    max-width: 100%;
    height: 32px;
    padding: 3px 6px;
    box-sizing: border-box;
  }

  .contact-page .form-field option {
    font-size: 13px;
  }
}

/* --- smartphone keeps full width --- */
@media (max-width: 767px) {
  .contact-page .form-field input[type="text"],
  .contact-page .form-field input[type="email"],
  .contact-page .form-field select,
  .contact-page .form-field textarea {
    width: 100%;
    max-width: 100%;
  }
}
