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

html {
  scroll-behavior: smooth;
}

body {
  color: #333333;
  background: url("/assets/old/bg.jpg") repeat top left;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

img {
  border: none;
  max-width: 100%;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #8ed1e4;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.clear {
  clear: both;
}

.hidden {
  display: none;
}

.waper {
  width: 940px;
  margin: auto;
}

#header {
  min-height: 364px;
  background: url("/assets/old/header.png") no-repeat top center;
}

.logo-area {
  width: 500px;
  padding-top: 90px;
  padding-left: 15px;
}

.logo-area p {
  padding-left: 9px;
}

.logo-area strong {
  font-size: 20px;
}

.menu-wrap {
  width: 950px;
  margin-top: 170px;
}

.menu-button {
  display: none;
}

#menu {
  list-style: none;
}

#menu li {
  display: inline;
}

#menu li a {
  display: block;
  float: left;
  margin-right: 20px;
  padding-left: 25px;
  background: url("/assets/old/ht.png") no-repeat left center;
  color: #000;
  font-size: 1.2em;
  font-weight: bolder;
  white-space: nowrap;
}

#menu li a:hover {
  color: #fff;
}

#menu li a.current {
  color: #fff;
}

.cut {
  height: 40px;
  background: url("/assets/old/cut.png") no-repeat center center;
}

.left-col {
  float: left;
  width: 225px;
}

.content-col {
  float: left;
  width: 700px;
  color: #000;
}

.contact-line {
  padding-top: 0;
}

.contact-line--email {
  padding-top: 15px;
}

.contact-line img {
  width: 30px;
  vertical-align: middle;
}

.contact-line strong {
  font-size: 15px;
}

.rabbit {
  margin-top: 15px;
  padding: 15px 0 15px 60px;
  background: url("/assets/old/rabbit.png") no-repeat left center;
  color: #f7667a;
  font-size: 18px;
}

.head_list {
  height: 20px;
  background: url("/assets/old/ga.png") no-repeat top left;
}

.bt_list {
  height: 20px;
  background: url("/assets/old/ga.png") no-repeat bottom left;
}

.cont_list {
  padding-right: 50px;
  background: url("/assets/old/gac.png") repeat-y;
}

#cat {
  margin-left: 20px;
  list-style: none;
}

#cat li {
  display: block;
  padding-bottom: 10px;
  background: url("/assets/old/lc.png") no-repeat bottom;
}

#cat li a {
  display: block;
  padding: 5px 0 5px 30px;
  background: url("/assets/old/hb.png") no-repeat left center;
  color: #000;
}

#cat li.cat-child {
  padding-bottom: 5px;
  background-position: bottom left;
}

#cat li.cat-child a {
  padding: 3px 0 3px 42px;
  background-position: 16px center;
  color: #7a5a46;
  font-size: 12px;
  line-height: 1.3;
}

.side-box {
  width: 202px;
  margin-top: 15px;
  padding: 14px 16px;
  border: 1px dotted #f5a5b4;
  background: rgba(255, 255, 255, 0.55);
  color: #7a5a46;
}

.side-box strong {
  display: block;
  margin-bottom: 5px;
  color: #f7667e;
}

.cute {
  padding: 10px 0;
}

.sbg {
  width: 701px;
  height: 250px;
  padding: 5px 15px;
  background: url("/assets/old/sbg.png") no-repeat;
}

#slider {
  position: relative;
  z-index: 1;
  width: 670px;
  height: 228px;
  margin-top: 7px;
  overflow: hidden;
  background: #fff;
}

#slider img {
  position: absolute;
  inset: 0;
  width: 670px;
  height: 228px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

#slider img.is-active {
  opacity: 1;
}

#content h1 {
  margin-bottom: 10px;
  color: #f7667e;
  font-size: 1.8em;
}

.home-copy {
  padding: 15px;
}

.home-copy p {
  margin-bottom: 8px;
}

.old-section {
  padding-top: 20px;
  clear: both;
}

.section-title {
  min-height: 52px;
}

.section-title img {
  float: left;
  margin-right: 16px;
}

.section-title h1,
.section-title h2 {
  padding-top: 5px;
  color: #f7667e;
  font-size: 23px;
}

