@charset "utf-8";

:root {
  --text-color: #595858;
  --title-color: #3e3a39;
  --white-color: #fff;
}

html {
  height: -webkit-fill-available;
}

body {
  font-family: 'M PLUS 2', sans-serif;
  letter-spacing: 0.12em;
  color: var(--text-color);
  margin: 0;
}

.menu-font {
  font-family: 'Roboto Condensed', sans-serif;
}

img {
  width: 100%;
}

a,
a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
}

dl,
dd {
  margin-bottom: 0;
}

button {
  font-family: 'BIZ UDPGothic', sans-serif;
  letter-spacing: 0.15em;
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}

.wrapper {
  width: 100%;
  padding: 0 4vw;
}

.inner {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
}

/* header */
#header {
  background-color: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  padding: 8px 16px;
  z-index: 99;
}

.header-inner {
  max-width: 1170px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-inline: auto;
}

.logo img {
  width: 240px;
  display: flex;
  align-items: center;
}

.back {
  display: flex;
  align-items: center;
}

.back img {
  width: 16px;
  padding-bottom: 4px;
}

.back span {
  padding-left: 8px;
}

.pc-menu {
  display: none;
}

.pc-menu li {
  border-left: 1.5px solid var(--title-color);
}

.pc-menu li:last-child {
  border-right: 1.5px solid var(--title-color);
}

.pc-menu a {
  color: var(--title-color);
  line-height: 1.2;
  display: block;
  padding: 0 12px;
}

.pc-menu a,
.sp-menu a {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.25em;
}

.sp-menu {
  background-color: rgba(0, 0, 60, 0.9);
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  transform: scale(0);
  transform-origin: top right;
  pointer-events: none;
  transition: 0.3s;
  padding: 64px 32px 32px;
}

.sp-menu.active {
  transform: scale(1);
  pointer-events: auto;
}

.sp-menu a {
  color: var(--white-color);
}

.sp-menu li:not(:first-child) {
  border-top: 1px solid var(--white-color);
}

.sp-menu a {
  display: block;
  padding: 8px;
}

.sp-menu-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.sp-menu-bg.active {
  visibility: visible;
  opacity: 1;
}

.hamburger-menu {
  background-color: #00003c;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 100;
}

.hamburger-menu span {
  position: absolute;
  width: 32px;
  height: 3px;
  border-radius: 9999px;
  background-color: var(--white-color);
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

.hamburger-menu span:nth-child(1) {
  top: 25%;
}

.hamburger-menu span:nth-child(2) {
  top: 50%;
}

.hamburger-menu span:nth-child(3) {
  top: 75%;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-45deg);
  top: 50%;
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(45deg);
  top: 50%;
}

/* top */
.mainvisual {
  width: 100%;
}

.top-text {
  font-weight: bold;
  text-align: center;
  color: var(--title-color);
  margin-top: 8px;
}

/* feature */
#feature {
  background-color: #efefef;
  margin-top: 8px;
}

#feature.wrapper {
  padding: 32px 4vw;
}

#feature .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.feature-list {
  max-width: 480px;
  margin-inline: auto;
}

.feature-content {
  height: 154px;
  position: relative;
}

.feature-content:not(:first-child) {
  margin-top: 12px;
}

.feature-title {
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
  color: var(--title-color);
  background-color: var(--white-color);
  width: 100%;
  border-radius: 8px 8px 0 0;
  border: 2px solid var(--title-color);
  position: absolute;
  top: 0;
  left: 0;
}

.feature-text {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  color: var(--white-color);
  background-image: url(../img/bg-feature-sp.png);
  background-size: cover;
  height: 100%;
  border-radius: 8px;
  display: grid;
  place-items: center start;
  padding: 40px 4px 12px 4px;
}

.annotation {
  font-size: 12px;
  padding-top: 8px;
}

.feature-img {
  display: none;
  width: 24%;
  max-width: 240px;
}

/* process */
.process-text {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--white-color);
  background-color: var(--title-color);
  border-radius: 9999px;
  padding: 4px 0;
  margin-top: 32px;
}

.step {
  line-height: 32px;
  display: flex;
  margin-top: 32px;
}

.step-number {
  font-weight: bold;
  color: var(--white-color);
  background-color: var(--title-color);
  display: flex;
  align-items: center;
  padding: 0 10px 0 14px;
  position: relative;
}

.step-number::after {
  content: '';
  border-left: 6px solid var(--title-color);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: -6px;
}

.step-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--title-color);
  background-color: #dcdddd;
  padding-left: 16px;
  flex: 1;
}

