@charset "UTF-8";

/* ==================================================
  Base
================================================== */
html.index {
  background-color: #f5f5f5;
}

body.index {
  max-width: 1366px;
  margin: 0 auto;
  font-family: "Shippori Mincho B1", sans-serif;
  padding-top: 6.5rem;
}

section {
  text-align: center;
}

h3.section_head {
  margin-bottom: 3rem;
}

h3.section_head div.p_eng {
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 2rem;
  padding-top: 6.5rem;
  position: relative;
}

h3.section_head div.p_eng::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4.5rem;
  background-color: #9fa0a0;
}

h3.section_head div.sub_title {
  font-size: 2.2rem;
}

h4.section_head {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

h5.section_head {
  font-size: 1.6rem;
  text-align: justify;
  padding: 0 10%;
  margin-bottom: 6rem;
}

@media screen and (width <= 798px) {
  h3.section_head {
    margin-bottom: 3rem;
  }
  
  h3.section_head div.p_eng {
    padding-top: 0;
  }
  
  h3.section_head div.p_eng::before {
    display: none;
  }
  
  h3.section_head div.sub_title {
    font-size: 2.2rem;
  }
  
  h4.section_head {
    font-size: 2.5rem;
  }
}

/* tategaki
-------------------------------------------------- */
.tategaki_wrap {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.1vw, 3rem);
  margin-bottom: 4rem;
}

.tategaki_pic {
  width: 66%;
}

.tategaki_pic img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tategaki_text {
  width: 24%;
  margin-right: 10%;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.tategaki_text_header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.tategaki_text h4 {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  margin: 0;
  order: 1;
  display: flex;
  flex-direction: row;
  gap: clamp(1rem, 1.3vw, 1.8rem);
  align-items: center;
}

.tategaki_text h4 .text {
  font-size: clamp(2.5rem, 5.5vw, 7.5rem);
  display: block;
  letter-spacing: clamp(1rem, 1vw, 1.5rem);
}

.tategaki_text h4 .p_eng {
  font-size: clamp(1.5rem, 2.3vw, 3.2rem);
  color: #666;
  display: block;
}

.tategaki_text h5 {
  font-size: clamp(1.5rem, 2.15vw, 3rem);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  margin: 0;
  order: 2;
}

.tategaki_text p {
  font-size: clamp(0.9rem, 1.1vw, 1.6rem);
  line-height: 1.6;
  writing-mode: initial;
  text-orientation: initial;
  text-align: left;
}

.quartered_pics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.quartered_pic {
  flex: 1 1 calc(50% - 1rem);
  min-width: 0;
  width: 100%;
}

.quartered_pic img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floor_info {
  text-align: left;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.floor_info .floor_plan::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--darkColor);
}

