/*
* "Poppins" licensed under the SIL Open Font License
* https://fonts.google.com/specimen/Poppins
*/
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.woff2') format('woff2'),
    url('fonts/Poppins-Regular.eot') format('eot'),
    url('fonts/Poppins-Regular.woff') format('woff'),
    url('fonts/Poppins-Regular.ttf') format('truetype');
}

/*
* "Zen Kaku Gothic New" licensed under the SIL Open Font License
* https://fonts.google.com/specimen/Zen+Kaku+Gothic+New
*/
@font-face {
  font-family: 'ZenKakuGothicNew';
  src: url('fonts/ZenKakuGothicNew-Regular.woff2') format('woff2'),
    url('fonts/ZenKakuGothicNew-Regular.eot') format('eot'),
    url('fonts/ZenKakuGothicNew-Regular.woff') format('woff'),
    url('fonts/ZenKakuGothicNew-Regular.ttf') format('truetype');
}

@keyframes zoom-out {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

:root {
  --color-black: #534741;
  --color-brown-light: #dcd7cc;
  --color-brown: #534741;
  --color-: #dcd7cc;
  --color-brown-translucent: #53474180;
  --font-default: 'ZenKakuGothicNew', 'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック',
    sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --width-max: 1280px;
  --width-margined-max: 60rem;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-brown-light);
  color: var(--color-black);
  font-family: var(--font-default);
}

header {
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  margin: 0 auto;
  max-width: var(--width-max);
  width: 100%;
}

header a,
footer a {
  color: #fff;
}

header a:hover,
footer a:hover {
  color: #fff;
}

header .logo {
  width: 8rem;
}

header > nav {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-grow: 1;
  font-size: 1.5rem;
}

header > nav a {
  border-bottom: 1px solid #fff;
}

header > nav a:hover {
  text-decoration: none;
}

header > nav img {
  max-height: 1em;
  margin: 0 0.3rem 0.3rem 0;
}

header .menu-icon {
  margin: 0.4rem 0 0 1rem;
  height: 2em;
}

main {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 50rem;
  max-width: var(--width-max);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

main.margined-main {
  max-width: var(--width-margined-max);
  padding-top: 8rem;
}

main h1 {
  font-family: var(--font-poppins);
  font-size: 1.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
}

main a {
  color: var(--color-black);
  text-decoration: underline;
}

main a:hover {
  color: var(--color-black);
}

main form {
  width: 100%;
}

section {
  width: 100%;
}

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

h1 span {
  font-size: 0.5em;
  padding-left: 1rem;
}

footer {
  background-color: var(--color-brown);
  color: #fff;
  padding-bottom: 8rem;
}

footer .logo {
  width: 8rem;
}

footer .orders-nav {
  display: flex;
}

footer .orders-nav > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  height: calc(100vw / 3);
  width: 50vw;
}

footer .orders-nav > a:hover {
  text-decoration: none;
}

footer .orders-nav > a.order1-link {
  background-image: url(../img/order1.jpg);
}

footer .orders-nav > a.order2-link {
  background-image: url(../img/order2.jpg);
}

footer .orders-nav > a.order3-link {
  background-image: url(../img/order3.jpg);
}

footer .orders-nav h1 {
  font-size: 1.8rem;
  letter-spacing: 0.5em;
  text-align: center;
}

footer .orders-nav button {
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 3em;
  color: #fff;
  display: block;
  letter-spacing: 0.4em;
  margin: 5% auto 0;
  padding: 1.5em 6em;
  position: relative;
}

footer .orders-nav button > i {
  position: absolute;
  right: 2em;
}

footer .link-nav {
  align-items: center;
  margin: 0 auto;
  max-width: var(--width-max);
  padding: 0 2rem;
}

footer .link-nav1 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 15rem 10em 10em;
  font-size: 1.1rem;
  position: relative;
  padding-top: 8rem;
}

footer .link-nav1 .logo {
  margin-right: 8rem;
  grid-row: 1 / 3;
}

footer .link-nav1 .icons {
  display: flex;
  gap: 1rem;
  position: absolute;
  top: 8rem;
  right: 2rem;
}