.step-text {
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

.pattern-list > .pattern:first-child {
  margin-top: 24px;
}

.pattern {
  margin-top: 40px;
}

.pattern-title {
  font-weight: bold;
  line-height: 32px;
  text-align: center;
  color: var(--white-color);
  background-color: var(--title-color);
  border-radius: 32px 32px 0 0;
}

.design {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  margin-top: 32px;
}

.design-img {
  width: 48%;
}

.pattern-list > .pattern .design-img:nth-child(even) {
  display: none;
}

.colorchart {
  width: 100%;
  max-width: 1000px;
  letter-spacing: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 24px auto 0 auto;
}

.color-sample {
  height: 40px;
}

.colorchart .color:nth-child(1) .color-sample {
  background-color: #fff;
  border: 1px solid #231815;
}

.colorchart .color:nth-child(2) .color-sample {
  background-color: #9baabb;
}

.colorchart .color:nth-child(3) .color-sample {
  background-color: #2d2422;
}

.colorchart .color:nth-child(4) .color-sample {
  background-color: #e30339;
}

.colorchart .color:nth-child(5) .color-sample {
  background-color: #7d283c;
}

.colorchart .color:nth-child(6) .color-sample {
  background-color: #f9dbdf;
}

.colorchart .color:nth-child(7) .color-sample {
  background-color: #e75f99;
}

.colorchart .color:nth-child(8) .color-sample {
  background-color: #e8621f;
}

.colorchart .color:nth-child(9) .color-sample {
  background-color: #ffee00;
}

.colorchart .color:nth-child(10) .color-sample {
  background-color: #c3950d;
}

.colorchart .color:nth-child(11) .color-sample {
  background-color: #19ab4d;
}

.colorchart .color:nth-child(12) .color-sample {
  background-color: #00351c;
}

.colorchart .color:nth-child(13) .color-sample {
  background-color: #004499;
}

.colorchart .color:nth-child(14) .color-sample {
  background-color: #1a334d;
}

.colorchart .color:nth-child(15) .color-sample {
  background-color: #6c9cd2;
}

.colorchart .color:nth-child(16) .color-sample {
  background-color: #4abdd0;
}

.colorchart .color:nth-child(17) .color-sample {
  background-color: #008ece;
}

.colorchart .color:nth-child(18) .color-sample {
  background-color: #332e89;
}

.color-name {
  font-size: 12px;
  text-align: center;
}

/* size */
.size-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: 24px;
}

.size-list .size {
  margin-top: 8px;
}

.size-list .size:nth-child(1) {
  width: 24%;
}

.size-list .size:nth-child(2) {
  width: 25%;
}

.size-list .size:nth-child(3) {
  width: 26%;
}

.size-list .size:nth-child(4) {
  width: 27%;
}

.size-list .size:nth-child(5) {
  width: 28%;
}

.size-list .size:nth-child(6) {
  width: 29%;
}

.size-name {
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}

.description {
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
}

.description ul,
.description p {
  text-align: left;
}

.description li {
  line-height: 1.6;
  margin-left: 1em;
  text-indent: -1em;
}

.description li::before {
  content: '●';
}

.size-btn {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  width: 320px;
  height: 40px;
  background-color: #4e799c;
  margin: 32px auto 0 auto;
}

/* modal */
.modal-dialog {
  width: 96vw;
  max-width: 500px;
  margin-inline: auto;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.85);
  border: none;
  border-radius: 0;
}

.modal-body {
  position: relative;
  padding: 32px 4%;
}

.close {
  color: var(--white-color);
  opacity: 1;
  position: absolute;
  top: 8px;
  right: 8px;
}

.close:not(:disabled):not(.disabled):focus,
.close:not(:disabled):not(.disabled):hover {
  color: var(--white-color);
  opacity: 1;
}

.modal-title {
  font-size: 24px;
  color: var(--white-color);
  display: block;
  border-bottom: 1px solid var(--white-color);
}

.table-content {
  margin-top: 24px;
}

.table-name {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--white-color);
  text-align: left;
  border-left: 3px solid var(--white-color);
  padding-left: 8px;
}

.size-table {
  font-size: 13px;
  letter-spacing: normal;
  color: var(--title-color);
  width: 100%;
  table-layout: fixed;
}

.size-table tr th,
.size-table tr td {
  border-left: 1px solid var(--title-color);
  padding: 2px;
}

.size-table tr th:first-child,
.size-table tr td:first-child {
  letter-spacing: normal;
  border-right: none;
}

.size-table tr:nth-child(odd) {
  background-color: #e5e5e6;
}

.size-table tr:nth-child(even) {
  background-color: var(--white-color);
}

/* logo */
.logo-img {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.logo-img img {
  width: 45%;
  max-width: 320px;
}

.attention {
  font-size: 12px;
  color: #da0200;
  margin-left: 1.1em;
  text-indent: -1.1em;
}

/* order */
#order .description {
  font-size: 16px;
}

.order-btn {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: var(--white-color);
  border-radius: 5px;
  width: 320px;
  height: 48px;
  position: relative;
  background-color: [object object];
  background-image: linear-gradient(180deg, rgba(167, 167, 167, 1), rgba(62, 58, 57, 1));
  margin: 40px auto 0 auto;
}

.order-btn:hover {
  color: var(--white-color);
}