.floor_info .floor_plan {
  font-size: clamp(1rem, 1.6vw, 1.6rem);
  font-weight: bold;
  margin-bottom: 0;
  flex: initial;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.floor_info .floor_plan span {
  font-size: clamp(1.5rem, 3.3vw, 3.3rem);
  color: var(--darkColor);
  margin: 0;
}

.floor_info .area {
  font-size: clamp(1rem, 1.6vw, 1.6rem);
  line-height: 1.8;
}

@media screen and (width <= 798px) {
  .tategaki_wrap {
    flex-direction: column;
    gap: 2rem;
  }

  .tategaki_pic {
    width: 100%;
  }

  .tategaki_text {
    width: 100%;
    margin-right: 0;
    padding: 2rem 1rem;
  }

  .tategaki_text_header {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
  }

  .tategaki_text h4 {
    writing-mode: initial;
    text-orientation: initial;
    order: initial;
    gap: 0.5rem;
    justify-content: center;
  }

  .tategaki_text h4 .text {
    font-size: clamp(2.8rem, 8vw, 4rem);
    margin-bottom: 0.8rem;
    letter-spacing: 0.2rem;
  }

  .tategaki_text h4 .p_eng {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  }

  .tategaki_text h5 {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    writing-mode: initial;
    text-orientation: initial;
    order: initial;
    line-height: 1.4;
  }

  .tategaki_text p {
    font-size: clamp(1.3rem, 3.8vw, 1.6rem);
    text-align: center;
    max-width: none;
    line-height: 1.7;
    padding: 0 1rem;
  }

  .quartered_pics {
    gap: 1rem;
  }

  .quartered_pic {
    flex: none;
  }

  .floor_info {
    flex-direction: column;
    gap: 1rem;
  }

  .floor_info .floor_plan::after {
    display: none;
  }

  .floor_info .floor_plan {
    font-size: clamp(1.3rem, 0.8vw, 1.4rem);
    margin-bottom: 1rem;
  }

  .floor_info .floor_plan span {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
  }

  .floor_info .area {
    font-size: 1.4rem;
  }
}

/* ==================================================
  Header
================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6.5rem;
  background-color: white;
  z-index: 10;
}

.header_inner {
  height: 100%;
  padding: 0 1rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header_left {
  display: flex;
  align-items: center;
}

header .header_left h1 img {
  width: 22.8rem;
}

header .header_right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .header_right img {
  width: 3rem;
  height: auto;
}

.header_link_to_form {
  position: fixed;
  top: 8rem;
  right: 0;
  width: 5rem;
  background-color: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.header_link_to_form a {
  writing-mode: vertical-rl;
  text-decoration: none;
  letter-spacing: 0.2rem;
  text-orientation: mixed;
  font-size: 1.2rem;
  padding: 1.6rem;
  transition: background-color 0.3s, color 0.3s;
}

.header_link_to_form a.hanbai {
  background-color: var(--subColor);
  color: #fff;
}

.header_link_to_form a.hiraya {
  background-color: var(--darkColor);
  color: var(--subColor);
}

.header_link_to_form a:hover {
  background-color: #fff;
  color: var(--darkColor);
}

@media screen and (width <= 798px) {
  header.wrap {
    margin: 0 0.5rem;
  }

  header .header_right img {
    width: 2rem;
    margin-left: 0.5rem;
  }
  
  .header_link_to_form {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
  }

  .header_link_to_form a {
    width: 50%;
    padding: 1.2rem 0;
    font-size: 1.4rem;
    letter-spacing: normal;
    text-align: center;
    text-orientation: initial;
    writing-mode: initial;
  }

  .header_link_to_form a.hiraya {
    color: #fff;
  }

  .header_link_to_form a.hiraya:hover {
    color: var(--darkColor);
  }
}

/* ==================================================
  gnav
================================================== */
.gnav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--bgColordark);
  color: #fff;
  transition: right 0.5s ease-in-out;
  z-index: 100;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .gnav {
    max-width: 46.5rem;
    right: -46.5rem;
  }
}

.gnav.is-open {
  right: 0;
}

.gnav_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 5%;
}

.gnav_close {
  position: absolute;
  top: 3rem;
  right: 3rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 25px;
  height: 40px;
}

.gnav_close_icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.gnav_close_icon::before,
.gnav_close_icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.gnav_close_icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gnav_close_icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gnav_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  width: 100%;
  max-width: 600px;
  margin: auto;
  list-style: none;
}

.gnav_list li {
  flex: 0 1 45%;
  text-align: left;
}

@media screen and (max-width: 450px) {
  .gnav_list {
    gap: 2rem 0;
  }
  .gnav_list li {
    flex-basis: 100%;
  }
}

.gnav_list li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.gnav_list li span {
  display: block;
  font-size: 1.8rem;
  line-height: 1.5;
}

.gnav_list li span.p_eng {
  font-size: 1.4rem;
  color: #aaa;
  margin-top: 0.5rem;
}

.gnav_footer {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
}

/* ==================================================
  Main Visual
================================================== */
#mv h1 {
  width: 100%;
  font-size: 0;
}

#mv h1 picture img,
#mv h1 picture source {
  width: 100%;
}

@media screen and (width <= 798px) {
  #mv h1 picture {
    object-fit: cover;
    object-position: top;
  }
}

/* MV Under
-------------------------------------------------- */
.mv_under {
  background-image: url('../img/mv_under_bg.png');
  background-size: 100%;
  background-position: top;
  position: relative;
}

.mv_under h2 {
  font-size: 2.2rem;
  padding: 2rem 0 3rem;
}

.mv_under .mv_under_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.4rem;
  width: 98.6rem;
  margin: 0 auto;
}

.mv_under .mv_under_inner h3 {
  font-size: 2rem;
  padding: 1.5rem 8rem;
  border: 1px solid var(--subColor);
}

.mv_under .mv_under_inner p {
  text-align: left;
  font-size: 1.4rem;
  line-height: 2.6;
  padding-bottom: 7rem;
}

.mv_sp_pics {
  display: none;
}