footer .link-nav1 .icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 4.5rem;
  height: 4.5rem;
}

footer .link-nav1 .icons img {
  width: 2rem;
}

footer .link-nav2 {
  display: flex;
  align-items: center;
  gap: 4em;
  margin-top: 5rem;
  position: relative;
}

footer .link-nav2 .copyright {
  color: #fff;
  font-size: 1rem;
  position: absolute;
  top: 0;
  right: 2rem;
}

div.redirect-div {
  max-width: 100vw;
  width: 55em;
}

div.redirect-div {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

main form {
  align-items: center;
  display: flex;
  flex-direction: column;
}

form dt {
  font-weight: normal;
}

form.input-form dt {
  margin-bottom: 0.8rem;
}

img {
  max-width: 100%;
  max-height: 100vh;
}

form dl {
  width: 100%;
  margin-bottom: 2.5rem;
}

form dd,
section dd {
  margin-bottom: 0;
}

form button,
a.redirect {
  background-color: var(--color-black);
  border: none;
  border-radius: 3rem;
  color: #fff;
  margin-top: 4rem;
  padding: 1.5em 1em;
  width: 100%;
}

a.redirect {
  text-align: center;
  text-decoration: none;
}

a.redirect:hover {
  color: #fff;
}

form .buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

form .buttons button {
  flex: 1;
  max-width: var(--width-margined-max);
}

form input,
textarea {
  width: 100%;
  border: none;
  padding: 1.5rem;
}

form textarea {
  height: 30em;
}

#menu-modal {
  background-color: var(--color-brown-light);
}

#menu-modal .modal-content {
  background-image: url(../img/menu.jpg);
  background-size: auto 100%;
  background-position: left;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-brown-light);
}

#menu-modal .menu-nav {
  background-color: var(--color-brown-light);
  overflow-y: auto;
  padding: 2rem max(calc((100vw - var(--width-max)) / 2), 0px) 2rem 6rem;
  min-height: 100%;
}

#menu-modal .menu-nav header {
  padding: 0 2rem 4rem;
}

#menu-modal .menu-nav header .menu-icon {
  margin: 0.5rem 0.5rem 0 0;
}

#menu-modal h1 {
  font-size: 2.5rem;
  margin: 0 0 5rem;
}

#menu-modal ul {
  margin: 0 0 3rem;
  padding: 0;
}

#menu-modal ul > li {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

#menu-modal ul > li a {
  font-size: 1.5rem;
  margin: 0;
}

#menu-modal .buttons {
  display: flex;
  gap: 1.5rem;
  margin-right: 2rem;
}

#menu-modal .buttons button {
  background-color: var(--color-brown);
  border-width: 0;
  color: #fff;
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding: 0.2em 2em;
}

#menu-modal .buttons button img {
  height: 1.5rem;
}

#index main {
  padding-top: 0;
}

#index section {
  margin-bottom: 7rem;
  width: 100%;
}

#index section > h2 {
  font-family: var(--font-poppins);
  font-size: 1.75em;
  letter-spacing: 0.1em;
  margin: 0 auto 2rem;
  position: relative;
  text-align: center;
  width: 100%;
}

#index section > h2 > nav {
  font-size: 0.9rem;
  position: absolute;
  bottom: 0.5rem;
  right: 0;
}

#index section > h2 > nav a {
  background-color: var(--color-brown);
  border-radius: 2em;
  color: #fff;
  padding: 0.1em 4em;
  text-decoration: none;
}

#index .swiper {
  width: 100%;
  height: 100%;
}

#index .swiper img {
  max-width: 100%;
  max-height: 100%;
}

#index
  .swiper
  .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(
    .swiper-slide-next
  ) {
  visibility: hidden;
}

#index .swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
}

#index .swiper-slide-next img {
  transform: scale(1.2);
}

#index .swiper-slide-active img {
  animation: zoom-out 5s ease-out 0s;
}

#index .catchphrase {
  background-image: url(../img/index/natural.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 1.5rem;
  line-height: 2em;
  padding-top: 4rem;
  text-align: center;
  height: 15rem;
  word-break: keep-all;
}

