@charset "utf-8";

/* =========================
   about
========================= */

.content-wrap {
  padding-bottom: 120px;
}

/* =========================
   about FV
========================= */

.about-fv {
  position: relative;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1040px;
  margin: 40px auto 120px;
}

.about-fv::after {
  content: "Josho";
  position: absolute;
  right: -20%;
  bottom: -100px;
  color: rgba(0, 0, 0, 0.04);
  font-family: serif;
  font-size: 200px;
  line-height: 1;
  z-index: -1;
}

/* 左画像2枚 */

.about-fv-img {
  position: relative;
  width: 100%;
  height: 360px;
}

.about-fv-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 右テキスト */

.about-fv-text {
  position: relative;
}

.about-fv-text-img {
  display: block;
  width: 100%;
  max-width: 600px;
  margin-bottom: 34px;
}

.about-fv-text p {
  margin: 0;
  font-size: 13px;
  line-height: 2.25;
  font-weight: 500;
}
/* =========================
   企業理念
========================= */

.about-cont {
  position: relative;
  margin: 0 calc(50% - 50vw) 120px;
  color: #fff;
  overflow: visible;
}

/* 背景 */

.about-cont-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 右側暗幕 */

.about-cont::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0%;
  background: rgba(50, 28, 8, 0.62);
  z-index: 1;
}

/* =========================
   左固定
========================= */

.about-cont-title {
  position: relative;
  z-index: 2;
  padding: 5rem 0 2rem;
  align-self: stretch;
}

.about-cont-title h2 {
  position: relative;
  margin: 0 0 32px;
  font-family: serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.about-cont-title h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  background: #fff;
}

/* =========================
   右テキスト
========================= */

.about-cont-text-wrap {
  position: relative;
  z-index: 2;
  padding: 3rem 15%;
}

.about-cont-text {
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.about-cont-text + .about-cont-text {
  padding-top: 70px;
}

/* MISSION */

.about-cont-text h3:first-child {
  display: inline-flex;
  align-items: center;

  margin: 0 0 28px;
  padding: 6px 14px;

  border: 1px solid #fe4401;
  border-radius: 999px;

  color: #fe4401;

  font-size: 20px;
  line-height: 1;
  letter-spacing: .08em;
}

/* タイトル */

.about-cont-text h4 {
  margin: 0 0 18px;

  font-family: serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

/* 本文 */

.about-cont-text p {
  margin: 0;

  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

/* =========================
   1024px
========================= */

@media screen and (max-width: 1024px) {

  .about-cont-title {
    padding-left: 20%;
  }

  .about-cont-text-wrap {
    padding-right: 8%;
  }

}

/* =========================
   768px
========================= */

@media screen and (max-width: 768px) {
  .about-cont {
    display: block;

    margin-bottom: 90px;
    padding: 70px 32px;

    overflow: hidden;
  }

  .about-cont::after {
    display: none;
  }

  .about-cont-back {
    opacity: .45;
  }

  .about-cont-title {
    padding: 0;
    margin-bottom: 60px;
  }

  .about-cont-title-inner {
    position: static;
  }

  .about-cont-title-img {
    width: 240px;
    height: 300px;
  }

  .about-cont-text-wrap {
    padding: 0;
  }

}

/* =========================
   414px
========================= */

@media screen and (max-width: 414px) {

  .about-cont {
    padding: 50px 20px;
    margin-bottom: 70px;
  }

  .about-cont-title h2 {
    font-size: 22px;
  }

  .about-cont-title-img {
    width: 200px;
    height: 260px;
  }

  .about-cont-text {
    padding-bottom: 40px;
  }

  .about-cont-text + .about-cont-text {
    padding-top: 46px;
  }

  .about-cont-text h3:first-child {
    font-size: 16px;
  }

  .about-cont-text h4 {
    font-size: 22px;
  }

  .about-cont-text p {
    font-size: 12px;
    line-height: 2;
  }

}
/* =========================
   サービス
========================= */

.about-link {
  max-width: 1024px;
  margin: 5rem auto 0;
}

.about-link > h2 {
  position: relative;
  margin: 0 0 56px;
  text-align: center;
  font-family: serif;
  font-size: 2rem;
}

.about-link > h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 14px auto 0;
  background: #7F2200;
}

.about-link-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.about-link-item {
  display: block;
  position: relative;
  text-decoration: none;
  transition: all .5s;
}

.about-link-item:hover {
  opacity: .7;
}

.about-link-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   1024px
========================= */

@media screen and (max-width: 1024px) {
  .about-fv {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

  .about-cont-title {
    padding-left: 22%;
  }

  .about-cont-text-wrap {
    padding-right: 8%;
  }

  .about-link-wrap {
    gap: 36px;
  }
}

/* =========================
   768px
========================= */

@media screen and (max-width: 768px) {
  .about-fv {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 90px;
  }

  .about-fv-img {
    max-width: 360px;
  }

  .about-fv::after {
    font-size: 100px;
    right: 0;
  }

  .about-cont {
    display: block;
    margin-bottom: 90px;
    padding: 70px 32px;
    background: rgba(50, 28, 8, 0.92);
  }

  .about-cont::after {
    display: none;
  }

  .about-cont-back {
    width: 100%;
    opacity: 0.45;
  }

  .about-cont-title {
    padding: 0;
  }

  .about-cont-title img {
    width: 240px;
    height: 300px;
    margin-bottom: 60px;
  }

  .about-cont-text-wrap {
    padding: 0;
  }

  .content-wrap > h3,
  .content-wrap > p {
    max-width: none;
    margin-left: 32px;
    margin-right: 32px;
    color: #000;
  }

  .content-wrap > h3 {
    margin-top: 0;
    border-top: 1px solid #ddd;
  }

  .content-wrap > p {
    border-bottom: 1px solid #ddd;
  }

  .about-link {
    margin-top: 100px;
  }

  .about-link-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* =========================
   414px
========================= */

@media screen and (max-width: 414px) {
  .content-wrap {
    padding-bottom: 80px;
  }

  .about-fv {
    gap: 34px;
    margin: 20px auto 70px;
  }

  .about-fv-img {
    height: auto;
  }

  .about-fv-text-img {
    margin-bottom: 24px;
  }

  .about-fv-text p {
    font-size: 12px;
    line-height: 2;
  }

  .about-fv-text p br {
    display: none;
  }

  .about-fv::after {
    font-size: 64px;
    bottom: -40px;
  }

  .about-cont {
    padding: 50px 20px;
    margin-bottom: 70px;
  }

  .about-cont-title h2 {
    font-size: 22px;
  }

  .about-cont-title img {
    width: 200px;
    height: 260px;
    margin-bottom: 46px;
  }

  .about-cont-text {
    padding-bottom: 40px;
  }

  .about-cont-text + .about-cont-text {
    padding-top: 46px;
  }

  .about-cont-text h3:nth-child(2),
  .content-wrap > h3 {
    font-size: 22px;
  }

  .about-cont-text p,
  .content-wrap > p {
    font-size: 12px;
  }

  .content-wrap > h3,
  .content-wrap > p {
    margin-left: 0;
    margin-right: 0;
  }

  .content-wrap > h3 {
    padding-top: 38px;
  }

  .about-link {
    margin-top: 80px;
  }

  .about-link > h2 {
    margin-bottom: 36px;
    font-size: 24px;
  }
}