.page-intro {
  margin: 0 15px 14px;
  color: #7a5a46;
}

.more-link {
  margin: 10px 15px 0;
  font-weight: bold;
}

.old-list {
  margin: 10px 0 0 48px;
  color: #7a5a46;
}

.old-list li {
  margin-bottom: 5px;
}

.category-grid {
  margin: 12px 0 0;
}

.category-card {
  display: block;
  float: left;
  width: 230px;
  min-height: 250px;
  margin: 14px 0 10px;
  color: #000;
  text-align: center;
}

.category-card .box_img {
  display: block;
}

.category-card .box_img img {
  width: 182px;
  height: 128px;
  margin: 9px 0 0 12px;
  object-fit: contain;
}

.category-card strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.category-card em {
  display: block;
  color: #7a5a46;
  font-style: normal;
}

.category-note {
  display: block;
  width: 190px;
  margin: 5px auto 0;
  color: #8f7564;
  font-size: 12px;
  line-height: 1.35;
}

.pagination {
  margin: 12px 0 14px 15px;
  line-height: 2.6;
}

.page-link,
.gallery-links a {
  margin-right: 5px;
  padding: 5px 10px;
  border-radius: 10px;
  background: #ff8080;
  color: #fff;
  font-weight: bold;
}

.page-link.current,
.page-link:hover,
.gallery-links a.current,
.gallery-links a:hover {
  background: #fff;
  color: #888;
}

.filter-row {
  margin: 0 0 8px 16px;
}

.filter-row button {
  margin-right: 6px;
  padding: 5px 12px;
  border: 0;
  border-radius: 10px;
  background: #ff8080;
  color: #fff;
  font-weight: bold;
}

.filter-row a {
  display: inline-block;
  margin-bottom: 6px;
}

.filter-row button.current,
.filter-row button:hover {
  background: #fff;
  color: #888;
}

.product-list {
  min-height: 20px;
}

.product-card {
  float: left;
  width: 230px;
  height: 220px;
  margin: 14px 0 10px;
  overflow: hidden;
  text-align: center;
}

.product-card p {
  width: 203px;
  text-align: center;
}

.box_img {
  width: 205px;
  height: 153px;
  margin: 15px 0 0 15px;
  overflow: hidden;
  background: url("/assets/old/bg_img.png") no-repeat top center;
}

.box_img button {
  display: block;
  width: 192px;
  height: 140px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.box_img img {
  width: 182px;
  height: 128px;
  margin: 9px 0 0 12px;
  object-fit: contain;
}

.text-panel {
  padding-right: 18px;
}

.text-panel p {
  margin: 0 0 10px 15px;
}

#alist {
  list-style: none;
}

#alist li {
  display: block;
  float: left;
  width: 200px;
  height: 249px;
  margin: 0 5px;
  overflow: hidden;
  background: url("/assets/old/xa.png") no-repeat;
  text-align: center;
}

.imglink {
  display: block;
  width: 160px;
  height: 120px;
  padding-top: 30px;
  padding-left: 17px;
  overflow: hidden;
}

.imglink img {
  width: 145px;
  height: 105px;
  object-fit: contain;
}

#portfolio-list {
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

#portfolio-list li {
  display: block;
  float: left;
  width: 120px;
  height: 135px;
  margin-top: 10px;
  margin-right: 14px;
  overflow: hidden;
}

#portfolio-list button {
  display: block;
  width: 117px;
  height: 120px;
  border: 1px solid #fff;
  overflow: hidden;
  background: #eee;
}

#portfolio-list img {
  width: 117px;
  height: 120px;
  object-fit: cover;
}

#contact_are {
  min-height: 390px;
  margin-left: 30px;
}

.contact-copy {
  float: left;
  width: 315px;
  padding-top: 20px;
  color: #7a5a46;
}

.contact-copy p {
  margin-bottom: 8px;
}

#contact_form {
  float: left;
  width: 250px;
  margin-top: 15px;
  margin-left: 30px;
}

#contact_form label {
  display: block;
}

#contact_form span {
  display: block;
  margin-top: 5px;
  color: #f7667e;
  font-weight: bold;
}