/*画面共通の指定*/
.collections,
.brands {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: var(--width-margined-max);
}

.collections {
  grid-template-columns: 1fr 1fr 1fr;
}

.brands {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.collections h2 {
  grid-column: 1 / 4;
}

.brands h2 {
  width: 100%;
}

.collections img,
.brands img {
  max-width: 100%;
}

.brands > a {
  flex: 1;
}

.collections .collection,
.brands .brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.collections .collection > div,
.brands .brand > div {
  font-weight: bold;
  margin-top: 0.5rem;
}

.brands .brand {
  aspect-ratio: 2 / 1;
  background-color: #fff;
  padding: 2rem 1.5rem;
}

.brands .brand img {
  max-height: 2.5rem;
}

.brand-name,
.price-div,
.unit-price {
  font-weight: bold;
}

.price-div small {
  color: var(--color-black);
  padding-left: 0.5rem;
}

/*共通文章*/
.text-dd {
  white-space: pre-line;
}

.text,
.text-dd {
  text-align: center;
  line-height: 2.5rem;
}

/*ログイン*/
#login .password-dl {
  margin-bottom: 1rem;
}

#login .resetting-a {
  margin-bottom: 1.5rem;
  margin-left: auto;
}

/*お問い合わせ・確認*/
#contact hr {
  border-top: 0.1rem solid;
  color: black;
  margin: 3rem 0;
  width: 20rem;
}

#contact .privacy-policy {
  margin-top: 5rem;
}

#contact .sending-confirmation {
  background-color: var(--color-black);
  color: #fff;
  padding: 2rem 0rem;
  text-align: center;
  margin-bottom: 7rem;
  max-width: 100%;
  width: 60rem;
}

#contact .send-div {
  margin-bottom: 5rem;
}

#contact dd {
  font-weight: bold;
  white-space: pre-line;
}

/*お問い合わせ完了*/
#contact-complete hr {
  border-top: 0.1rem solid;
  color: black;
  margin-top: 0;
  margin-bottom: 4rem;
  width: 25rem;
}

#contact-complete a.redirect {
  margin-top: 5rem;
}

/*商品一覧*/
#items main {
  align-items: initial;
}

#items .items-nav-section {
  display: flex;
}

#items main nav.side-nav {
  background-color: #eeeae6;
  margin-right: 1rem;
  width: 15rem;
  min-width: 15rem;
}

#items nav form {
  padding: 0.5rem 1rem;
}

#items nav form,
nav dd input {
  width: initial; /*form　inputにかかっている100％を解除*/
}

#items nav dl {
  padding-left: 0.5rem;
  margin-bottom: 1.5rem;
}

#items nav dt {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#items nav dd {
  margin-bottom: 0;
}

#items nav label {
  display: flex;
  align-items: center;
}

#items .search-div {
  margin: 2rem auto 3rem;
  position: relative;
  width: 100%;
}

#items .search-div input {
  border: 1px solid #999;
  background-color: #eeeae6;
  border-radius: 1.15em;
  overflow: hidden;
  padding: 0.3rem 2rem 0.3rem 1rem;
}

/*検索フォームにフォーカスをあてた時に線が出るのを非表示にする*/
#items .search-div input[type='text']:focus {
  outline: 0;
}

#items .search-button {
  background: none;
  margin: initial; /*form buttonで指定している内容を初期化している */
  padding: initial;
  position: absolute;
  bottom: 0.5em;
  right: 0.6em;
  width: initial;
}

#items .menu-check {
  display: none;
}

#items .menu-check ~ * {
  display: inherit;
}

#items .checkbox-div {
  align-self: flex-start;
}

#items form button img {
  height: 0.9em;
}

#items form dd input {
  margin-right: 0.5rem;
}

/*sectionの中身*/
#items section {
  flex-grow: 1;
}

#items section .color-div {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

#items section .items-detail {
  margin: 1rem 0;
}

#items section .items-detail div {
  text-align: center;
  padding-bottom: 0.5rem;
}

#items section .child-size {
  text-align: left !important;
  padding-left: 1rem;
}

