section {
  position: relative;
  overflow: hidden;
}

.illust-bg {
  background-color: #f7f6f0;
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.illust-bg .bg-obj {
  position: absolute;
  width: 100%;
  height: auto;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.illust-bg .bg-obj:nth-child(1) {
  top: 21.11%;
  left: 0;
  max-width: 46.09%;
  aspect-ratio: 885/1109;
}

.illust-bg .bg-obj:nth-child(2) {
  bottom: 27.77%;
  right: 0;
  max-width: 41.35%;
  aspect-ratio: 397/546;
}

#intro {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
}

#intro .logo img {
  width: 85px;
  margin: 0 auto 40px;
  animation: fade-in 2s ease-in forwards;
}

#intro .text h2,
#intro .text p {
  text-align: center;
  color: #fff;
}

#intro .text h2.little {
  color: var(--color-little);
}

#intro .text p {
  font-size: var(--f20);
  font-weight: 300;
  opacity: 0;
  animation: fade-in-down 1s ease-in forwards;
  animation-delay: 1.8s;
}

#intro .line {
  position: relative;
}

#intro .line::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background-color: #fff;
  margin: 30px auto;
  animation: line-draw 0.6s ease-in-out forwards;
  transform-origin: top;
  transform: scaleY(0);
  animation-delay: 1.2s;
}

@keyframes line-draw {
  0% {
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
  }
}

#about .logo img {
  width: 85px;
  margin: 0 auto 20px;
}

.scroll-event[data-scroll="line-reveal"] {
  animation: line-reveal 1.2s ease-in-out forwards;
  opacity: 0;
}

@keyframes line-reveal {
  0% {
    opacity: 0;
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
  }

  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

#about .history {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 64/7;
}

#about .history .dash-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#about .history .item-wrap {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

#about .history .item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#about .history .item.none {
  visibility: hidden;
}

#about .history .item::after {
  content: "";
  display: block;
  width: 20px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--circle-color);
  border-radius: 100%;
  position: absolute;
}

#about .history .item:nth-child(even)::after {
  top: 36%;
}

#about .history .item:nth-child(odd)::after {
  top: 56%;
}

#about .history .item h3 {
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  position: absolute;
}

#about .history .item:nth-child(even) h3 {
  top: 8%;
}

#about .history .item:nth-child(odd) h3 {
  top: 25%;
}

#about .history .item ul {
  position: absolute;
}

#about .history .item:nth-child(even) ul {
  top: 61%;
}

#about .history .item:nth-child(odd) ul {
  top: 83.33%;
}

#about .history ul li {
  position: relative;
  padding-left: 10px;
  font-weight: 500;
  white-space: nowrap;
}

#about .history ul li::before {
  content: "·";
  position: absolute;
  left: 0;
}

.brand-sec {
  background-image: url("/themes/basic/assets/images/noise_bg.jpg");
  width: 100%;
  height: 100%;
  min-height: 50vw;
  display: flex;
  align-items: center;
}

.brand-sec .text h2 {
  color: var(--color-primary);
  font-size: var(--f55);
  line-height: 1;
}

.brand-sec .text p.sub-tit {
  font-size: var(--font-size-default);
  font-weight: 600;
  line-height: 1;
  color: var(--color-mute);
  padding-left: 10px;
  margin: 0;
  margin-bottom: 15px;
}

.brand-sec .text p {
  font-size: var(--f20);
  margin-top: 40px;
}

.brand-sec .text p + p {
  margin-top: 20px;
}

.brand-sec .bg-obj {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 34.375%;
  height: auto;
  aspect-ratio: 660/455;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.brand-sec .menu-box {
  display: inline-block;
  margin-top: 50px;
  background-color: #f8f7f3;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 20px 0 rgba(34, 30, 22, 0.05);
}

.brand-sec .menu-box h5 {
  font-family: "AritaBuri", serif;
  font-weight: 700;
  transform: rotate(0.04deg);
  line-height: 1;
}

.brand-sec .menu-box p {
  margin-top: 10px;
}

#brand1 .brand-image {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#brand1 .brand-image .image {
  position: absolute;
  width: 100%;
  height: auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#brand1 .brand-image .image:nth-child(1) {
  top: 0;
  right: 23.07%;
  max-width: 36.46%;
  aspect-ratio: 700/480;
}

#brand1 .brand-image .image:nth-child(2) {
  bottom: 0;
  right: 5.2%;
  max-width: 35.41%;
  aspect-ratio: 17/15;
}

#brand2 {
  display: flex;
  column-gap: 8%;
}

#brand2 > div {
  flex: 1;
}

#brand2 .brand-image {
  height: 100%;
}

