@charset "utf-8";

/* SECTION ABOUT */

#about h4, #staff h4 {
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.56rem;
}

.about_text-box_item {
    margin-bottom: 2.5rem;
}

.about_text-box_item:last-of-type {
    margin-bottom: 0;
}

/* philosophy */

#philosophy-box {
    margin-bottom: 6.25rem;
}

#philosophy-box .about_title-box {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.13rem;
}

#philosophy-box .about_slogan {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.13rem;
}

/* About Details */

#about_details-box {
    margin-bottom: 6.25rem;
}

/* Boss & Staff */

.boss_text-box,
.staff_text-box {
    width: 64.7%;
}

@media screen and (max-width: 412px) {
    .boss_text-box,
    .staff_text-box {
        width: 100%;
    }
}

#boss-box figure,
#staff .staff_left {
    width: 27.45%;
}

#boss-box .staff-name,
.staff_left .staff-name {
    font-size: 1.5rem;
}

@media screen and (max-width: 412px) {
    #boss-box figure,
    #staff .staff_left {
        width: 100%;
        margin-bottom: 3.13rem;
    }
}

@media screen and (max-width: 412px) {
    #boss-box figcaption {
        margin-bottom: 3.13rem;
    }
}

@media screen and (max-width: 412px) {
    #staff .staff_left .staff-etc img {
        width: 50%;
    }
}



.about_boss_img-box {
    width: 100%;
    aspect-ratio: 14 / 19;
    overflow: hidden;
    position: relative;
    border-radius: 1.88rem;
    margin-bottom: 3.13rem;
}

.about_boss_img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.name-box {
    margin-bottom: 3.13rem;
    position: relative;
}

.name-box::after {
    content: "";
    display: block;
    position: absolute;
    width: 1.88rem;
    border-bottom: 4px solid #A6381B;
    bottom: -1.56rem;
    left: 0;
}

.post-name {
    font-size: 1rem;
    line-height: 1rem;
    margin-bottom: 1.25rem;
}

.staff-name {
    font-weight: 900;
}

.license-box, .lixil-box, .special-box {
    font-size: 1rem;
}

.license-box, .lixil-box {
    margin-bottom: 1.25rem;
}

.lixil-box dd img {
    transition: .5s all;
    width: 100%;
}

@media screen and (max-width: 412px) {
    .lixil-box dd img {
        width: 50%;
    }
}

.lixil-box:hover dd img {
    opacity: .7;
    transition: .5s all;
}

#staff li {
    border: 1px solid #A6381B;
    border-radius: 1.88rem;
    background-color: #fff;
    padding: 3.13rem;
    box-sizing: border-box;
    margin-bottom: 3.13rem;
    width: 100%;
}

@media screen and (max-width: 800px) {
    #staff li {
        padding: 5%;
    }
}

#about h4::before, #staff h4::before, #access dt::before {
    content: "";
    display: block;
    width: 0.94rem;
    height: 0.94rem;
    background-color: #A6381B;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -35%);
}

/* READ MORE */

.staff-massage {
  overflow: hidden;
  height: 3.8em;        /* 折りたたみ時の高さ（約2行分） */
  opacity: 0.9;
  transition: opacity 0.6s ease-in-out;
  line-height: 1.8em;   /* 文字の行間（高さ計算用に合わせてください） */
  position: relative;
  margin-bottom: 1rem;
}

.read-more {
  background: #7B2109;
  width: 3.13rem;
  height: 3.13rem;
  border-radius: 50%;
  margin: 1.88rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

/* 下向き矢印 */
.read-more::before {
  content: "";
  display: block;
  width: 0.94rem;
  height: 0.94rem;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  margin-bottom: 0.5rem;
}

/* ✖️バツ印 */
.read-more.close::before,
.read-more.close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform-origin: center;
  border-radius: 0;
  pointer-events: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
}

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

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

/* ////////////////// */
/* SECTION COMPANY */
/* ////////////////// */

#company.content_wrapper_03 {
    margin-bottom: 0;
}

.company_content-box {
    width: 100%;
    border: 1px solid #A6381B;
    border-radius: 1.88rem;
    background-color: #fff;
    padding: 5rem;
    box-sizing: border-box;
}

@media screen and (max-width: 800px) {
    .company_content-box {
        padding: 5%;
    }
}

#company h3 {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media screen and (max-width: 800px) {
    #company h3 {
        margin-bottom: 0;
    }
}

#company tr {
    border-bottom: 1px dashed #333;
}

#company tr:last-of-type {
    border-bottom: none;
}

#company th,
#company td {
    padding: 1.88rem 0;
    border: none;
}

#company tr:last-of-type th,
#company tr:last-of-type td {
    padding: 1.88rem 0 0 0;
}

#company th {
    margin-right: 1.88rem;
    width: 35%;
}

@media screen and (max-width: 800px) {
    #company tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    #company tr th,
    #company tr td {
        display: block;
        width: 100% !important;
        margin-right: 0;
        padding: 0 0 0.5rem 0;
    }

}

/* SECTION ACCESS */

#access .content_wrapper_01 {
    margin-top: 0;
}

#access h3 {
    margin-bottom: 2.5rem;
}

#access dt {
    position: relative;
    padding-left: 1.56rem;
}

#access dd {
    font-weight: 400;
    margin-bottom: 1.88rem;
}

#access .map-box {
    width: 100%;
    height: 40.6rem;
    border-radius: 1.88rem;
    overflow: hidden;
    border: 1px solid #333;
}

#access .map-box iframe {
    width: 100%;
    height: 100%;
}