#items section .price-div {
  padding-bottom: 0 !important;
}

#items section .introduction-div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

#items section .items-introduction {
  border: 1px solid #999;
  cursor: pointer;
}

#items #item-list .not-found {
  font-size: 1.2rem;
  margin: 1rem;
  text-align: center;
}

#items #item-list .images {
  display: flex;
}

#items #item-list .images > img {
  width: 50%;
}

#items .items-introduction .color-div {
  display: flex;
  gap: 0.5rem;
}

#items nav.pagination-nav {
  align-items: center;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

#items .pagination-nav a {
  display: block;
  text-align: center;
  text-decoration: none;
  height: 2.5rem;
  width: 2.5rem;
}

/*表示されているページの数字を丸くするための指定*/
#items .pagination-nav .current {
  border: 1px solid #999;
  border-radius: 50%;
}

/*商品カート*/
#cart section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

#cart .cart-list img {
  max-height: 20rem;
}

#cart .cart-list {
  align-items: center;
  gap: 2rem;
  display: flex;
  width: 100%;
}

#cart .list-detail {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-left: 1rem;
}

#cart .list-detail .sale {
  background-color: var(--color-brown);
  border-radius: 0.5em;
  color: #fff;
  padding: 0.1em 0.5em;
  text-align: center;
}

#cart .list-detail > div {
  margin-bottom: 0.5rem;
}

#cart .list-detail dl {
  display: flex;
  margin-bottom: 0.5em;
}

#cart .list-detail dt {
  width: 5em;
}

#cart .list-detail dd {
  white-space: pre-line;
}

#cart .skus {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#cart .sku {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#cart .sku .attributes {
  flex-grow: 1;
  text-align: right;
}

#cart .sku .price-div {
  text-align: right;
  width: 8em;
}

#cart .sku a {
  white-space: nowrap;
}

#cart input {
  padding: 0.5rem 0.1rem;
}

#cart .count {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/*1と+　-　を作成*/
#cart .quantity-controls {
  display: flex;
}

#cart .quantity-btn {
  border: 1px solid var(--color-black);
  border-radius: 0;
  background-color: var(--color-brown-light);
  cursor: pointer;
  color: black;
  margin: 0;
  padding: 0.5rem;
}

#cart .quantity-btn[disabled] {
  cursor: default;
  color: var(--color-brown-light);
}

#cart .quantity-input {
  background-color: var(--color-brown-light);
  border-width: 1px 0;
  border-style: solid;
  border-color: var(--color-black);
  outline: none;
  text-align: right;
  padding-right: 0.2em;
  width: 3rem;
}

#cart hr {
  border-top: 0.1rem solid;
  color: black;
  width: 100%;
  margin: 3rem 0;
}

#cart .total-div {
  margin-left: auto;
}

#cart .total-div {
  font-size: 1.25em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5rem;
  justify-content: end;
}

#cart .total-price {
  text-align: right;
}

/*オーダー完了画面*/
#order-complete .order-div {
  font-size: 1.4em;
  margin-bottom: 5rem;
}

/*COMPANY*/
#company .company-section {
  border: 1px solid #534741;
  padding: 5rem;
}

#company .company-section .section-div {
  margin: auto;
}

#company .company-section dl {
  border-top: 1px solid #534741;
  display: flex;
  margin: 0rem;
  padding: 1rem 2rem;
}

#company .company-section dt {
  font-weight: normal;
  margin-right: 2rem;
  width: 6em;
  min-width: 6em;
}

#company .company-section .company-dl {
  margin-top: 3rem;
}

#company .company-section .employee-dl {
  border-bottom: 1px solid #534741;
  padding-bottom: 1rem;
}

#company .company-section .branch-img {
  display: flex;
  align-items: center;
  margin: auto;
  margin-top: 3rem;
  gap: 1rem;
}

#company .company-section .office-img {
  width: 100%;
}

#company .company-section .office div {
  background-color: var(--color-brown);
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

#company .company-section .office-name {
  position: relative;
}

#company .company-section .office-name img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2rem;
  margin-right: 1rem;
  margin-bottom: 0.75rem;
}