@media screen and (1366px <= width) {
  .mv_under {
    height: 52.6rem;
    margin-bottom: 11rem;
  }

  .mv_under .mv_under_pic_1 {
    position: absolute;
    top: 3.5rem;
    right: 13rem;
    max-width: 464px;
  }

  .mv_under .mv_under_pic_2 {
    position: absolute;
    top: 38.5rem;
    right: 22rem;
    max-width: 501px;
  }
}

@media screen and (width <= 1365px) {
  .mv_under {
    background-size: cover;
  }
  .mv_under .mv_under_inner {
    align-items: center;  
    padding-left: 0;
    width: 100%;
  }

  .mv_under .mv_under_pic_1 {
    display: none;
  }

  .mv_under .mv_under_pic_2 {
    display: none;
  }

  .mv_sp_pics {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2%;
    margin-top: -5rem;
    position: relative;
    z-index: 10;
  }

  .mv_sp_pics img {
    width: 40%;
  }
}

@media screen and (width <= 470px) {
  .mv_under .mv_under_inner h3 {
    font-size: 1.5rem;
    width: 100%;
    padding: 1.2rem 3rem;
  }
}

/* ==================================================
  City Life
================================================== */
section#citylife {
  background-color: var(--bgColorlight);
}

#citylife .citylife_pics {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 0 5%;
  margin-bottom: 4rem;
}

#citylife .citylife_pics .citylife_pic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 32.1rem;
}

#citylife .citylife_pics .citylife_pic img {
  width: 100%;
  height: auto;
}

#citylife .citylife_pics .citylife_pic p {
  font-size: 1.6rem;
  text-align: center;
}

#citylife .citylife_pics .citylife_pic p span.time {
  font-size: 2.2rem;
}

#citylife .citylife_map iframe {
  width: 100%;
  height: 45rem;
  margin-bottom: 4rem;
  border: none;
}

#citylife .citylife_map p {
  font-size: 1.8rem;
  text-align: center;
}

@media screen and (width <= 798px) {
  #citylife h5 {
    padding: 0;
    margin-bottom: 3rem;
  }

  #citylife .citylife_pics {
    flex-direction: column;
    padding: 0;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  #citylife .citylife_pics .citylife_pic {
    width: 100%;
    gap: 0;
  }

  #citylife .citylife_map iframe {
    margin-bottom: 2rem;
  }

  #citylife .citylife_map p {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  }
}

/* ==================================================
  Overview
================================================== */
#overview {
  background: url('../img/overview_bg.jpg') no-repeat center top/ 100%;
}

#overview h3.section_head div.p_eng,
#overview h3.section_head div.sub_title {
  color: #fff;
}

#overview dl {
  display: flex;
  flex-wrap: wrap;
  max-width: 95rem;
  margin: 0 auto;
  padding: 0 5%;
}

#overview dt,
#overview dd {
  padding: 1.5rem;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
  display: flex;
  align-items: center;
  background-color: #fff;
}

#overview dt {
  width: 30rem;
  font-weight: bold;
}

#overview dt span {
  display: block;
  padding-left: 33%;
}

#overview dd {
  width: calc(100% - 30rem);
  padding-left: 2.5rem;
  word-break: break-all;
}

#overview dl > dt:nth-child(4n+1),
#overview dl > dd:nth-child(4n+2) {
  background-color: #f5f4f4;
}

@media screen and (width <= 798px) {
  #overview dl {
    padding: 0;
  }

  #overview dt {
    width: 30%;
    font-weight: bold;
  }

  #overview dt span {
    padding-left: 0;
  }

  #overview dd {
    width: 70%;
    padding-left: 2.5rem;
    word-break: break-all;
  }
}

/* ==================================================
  Contact
================================================== */
.contact {
  background: url('../img/contact_bg.jpg') no-repeat center / cover;
  color: #fff;
}

.contact h3.section_head div.p_eng {
  padding-top: 0;
}

.contact h3.section_head div.p_eng,
.contact h3.section_head div.sub_title {
  color: #fff;
}

.contact h3.section_head div.p_eng::before {
  display: none;
}

.contact h4.section_head {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 5rem;
}