.order-btn::before {
  content: '';
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 2px solid #fff;
  border-radius: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* design */
#design {
  background-color: #efefef;
  margin-top: 32px;
}

#design.wrapper {
  padding: 32px 4vw;
}

.design-title {
  font-size: 18px;
  line-height: 2;
  color: var(--white-color);
  background-color: #4e799c;
  border-radius: 9999px;
  text-align: center;
}

.design-case-list {
  width: 95%;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 24px auto 0 auto;
}

/* footer */
#footer {
  background-color: #fff;
  width: 100%;
  padding: 8px 16px;
}

.footer-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer .logo img {
  width: 160px;
  display: flex;
  align-items: center;
}

.back {
  display: flex;
  align-items: center;
}

.pc-menu {
  display: none;
}

@media (min-width: 576px) {
  .process-text {
    font-size: 16px;
  }

  .modal-body {
    padding: 32px 7%;
  }

  .close {
    top: 24px;
    right: 24px;
  }

  .size-table {
    font-size: 14px;
    letter-spacing: normal;
  }

  .size-table tr th:first-child,
  .size-table tr td:first-child {
    letter-spacing: 0.12em;
  }
}

@media (min-width: 768px) {
  .pc-menu {
    display: flex;
    align-items: center;
  }

  .hamburger-menu {
    display: none;
  }

  .top-text {
    font-size: 24px;
    margin-top: 16px;
  }

  /* feature */
  #feature {
    margin-top: 16px;
  }

  .feature-list {
    max-width: 900px;
    margin-inline: 0;
  }

  .feature-content {
    height: 104px;
  }

  .feature-title {
    line-height: 96px;
    width: 104px;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--title-color);
    position: absolute;
    top: 0;
    left: 0;
  }

  .feature-text {
    letter-spacing: 0.12em;
    text-align: left;
    background-image: url(../img/bg-feature-pc.png);
    height: 100%;
    padding: 0 8px 0 64px;
    margin-left: 48px;
  }

  .annotation {
    padding-top: 4px;
  }

  .feature-img {
    display: block;
  }

  .process-text {
    font-size: 24px;
    margin-top: 48px;
  }

  .step {
    line-height: 48px;
    margin-top: 48px;
  }

  .step-number {
    padding: 0 12px 0 16px;
  }

  .step-number::after {
    border-left: 12px solid var(--title-color);
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    right: -12px;
  }

  .step-title {
    font-size: 24px;
    padding-left: 24px;
  }

  .step-text {
    font-size: 18px;
  }

  .pattern-list > .pattern:first-child {
    margin-top: 32px;
  }

  .pattern {
    margin-top: 56px;
  }

  .pattern-flex {
    display: flex;
    justify-content: space-between;
  }

  .pattern-flex .pattern {
    width: 49%;
  }

  .pattern-list > .pattern .design-img {
    width: 24%;
  }

  .pattern-list > .pattern .design-img:nth-child(even) {
    display: block;
  }

  .color-name {
    font-size: 14px;
  }

  .size-list .size:nth-child(1) {
    width: 12%;
  }

  .size-list .size:nth-child(2) {
    width: 13%;
  }

  .size-list .size:nth-child(3) {
    width: 14%;
  }

  .size-list .size:nth-child(4) {
    width: 15%;
  }

  .size-list .size:nth-child(5) {
    width: 16%;
  }

  .size-list .size:nth-child(6) {
    width: 17%;
  }

  .size-name {
    font-size: 16px;
    margin-top: 8px;
  }

  .description {
    font-size: 16px;
    width: 100%;
    margin-inline: auto;
  }

  #size .description {
    max-width: 768px;
  }

  .size-btn {
    font-size: 24px;
    height: 48px;
  }

  /* modal */
  .modal-body {
    padding: 56px 5%;
  }

  .modal-dialog {
    max-width: 680px;
  }

  .table-name {
    font-size: 18px;
  }

  .size-table {
    font-size: 16px;
  }

  #logo .description {
    max-width: 640px;
  }

  #order .description {
    font-size: 20px;
    max-width: 640px;
  }

  .order-btn {
    font-size: 24px;
  }

  .attention {
    font-size: 14px;
  }

  .design-title {
    font-size: 24px;
  }

  .design-case-list {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin: 32px auto 0 auto;
  }

  .footer-inner {
    max-width: 1170px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: auto;
  }

  #footer .logo img {
    width: 240px;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .feature-text {
    font-size: 16px;
    padding: 0 8px 0 72px;
  }

  .feature-list .feature-content:nth-child(2) .feature-text {
    padding: 0 100px 0 72px;
  }

  .annotation {
    font-size: 14px;
  }

  .modal-dialog {
    width: 96vw;
    max-width: 1170px;
    margin-inline: auto;
  }

  .table-flex {
    display: flex;
    justify-content: space-between;
  }

  .table-content {
    width: 49%;
  }

  .size-table {
    font-size: 16px;
  }
}