#company .contact-div {
  background-image: url(../img/company/contact.png);
  background-size: 100%;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  margin-top: 5rem;
  padding: 2rem 0;
  width: 100%;
}

#company .contact {
  padding-top: 1rem;
  font-size: 1.5em;
  margin-bottom: 2rem;
}

#company .contact-link {
  text-decoration: none;
}

#company .contact-div button {
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 3em;
  color: #fff;
  display: block;
  letter-spacing: 0.4em;
  margin: 5% auto 0;
  padding: 1.5em 6em;
  position: relative;
}

#company .contact-div .bi.bi-arrow-up-right {
  position: absolute;
  right: 2em;
}

/*マイページ*/
#mypage h1.left-h1 {
  margin-bottom: 2rem;
}

#mypage form {
  padding: 0;
}

#mypage section .order-detail {
  border: 1px solid #534741;
  margin: 2rem auto 3rem;
}

#mypage section .order-detail .order-data {
  background-color: var(--color-brown);
  color: #fff;
  padding: 1rem 3rem;
  margin-bottom: 0;
}

#mypage section .order-detail dl {
  display: flex;
  margin-bottom: 0;
}

#mypage section .order-detail dt {
  font-weight: normal;
  margin-bottom: 0;
}

#mypage section .order-data dt,
.total-price dt {
  margin-right: 1rem;
}

#mypage section .order-detail dd {
  margin-bottom: 0;
}

#mypage section .order-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

#mypage section .total-div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 30%;
  margin: auto;
  padding: 0 1rem;
  width: 30%;
}

#mypage section .order-list button {
  border-radius: 0;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  width: 100%;
}

#mypage section .items-list img {
  width: 100%;
}

#mypage section .items-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

#mypage .pagination-nav {
  text-align: right;
}

#mypage .pagination-nav a {
  background-color: var(--color-brown);
  color: #fff;
  display: inline-block;
  padding: 0.5rem;
}

#mypage .pagination-nav .bi::before {
  vertical-align: initial;
}

/*ブランド詳細だけどブランド詳細の指定がコレクション詳細で共通部分がある*/
#brands .brands-logo-section {
  margin-top: 5rem;
}

.brands-logo-section {
  background-color: var(--color-brown-light);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0.2rem 0;
  top: 0;
  z-index: 100;
}

.brands-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.bi-chevron-compact-down {
  font-size: 10rem;
}

.brands-introduction-description {
  margin-bottom: 3rem;
}

.brands-introduction-description dt {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.brands-introduction-description img {
  max-width: 100%;
}

.brands-introduction-main {
  margin: 3rem auto;
  position: relative;
  max-width: var(--width-margined-max);
}

.brand-section {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: opacity 1s;
  scroll-margin-top: 10rem;
}

.brand-section.active {
  opacity: 1;
  position: static;
  pointer-events: all;
}

.brand-section dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.brands-img {
  display: flex;
  justify-content: center;
}

.brands-introduction-main img {
  display: block;
  margin: auto;
}

.brands-introduction-main button {
  border-radius: 50%;
  border: none;
  background-color: var(--color-brown-translucent);
  color: #fff;
  height: 2rem;
  width: 2rem;
}

.button-prev {
  left: 0.5rem;
}

.button-next {
  right: 0.5rem;
}

.brands-introduction {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--width-margined-max);
  margin: auto;
}

.brands-introduction img {
  width: 100%;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: none;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: none;
}

/*コレクション詳細*/
#collection .collections-div {
  text-align: center;
  margin-bottom: 5rem;
}

#collection .collections-div img {
  max-width: var(--width-margined-max);
}

#collections .collections {
  margin-bottom: 4rem;
}