.contact .contact_cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.contact .contact_cards .contact_card {
  max-width: 50rem;
  background: linear-gradient(to bottom, #d5c78c, #a29064);
  color: var(--darkColor);
  padding: 0 3rem;
  border-radius: 10px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  border: 1px solid #fff;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.contact .contact_cards .contact_card a {
  text-decoration: none;
  display: block;
}

.contact .contact_cards .contact_card:hover {
  background: linear-gradient(to bottom, #e5d89d, #b3a275);
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
  transform: translateY(-8px) scale(1.02);
}

.contact .contact_cards .contact_card h5 {
  font-size: 3.2rem;
  color: var(--darkColor);
  border-bottom: 1px solid rgb(255, 255, 255, 0.5);
  padding: 3rem;
}

.contact .contact_cards .contact_card div {
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 3rem;
}

.contact .contact_cards .contact_card div::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2rem;
  background: url('../img/contact_icon.svg') no-repeat center / contain;
  margin-right: 0.5rem;
}

@media screen and (798px <=width <= 850px) {
  .contact .contact_cards .contact_card h5 {
    font-size: 2.4rem;
  }
  
  .contact .contact_cards .contact_card div {
    font-size: 1.8rem;
  }
}

@media screen and (width <= 798px) {
  .contact .contact_cards {
    flex-direction: column;
    gap: 2rem;
  }

  .contact .contact_cards .contact_card {
    width: 80%;
    padding: 0 2rem;
  }

  .contact .contact_cards .contact_card h5 {
    font-size: 4.5vw;
    padding: 3rem;
  }
  
  .contact .contact_cards .contact_card div {
    font-size: 3.5vw;
    padding: 2rem;
  }

  .contact h4.section_head {
    text-align: left;
  }
}

/* ==================================================
  Introduction
================================================== */
#introduction.sec_padding {
  padding-top: 16rem;
}

@media screen and (width <= 798px) {
  #introduction.sec_padding {
    padding-top: 8rem;
  }
}

#introduction .header {
  text-align: left;
  color: #fff;
  padding: 7rem 15%;
  background: url('../img/introduction_head_bg.jpg') no-repeat center / cover;
}

#introduction .header h3 {
  font-size: clamp(1.5rem, 3.2vw, 4.1rem);
  line-height: 1.7;
  margin-bottom: 3rem;
}

#introduction .header div.date_time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#introduction .header div.date_time span.head_title {
  font-size: clamp(1rem, 1.9vw, 2.4rem);
}

#introduction .header div.date_time span.date {
  font-size: clamp(1.3rem, 3vw, 3.8rem);
}

#introduction .header div.date_time span.time,
#introduction .header p {
  font-size: clamp(1rem, 1.5vw, 2rem);
}

@media screen and (width <= 798px) {
  #introduction .header {
    padding: 4rem 10%;
  }

  #introduction .header h3 {
    font-size: clamp(1.5rem, 5vw, 4.1rem);
    line-height: 1.7;
    margin-bottom: 3rem;
  }

  #introduction .header div.date_time {
    display: block;
  }

  #introduction .header div.date_time span.head_title {
    font-size: clamp(1rem, 2.8vw, 2.4rem);
  }
  
  #introduction .header div.date_time span.date {
    font-size: clamp(1.3rem, 5vw, 3.8rem);
  }
  
  #introduction .header div.date_time span.time,
  #introduction .header p {
    font-size: clamp(1rem, 2vw, 2rem);
  }
}

@media screen and (width <= 525px) {
  #introduction .header div.date_time {
    display: block;
    font-size: 1.5rem;
  }
}

/* Introduction Pics
-------------------------------------------------- */
#introduction .introduction_pics {
  padding: 8rem 0;
  display: flex;
  gap: 4rem;
}

#introduction .introduction_pic {
  flex: 1;
}

#introduction .introduction_pic img {
  width: 100%;
  height: 35rem;
  object-fit: contain;
  object-position: bottom;
}

#introduction .introduction_pic_text {
  background-color: #fff;
  padding: 3rem;
  text-align: left;
}

#introduction .introduction_pic_text h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

#introduction .introduction_pic_text h4 span{
  font-size: clamp(1rem, 1.8vw, 1.8rem);
}

#introduction .introduction_pic_text h4 span.type {
  font-size: clamp(1.8rem, 4.2vw, 3.9rem);
  font-weight: 600;
}

#introduction .introduction_pic_text h4 span.p_sub {
  font-size: clamp(1.8rem, 4.2vw, 3.9rem);
}

#introduction .introduction_pic_text h5 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  text-align: left;
}

#introduction .introduction_pic_text p {
  font-size: 1.6rem;
  line-height: 1.8;
}