#brand2 .brand-image .image {
  width: 100%;
  height: auto;
  aspect-ratio: 8/9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#brand3 .brand-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 73%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#brand3 .brand-image .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#interior {
  background-color: #faf9f2;
}

#interior .bg-obj {
  position: absolute;
  top: 15%;
  right: 7%;
  width: 100%;
  max-width: 6.77%;
  height: auto;
  aspect-ratio: 130/500;
  opacity: 0.04;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

#interiorRolling {
  display: block;
  margin-top: 100px;
}

#interiorRolling .swiper-wrapper {
  transition-timing-function: linear;
}

#interiorRolling .swiper-slide {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 3/2;
  position: relative;
  margin: 0;
}

#interiorRolling .swiper-slide .thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#franchise {
  background-color: var(--color-primary);
  background-attachment: fixed;
}

#franchise .container {
  --container-width: 1360px;
}

#franchise .fran-grid {
  --grid-num: 3;
  --grid-t-num: 1;
  --grid-m-num: 1;

  column-gap: 5.88%;
  row-gap: 80px;
}

#franchise .fran-grid .item {
  max-width: 400px;
}

#franchise .fran-grid .item .image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  margin: 0 auto;
  background-color: #eee;
}

#franchise .fran-grid .item .image .bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#franchise .fran-grid .item .text p {
  font-size: var(--f22);
  font-weight: 300;
  line-height: 1.45;
  margin-top: 30px;
}

#costInfo .cost-table {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

#costInfo .cost-table .attach-text {
  display: block;
  margin-bottom: 10px;
  float: right;
  font-size: var(--f16);
  font-weight: 600;
}

#costInfo .cost-table table tr {
  border: none;
}

#costInfo .cost-table table th {
  background-color: var(--color-primary);
  color: #fff;
}

#costInfo .cost-table table td {
  text-align: center;
  background-color: #fff;
  border: 1px solid #e5e5e5;
}

#costInfo .cost-table table td span {
  font-size: var(--font-size-default);
}

#costInfo .cost-table table th,
#costInfo .cost-table table td {
  font-size: var(--f20);
  padding: 25px 0;
}

#contact {
  background-color: #f4f3eb;
  background-attachment: fixed;

  --input-height: 60px;
  --input-font-size: var(--font-size-default);
}

#contact .container {
  --container-width: 1360px;
}

#contact .input-grid {
  --grid-num: 2;
  --grid-t-num: 1;
  --grid-m-num: 1;
  column-gap: 50px;
  row-gap: 0;
}

#contact .form-group {
  display: flex;
  margin-bottom: 35px;
}

#contact .form-group .flex-wrap {
  column-gap: 40px;
  height: var(--input-height);
}

#contact .form-group .label {
  width: 130px;
  font-size: var(--f20);
  line-height: var(--input-height);
}

#contact .form-group label span {
  font-weight: 700;
  text-decoration: underline;
  text-underline-position: under;
}

#contact .form-group .input {
  flex: 1;
  margin: 0;
}

#contact input {
  border-radius: 0;
}

#contact input[type="radio"] + label,
#contact input[type="checkbox"] + label {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

#contact input[type="radio"] ~ label p {
  font-size: var(--input-font-size);
  padding-left: 10px;
}

#contact .form-group .checkbox-attach {
  height: var(--input-height);
}

#contact input[type="radio"]:checked + label {
  background-size: 9px;
}

#contact textarea {
  height: 300px;
  resize: none;
  border-radius: 0;
}

#contact .submit-btn {
  --btn-height: 60px;
  --btn-font-size: var(--f20);
  border-radius: 0;
  min-width: 250px;
  margin: 40px auto 0;
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
}