@media screen and (max-width: 1023px) {
  body {
    overflow-x: hidden;
  }

  body > header > nav > a,
  #menu-nav > header > nav > a {
    display: none;
  }

  footer .orders-nav {
    flex-direction: column;
  }

  footer .orders-nav > a {
    height: 20rem;
    width: 100%;
  }

  footer .link-nav1 {
    grid-template-columns: 1fr 1fr;
  }

  footer .link-nav1 .logo {
    margin: 1rem 0 3rem;
    grid-column: 1 / 3;
  }

  footer .link-nav2 {
    align-items: flex-start;
    flex-direction: column;
  }

  footer .link-nav2 .copyright {
    position: static;
    text-align: center;
    width: 100%;
  }

  main.margined-main {
    padding-top: 5rem;
  }

  main h1 {
    margin-bottom: 3rem;
    font-size: 1.5em;
  }

  main h1.left-h1 {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-bottom: 4rem;
  }

  main h1 span {
    padding-top: 0.5rem;
    padding-left: 0;
  }

  div.redirect-div {
    width: 100%;
  }

  form button,
  a.redirect {
    width: 100%;
  }

  form {
    padding: 0rem;
  }

  form button {
    margin-top: 1.5rem;
  }

  form .buttons {
    flex-direction: column;
  }

  form .buttons button {
    margin: 0;
    width: 100%;
  }

  #menu-modal .menu-nav {
    padding: 2rem;
    width: 100%;
  }

  #menu-modal .menu-nav header {
    padding: 0 0 4rem;
  }

  #menu-modal .menu-nav h1 {
    display: none;
  }

  #menu-modal .menu-nav ul li {
    text-align: center;
  }

  #menu-modal .buttons {
    flex-direction: column;
    margin: 0;
  }

  .text,
  .text-dd {
    line-height: 2rem;
  }

  .text p,
  .text dd {
    text-align: center;
  }

  .text p,
  div.text {
    word-break: keep-all;
  }

  .collections,
  .brands {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .brand-section {
    margin-bottom: 4rem;
    scroll-margin-top: 1rem;
  }

  .brand-section dt,
  .brand-section dd {
    box-sizing: border-box;
    padding: 0 2rem;
  }

  .brands .brand {
    aspect-ratio: auto;
    height: 5rem;
  }

  .brands-logo-section {
    position: static;
  }

  .brands-introduction-main {
    width: 100%;
    max-width: 100vw;
  }

  .brands-introduction {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 0 2rem;
  }

  #index section {
    margin-bottom: 4rem;
  }

  #index .swiper-wrap {
    margin-bottom: 2rem;
    width: 100vw;
  }

  #index section {
    margin-bottom: 4rem;
  }

  #index .swiper-wrap {
    margin-bottom: 2rem;
    width: 100vw;
  }

  #index .collections {
    padding-bottom: 4rem;
    position: relative;
    margin-bottom: 8rem;
  }

  #index .collections h2 {
    position: static;
  }

  #index .collections nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #index .collections nav a {
    padding: 1rem 5rem;
  }

  /*ご注文完了*/
  #order-complete .order-div {
    font-size: 1.2em;
    margin-bottom: 3rem;
  }

  #order-complete h1,
  #contact-complete h1 {
    margin-bottom: 3rem;
  }

  /*お問い合わせ完了画面*/
  #contact-complete hr {
    margin: 0 0 3rem 0;
    width: 20em;
  }

  #contact-complete div.middle {
    margin-top: 0;
  }

  /*お問い合わせ画面*/
  #contact .privacy-policy {
    text-align: center;
    margin-bottom: 4rem;
  }

  #contact .send-div {
    word-break: keep-all;
    text-align: center;
    line-height: 2rem;
  }

  /*マイページ*/
  #mypage section .order-detail {
    width: 100%;
    position: relative;
  }

  #mypage section form dl {
    margin-bottom: 0;
  }

  #mypage section .total-div .total-price dt {
    word-break: keep-all;
  }

  #mypage section .order-list {
    display: block;
  }

  #mypage section .total-div {
    margin: 0 0 1.5rem;
    width: 100%;
    padding: 0;
  }

  #mypage section .total-div button {
    position: absolute;
    bottom: 0;
    margin-bottom: 2rem;
    width: calc(100% - 4rem);
  }

  #mypage section .items-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  #collection .collections-div img {
    width: 100%;
  }

  /*ブランド詳細*/
  #brands .brands-logo-section {
    margin-top: 2rem;
  }

  /*コレクション詳細画面*/
  #collection main {
    padding: 0;
  }

  #collection .brands-logo-section {
    padding: 0 2rem;
  }

  /*カート画面*/
  #cart .cart-list div {
    text-align: start;
    width: 100%;
  }

  #cart .cart-list .unit-price {
    display: none;
  }

  #cart .list-detail {
    line-height: 1.5rem;
  }

  #cart dt {
    margin-bottom: 0;
  }

  #cart .total-div {
    margin: auto;
    margin-bottom: 4rem;
  }

  #cart div.cart-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  #cart .cart-list .items-img {
    align-self: start;
    grid-area: 1 / 1 / 4 / 2; /*上　左　下　右*/
    width: 100%;
  }

  #cart .cart-list .list-detail {
    grid-area: 1 / 2 / 2 / 3;
  }

  #cart .cart-list .count {
    grid-area: 2 / 2 / 3 / 3;
  }

  #cart .cart-list .price-div {
    grid-area: 3 / 2 / 4 / 3;
  }

  #cart .list-detail {
    padding-left: 0;
  }

  #cart .count a {
    word-break: keep-all;
  }

  #cart .cart-list a {
    margin-right: 0;
  }

  #cart .quantity-btn {
    padding: 0.5rem 0.1rem;
  }

  #cart input {
    padding: 0.5rem 0.1rem;
  }

  #cart hr {
    margin: 2rem 0;
  }

  #cart .total-div {
    font-size: 1em;
    justify-content: initial;
  }

  #cart .total-count {
    margin-right: 0;
  }

  #cart .total-price {
    margin-left: auto;
  }

  /*商品一覧*/
  #items .search-div {
    margin-bottom: 2rem;
  }

  #items .checkbox-div {
    background-color: #eeeae6;
    padding: 0 2rem;
    margin: 0 -2rem 2rem;
    width: 100vw;
    min-height: 3rem;
  }

  #items .menu-check {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    color: var(--color-black);
    display: inherit;
    outline: none;
    text-align: center;
  }

  #items .menu-check::before {
    content: '絞り込み';
  }

  #items input[type='checkbox'] {
   padding: 0.75rem 0;/*Safariでチェックボックスの大きさを変えないためにここでpaddingの調整＋絞り込みの位置の調整*/
  }

  #items .menu-check::after {
    content: '\f282';
    display: inline-block;
    font-family: bootstrap-icons;
    line-height: 1;
    padding-left: 0.5rem;
    vertical-align: -0.125em;
  }

  #items .menu-check:checked:after {
    content: '\f286';
  }

  #items .menu-check ~ * {
    display: none;
  }

  #items .menu-check:checked ~ * {
    display: inherit;
  }

  #items main nav.side-nav {
    margin: 0;
  }

  #items nav form {
    padding: 0;
  }

  #items .search-div input {
    background-color: var(--color-brown-light);
  }

  #items .items-nav-section {
    display: flex;
    flex-direction: column;
  }

  #items main nav.side-nav {
    background-color: transparent;
    width: 100%;
  }

  #items section .introduction-div {
    display: grid;
    grid-template-columns: 1fr;
  }

  /*会社概要*/
  #company .company-section {
    border: none;
    padding: 0;
  }

  #company .company-section dl {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
  }

  #company .company-section dt {
    margin-right: 0;
    margin-bottom: 0.5rem;
    width: initial;
    min-width: initial;
  }

  #company .company-section dd {
    padding-left: 1.5rem;
    line-height: 2rem;
  }

  #company .brand-company {
    word-break: keep-all;
  }

  #company .company-section .branch-img {
    display: flex;
    flex-direction: column;
  }

  #company .contact-div {
    padding: 1rem 0;
    background-size: cover;
    background-position: 50% 0%;
    word-break: keep-all;
  }

  #company .contact {
    margin-bottom: 1rem;
  }

  #company .contact-div button {
    margin: 2rem auto 2rem;
    padding: 1em 2.5em;
  }

  #company .contact-div .bi.bi-arrow-up-right {
    right: 1em;
  }

  /*ログイン登録完了*/
  #activate-complete h1 {
    word-break: keep-all;
    text-align: center;
    line-height: 2rem;
  }
}