@media screen and (width <= 798px) {
  #introduction .introduction_pics {
    padding: 4rem 0;
    flex-direction: column;
    gap: 3rem;
  }

  #introduction .introduction_pic_text {
    padding: 2rem;
  }

  #introduction .introduction_pic img {
    height: auto;
  }

  #introduction .introduction_pic_text h4 {
    gap: 0.5rem;
  }

  #introduction .introduction_pic_text h4 span{
    font-size: clamp(1rem, 3.3vw, 1.8rem);
  }
  
  #introduction .introduction_pic_text h4 span.type {
    font-size: clamp(1.8rem, 8vw, 3.9rem);
    font-weight: 600;
  }
  
  #introduction .introduction_pic_text h4 span.p_sub {
    font-size: clamp(1.8rem, 8vw, 3.9rem);
  }
}

/* Inspection Info
-------------------------------------------------- */
#introduction .inspection_wrap {
  display: flex;
  align-items: stretch;
  gap: 4rem;
  padding-top: 2rem;
  padding-bottom: 16rem;
}

#introduction .inspection_pic {
  width: 42%;
  order: 2;
}

#introduction .inspection_pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#introduction .inspection_text {
  flex: 1;
  order: 1;
  text-align: left;
  margin-left: 10%;
}

#introduction .inspection_text > a {
  display: inline-block;
  background-color: var(--darkColor);
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.5rem 3rem;
  margin-bottom: 3rem;
  border: solid 1px transparent;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
}

#introduction .inspection_text > a:hover {
  background-color: #fff;
  color: var(--darkColor);
  border: solid 1px var(--darkColor);
}

#introduction .inspection_text h3 {
  font-size: clamp(2rem, 2.8vw, 3.6rem);
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 600;
}

#introduction .inspection_text .card {
  background-color: #f5f5f5;
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 6rem 1fr;
  grid-template-rows: auto auto;
  grid-column-gap: 2.5rem;
  grid-row-gap: 0.5rem;
  align-items: center;
}

#introduction .inspection_text .card:last-child {
  margin-bottom: 0;
}

#introduction .inspection_text .card img {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  width: 100%;
}

#introduction .inspection_text .card h4 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

#introduction .inspection_text .card p {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0;
}

@media screen and (width <= 798px) {
  #introduction .inspection_wrap {
    flex-direction: column;
    gap: 3rem;
    padding: 0 2rem 8rem;
  }

  #introduction .inspection_pic {
    width: 100%;
    order: initial;
  }
  
  #introduction .inspection_text {
    order: initial;
    margin-left: 0;
  }

  #introduction .inspection_text > a {
    display: block;
    text-align: center;
  }
}

/* ==================================================
  Wish
================================================== */
#wish .header {
  text-align: left;
  color: #f5f4f4;
  font-size: clamp(2.5rem, 7.3vw, 10rem);
  margin-bottom: 4rem;
  padding-left: 2rem;
}

#wish .wish_wrap {
  display: flex;
  align-items: stretch;
  gap: 4rem;
}

#wish .wish_pic {
  width: 42%;
}

#wish .wish_pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#wish .wish_text {
  flex: 1;
  text-align: left;
  padding: 0 10% 0 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#wish .wish_text h3 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 600;
}

#wish .wish_text .card {
  border-left: 1px solid var(--darkColor);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

#wish .wish_text .card:last-child {
  margin-bottom: 0;
}

#wish .wish_text .card h4 {
  font-size: clamp(1.6rem, 2.2vw, 2.7rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.5;
}

#wish .wish_text .card p {
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  line-height: 1.8;
  margin: 0;
}

@media screen and (width <= 798px) {
  #wish .header {
    padding: 0 5%;
    margin-bottom: 3rem;
  }

  #wish .wish_wrap {
    flex-direction: column;
    gap: 3rem;
  }

  #wish .wish_pic {
    width: 100%;
  }

  #wish .wish_text {
    padding: 0;
  }

  #wish .wish_text h3 {
    margin-bottom: 2rem;
    text-align: center;
  }

  #wish .wish_text .card {
    margin-bottom: 2rem;
  }
}

/* ==================================================
  About US
================================================== */
#about-us .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

#about-us .cards .card {
  background-color: #f8f8f8;
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
}

#about-us .cards .card img {
  width: 8rem;
  height: 8rem;
  margin-bottom: 2rem;
  object-fit: contain;
}

#about-us .cards .card h5 {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: #333;
}

#about-us .cards .card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