#contact_form input,
#contact_form textarea {
  width: 200px;
  margin-top: 5px;
  border: #c0c0c0 1px dotted;
  color: #7a5a46;
}

#contact_form input {
  height: 24px;
}

#contact_form textarea {
  height: 80px;
  resize: vertical;
}

#contact_form input[type="submit"] {
  height: 24px;
  color: #fff;
  background: #f7667e;
  cursor: pointer;
}

.old-footer {
  padding-bottom: 10px;
  text-align: center;
}

.old-footer img {
  width: 34px;
  margin: 0 30px;
  vertical-align: middle;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(90vw, 760px);
  max-height: 78vh;
  background: #fff;
  border: 8px solid #fff;
}

.lightbox p {
  margin-top: 10px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #f7667e;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.no-scroll {
  overflow: hidden;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thanks {
  width: 520px;
  padding: 24px;
  border: 1px dotted #f5a5b4;
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.thanks img {
  margin: 0 auto 14px;
}

.thanks h1 {
  color: #f7667e;
}

.thanks .button {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 18px;
  border-radius: 10px;
  background: #ff8080;
  color: #fff;
  font-weight: bold;
}

@media (max-width: 980px) {
  .waper {
    width: min(940px, calc(100% - 20px));
  }

  #header {
    min-height: 335px;
    background-size: 940px auto;
  }

  .menu-wrap {
    width: 100%;
    margin-top: 146px;
  }

  #menu li a {
    margin-right: 13px;
    font-size: 1.05em;
  }

  .left-col,
  .content-col {
    float: none;
    width: 100%;
  }

  .left-col {
    display: grid;
    grid-template-columns: 225px 1fr;
    gap: 0 22px;
  }

  .contact-line,
  .rabbit,
  .head_list,
  .cont_list,
  .bt_list,
  .side-box,
  .cute {
    grid-column: 1;
  }

  .content-col {
    margin-top: 15px;
  }

  .sbg {
    margin: auto;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 13px;
  }

  .waper {
    width: calc(100% - 14px);
  }

  #header {
    min-height: 250px;
    background-size: 650px auto;
    background-position: top center;
  }

  .logo-area {
    width: 100%;
    padding-top: 54px;
    padding-left: 14px;
  }

  .logo-area img {
    width: 145px;
  }

  .logo-area strong {
    font-size: 18px;
  }

  .menu-wrap {
    position: relative;
    margin-top: 70px;
  }

  .menu-button {
    display: block;
    margin-left: 10px;
    padding: 5px 12px 5px 25px;
    border: 1px dotted #f5a5b4;
    border-radius: 10px;
    background: #fff url("/assets/old/ht.png") no-repeat 8px center;
    color: #000;
    font-weight: bold;
  }

  #menu {
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    top: 32px;
    z-index: 10;
    padding: 8px;
    border: 1px dotted #f5a5b4;
    background: rgba(255, 255, 255, 0.96);
  }

  #menu.is-open {
    display: block;
  }

  #menu li,
  #menu li a {
    display: block;
    float: none;
  }

  #menu li a {
    margin: 0;
    padding: 6px 6px 6px 25px;
  }

  .cut {
    height: 28px;
    background-size: 760px 9px;
  }

  .left-col {
    display: block;
  }

  .side-box,
  .cute,
  .head_list,
  .cont_list,
  .bt_list {
    max-width: 225px;
  }

  .content-col {
    width: 100%;
  }

  .sbg {
    width: 100%;
    height: auto;
    padding: 5px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(247, 102, 126, 0.25);
  }

  #slider {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 252;
    margin: 0;
  }

  #slider img {
    width: 100%;
    height: 100%;
  }

  .product-card {
    width: 50%;
    margin-top: 8px;
  }

  .box_img {
    margin-left: auto;
    margin-right: auto;
  }

  .product-card p {
    width: 100%;
  }

  #contact_are {
    margin-left: 0;
  }

  .contact-copy,
  #contact_form {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  #contact_form input,
  #contact_form textarea {
    width: min(100%, 260px);
  }
}

@media (max-width: 480px) {
  .product-card {
    width: 100%;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 20px;
  }

  #alist li {
    float: none;
    margin: 8px auto;
  }
}