/* Laptop ( 1200px ~ 1440px)*/
@media all and (min-width: 1200px) and (max-width: 1360px) {
  #about .history {
    aspect-ratio: 1360/208;
    zoom: 0.9;
  }

  #about .history .item-wrap {
    grid-template-columns: repeat(5, 1fr);
  }

  #about .history .item.none {
    display: none;
  }

  .brand-sec {
    padding: var(--divider-gap) 0;
  }

  .brand-sec .text p {
    margin-top: 30px;
  }

  .brand-sec .text p + p {
    margin-top: 15px;
  }

  .brand-sec .bg-obj {
    max-width: 85%;
  }

  .brand-sec .menu-box {
    margin-top: 40px;
    padding: 25px;
  }

  .brand-sec .menu-box p {
    margin-top: 8px;
  }

  #brand1 .brand-image .image:nth-child(1) {
    right: 20%;
    max-width: 35%;
    aspect-ratio: 700 / 580;
  }

  #brand1 .brand-image .image:nth-child(2) {
    right: 3.2%;
    max-width: 38%;
  }

  #brand2 {
    column-gap: 6.5%;
    padding: 0;
  }

  #brand2 .brand-image .image {
    aspect-ratio: 8/11;
  }

  #brand2 .menu-box {
    max-width: 440px;
  }

  #brand2 .menu-box p {
    word-break: keep-all;
  }
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1200px) {
  .illust-bg .bg-obj:nth-child(1) {
    top: unset;
    bottom: 0;
  }

  .illust-bg .bg-obj:nth-child(2) {
    bottom: unset;
    top: -50px;
  }

  #intro .logo img {
    width: 75px;
    margin: 0 auto 30px;
  }

  #intro .line::after {
    height: 50px;
    margin: 20px auto;
  }

  #about .logo img {
    width: 75px;
  }

  #about .history {
    aspect-ratio: 1360/208;
    zoom: 0.8;
  }

  #about .history .item-wrap {
    grid-template-columns: repeat(5, 1fr);
  }

  #about .history .item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  #about .history .item.none {
    display: none;
  }

  .brand-sec {
    padding: var(--divider-gap) 0;
    flex-direction: column;
  }

  .brand-sec .text {
    margin-bottom: 65px;
    text-align: center;
  }

  .brand-sec .text p {
    margin-top: 30px;
  }

  .brand-sec .text p + p {
    margin-top: 16px;
  }

  .brand-sec .bg-obj {
    max-width: 90%;
  }

  .brand-sec .menu-box {
    margin-top: 35px;
    padding: 25px;
  }

  .brand-sec .menu-box p {
    margin-top: 6px;
  }

  .brand-sec .brand-image {
    --img-width: 80%;
    --img-ratio: 3/2;
  }

  #brand1 .brand-image {
    position: static;
    width: var(--img-width);
    margin: 0 auto;
  }

  #brand1 .brand-image .image {
    position: static;
  }

  #brand1 .brand-image .image:nth-child(1) {
    display: none;
  }

  #brand1 .brand-image .image:nth-child(2) {
    max-width: unset;
    aspect-ratio: var(--img-ratio);
  }

  #brand2 {
    flex-direction: column-reverse;
  }

  #brand2::before {
    content: "";
    opacity: 0.45;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #e7e6df;
  }

  #brand2 .brand-image {
    width: var(--img-width);
    margin: 0 auto;
  }

  #brand2 .brand-image .image {
    aspect-ratio: var(--img-ratio);
  }

  #brand3 .brand-image {
    position: static;
    width: var(--img-width);
    max-width: unset;
    margin: 0 auto;
  }

  #brand3 .brand-image .image {
    width: 100%;
    height: auto;
    aspect-ratio: var(--img-ratio);
    background-image: url("/themes/basic/assets/images/brand_03_1.jpg") !important;
  }

  #interior .bg-obj {
    top: 10%;
    max-width: 90px;
  }

  #interiorRolling {
    margin-top: 80px;
  }

  #interiorRolling .swiper-slide {
    max-width: 360px;
  }

  #franchise .fran-grid .item {
    max-width: 100%;
  }

  #franchise .fran-grid .item .image {
    width: 85%;
    margin: 0 auto;
    aspect-ratio: 5/3;
  }

  #costInfo .cost-table table th,
  #costInfo .cost-table table td {
    padding: 22px 0;
  }

  #contact {
    --input-height: 55px;
  }

  #contact .form-group {
    margin-bottom: 30px;
  }

  #contact .form-group .flex-wrap {
    column-gap: 25px;
  }

  #contact .form-group .label {
    width: 110px;
  }

  #contact input[type="radio"] + label,
  #contact input[type="checkbox"] + label {
    width: 20px;
    height: 20px;
  }

  #contact input[type="radio"]:checked + label {
    background-size: 6px;
  }

  #contact .submit-btn {
    --btn-height: 55px;
    margin: 60px auto 0;
  }
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
  .illust-bg {
    background-color: #f7f6f0;
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .illust-bg .bg-obj {
    position: absolute;
    width: 100%;
    height: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .illust-bg .bg-obj:nth-child(1) {
    top: 21.11%;
    left: 0;
    max-width: 46.09%;
    aspect-ratio: 885/1109;
  }

  .illust-bg .bg-obj:nth-child(2) {
    bottom: 27.77%;
    right: 0;
    max-width: 41.35%;
    aspect-ratio: 397/546;
  }

  @supports (-webkit-touch-callout: none) {
    #intro {
      height: 100vh;
      height: -webkit-fill-available;
    }
  }

  #intro .bg {
    background-attachment: scroll;
  }

  #intro .contents {
    width: 90%;
    margin: 0 auto;
  }

  #intro .logo img {
    width: 65px;
    margin: 0 auto 30px;
  }

  #intro .line::after {
    height: 35px;
    margin: 15px auto;
  }

  #about .logo img {
    width: 65px;
  }

  #about .history {
    height: 100%;
    aspect-ratio: auto;
  }

  #about .history .dash-line {
    display: none;
  }

  #about .history .item-wrap {
    display: block;
  }

  #about .history .item.none {
    display: none;
  }

  #about .history .item {
    width: 85%;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
  }

  #about .history .item ~ .item {
    margin-top: 20px;
  }

  #about .history .item::after {
    display: none;
  }

  #about .history .item h3 {
    position: static;
    margin-bottom: 15px;
  }

  #about .history .item ul {
    position: static;
  }

  .brand-sec {
    padding: var(--divider-gap) 0;
    flex-direction: column;
  }

  .brand-sec .text p.sub-tit {
    padding-left: 5px;
    margin-bottom: 10px;
  }

  .brand-sec .text {
    margin-bottom: 50px;
    text-align: center;
    width: 90%;
  }

  .brand-sec .text p {
    margin-top: 30px;
  }

  .brand-sec .text p + p {
    margin-top: 16px;
  }

  .brand-sec .bg-obj {
    max-width: 90%;
  }

  .brand-sec .menu-box {
    margin-top: 30px;
    padding: 20px;
    max-width: 85%;
  }

  .brand-sec .menu-box p {
    margin-top: 6px;
    word-break: keep-all;
  }

  .brand-sec .brand-image {
    --img-width: 85%;
    --img-ratio: 3/2;
  }

  #brand1 .brand-image {
    position: static;
    width: var(--img-width);
    margin: 0 auto;
  }

  #brand1 .brand-image .image {
    position: static;
  }

  #brand1 .brand-image .image:nth-child(1) {
    display: none;
  }

  #brand1 .brand-image .image:nth-child(2) {
    max-width: unset;
    aspect-ratio: var(--img-ratio);
  }

  #brand2 {
    flex-direction: column-reverse;
  }

  #brand2::before {
    content: "";
    opacity: 0.45;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #e7e6df;
  }

  #brand2 .brand-image {
    width: var(--img-width);
    margin: 0 auto;
  }

  #brand2 .brand-image .image {
    aspect-ratio: var(--img-ratio);
  }

  #brand3 .brand-image {
    position: static;
    width: var(--img-width);
    max-width: unset;
    margin: 0 auto;
  }

  #brand3 .brand-image .image {
    height: auto;
    aspect-ratio: var(--img-ratio);
    background-image: url("/themes/basic/assets/images/brand_03_1.jpg") !important;
  }

  #interior .bg-obj {
    top: 6%;
    max-width: 12%;
  }

  #interiorRolling {
    margin-top: 60px;
  }

  #interiorRolling .swiper-slide {
    max-width: 200px;
  }

  #franchise {
    background-attachment: scroll;
  }

  #franchise .content-title h2 {
    line-height: 1.3;
  }

  #franchise .fran-grid {
    row-gap: 50px;
  }

  #franchise .fran-grid .item {
    max-width: 100%;
  }

  #franchise .fran-grid .item .image {
    width: 95%;
    aspect-ratio: 5/3;
    margin: 0 auto;
  }

  #franchise .fran-grid .item .text {
    width: 90%;
    margin: 0 auto;
  }

  #franchise .fran-grid .item .text p {
    font-size: 16px;
    margin-top: 25px;
  }

  #costInfo .cost-table table th,
  #costInfo .cost-table table td {
    font-size: 12.5px;
    padding: 16px 5px;
  }

  #costInfo .cost-table table td span {
    font-size: 11px;
  }

  #contact {
    background-attachment: scroll;
    --input-height: 45px;
    --input-font-size: var(--font-size-default);
  }

  #contact .form-group {
    margin-bottom: 20px;
  }

  #contact .form-group .flex-wrap {
    column-gap: 25px;
  }

  #contact .form-group .label {
    width: 75px;
  }

  #contact input[type="radio"] + label,
  #contact input[type="checkbox"] + label {
    width: 20px;
    height: 20px;
  }

  #contact input[type="radio"] ~ label p {
    padding-left: 7px;
  }

  #contact input[type="radio"]:checked + label {
    background-size: 8px;
  }

  #contact textarea {
    height: 200px;
  }

  #contact .submit-btn {
    --btn-height: 45px;
  }
}