@media screen and (width <= 798px) {
  #about-us .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #about-us .cards .card {
    padding: 3rem 2rem;
    width: clamp(20rem, 68vw, 55rem);
    justify-self: center;
  }

  #about-us .cards .card img {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1.5rem;
  }

  #about-us .cards .card h5 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  #about-us .cards .card p {
    font-size: 1.3rem;
  }
}

/* ==================================================
  Mind
================================================== */
#mind .mind_wrap {
  display: grid;
  grid-template-columns: 1fr 28rem 1fr;
  grid-template-rows: auto auto;
  gap: 4rem 3rem;
  align-items: center;
  max-width: 100rem;
  margin: 6rem auto 0;
  padding: 0 2rem;
}

#mind .mind_icon {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  width: 100%;
}

#mind .mind_text {
  text-align: left;
}

#mind .mind_text h4 {
  font-size: clamp(1.6rem, 2.1vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

#mind .mind_text p {
  font-size: 1.5rem;
  line-height: 1.8;
}

#mind #mind-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

#mind #mind-2 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

#mind #mind-3 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

#mind #mind-4 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

@media screen and (width <= 798px) {
  #mind .mind_wrap {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
  }

  #mind .mind_icon {
    width: 60%;
    max-width: 25rem;
  }

  #mind .mind_text {
    width: 100%;
    
  }

  #mind .mind_text h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  #mind .mind_text p {
    font-size: 1.4rem;
  }
}

/* ==================================================
  FAQ
================================================== */
#faq .faq_wrap {
  text-align: left;
  width: 100%;
  margin-bottom: 7.5rem;
}

#faq .faq_wrap:last-of-type {
  margin-bottom: 0;
}

#faq .faq_wrap .faq_type {
  font-size: 2.7rem;
  margin: 0 20%;
}

#faq .faq_wrap hr {
  color: #c9caca;
  width: 100%;
  margin: 2rem 0;
}

#faq .faq_wrap .faq_item {
  margin: 0 20% 3rem;
}

#faq .faq_wrap .faq_item h4 {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

#faq .faq_wrap .faq_item h4::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2rem;
  background: url('../img/faq_icon.svg') no-repeat center / contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

#faq .faq_wrap .faq_item h4.active::after {
  transform: rotate(180deg);
}

#faq .faq_wrap .faq_item p {
  margin-top: 0.8rem;
  font-size: 2rem;
  display: none;
}

@media screen and (width <= 798px) {
  #faq .faq_wrap hr {
    margin: 1rem 0;
  }

  #faq .faq_wrap .faq_type {
    font-size: 2.3rem;
    margin: 0 2rem;
  }

  #faq .faq_wrap .faq_item {
    margin: 0 2rem 2rem;
  }

  #faq .faq_wrap .faq_item h4 {
    font-size: 1.8rem;
  }

  #faq .faq_wrap .faq_item p {
    font-size: 1.6rem;
  }
}

/* ==================================================
  Footer
================================================== */
footer .logo_wrap {
  text-align: center;
  margin-bottom: 6rem;
}

footer .logo_wrap img {
  width: 33rem;
  height: auto;
}

footer h3.message {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0 1rem;
  color: #fff;
}

footer .infos {
  color: #fff;
  padding: 6rem 0 1rem;
}

footer .infos .shops {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  justify-content: space-between;
}

footer .infos .shops .shop h4.shop_name {
  font-size: 2rem;
  margin-bottom: 1rem;
}

footer .infos .shops .shop p {
  font-size: 1.5rem;
  line-height: 1.8;
}

footer .infos .info {
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 2.5rem auto;
}

#produced-by {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

#produced-by .left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#produced-by .left img {
  height: 3rem;
  width: auto;
}

#produced-by .right img {
  width: 3rem;
  height: auto;
}

@media screen and (width <= 798px) {
  footer .infos {
    padding: 3rem 0 1rem;
  }

  footer .infos .shops {
    justify-content: flex-start;
    flex-direction: column;
    gap: 2rem;
  }

  footer .infos .shops .shop {
    width:100%;
    margin: 0 auto;
  }

  footer .infos .info {
    margin: 2.5rem 2rem;
  }

  footer .logo_wrap {
    margin-bottom: 3rem;
  }

  footer {
    padding-bottom: 4rem;
  }
}


/* ==================================================
  Campaign banner
================================================== */
.cmp-bnr {
  max-width: 95rem;
  margin: 8rem auto 0;
  padding: 0 5%;
}
@media screen and (max-width: 768px) {
  .cmp-bnr {
    margin: 4rem auto 0;
    padding: 0;
  }
}