@charset "UTF-8";
/* ABOUT */
/* ------------------------------ */
/* タイトルエリア */
/* ------------------------------ */
.top-title {
  text-align: left;
  padding: 50px 73px;
  max-width: 1220px;
  margin: 0 auto;
  box-sizing: content-box; /* ← padding込みでmax-widthを守る */
}
@media screen and (max-width: 768px) {
  .top-title {
    padding: 15px 18px;
  }
}
.top-title h2 {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #007e5b;
  font-size: 45px;
  letter-spacing: 0.02em;
  line-height: 1.51;
}
@media screen and (max-width: 768px) {
  .top-title h2 {
    font-size: 30px;
    margin-bottom: -5px;
  }
}
.top-title span {
  font-size: 20px;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .top-title span {
    font-size: 16px;
  }
}
.about-subtitle {
  margin-top: 30px;
  line-height: 2;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.about-subtitle br:first-child {
  display: none;
}
@media screen and (max-width: 768px) {
  .about-subtitle {
    margin-top: 15px;
    line-height: 1.75;
    font-size: 16px;
    letter-spacing: 0.05em;
  }
  .about-subtitle br:first-child {
    display: block;
  }
}
.pagetitlearea {
  background-image: url(../../../images/about/about_head.jpg);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: initial;
  height: 600px;
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 768px) {
  .pagetitlearea {
    background-image: url(../../../images/about/about_head-sp.jpg);
    height: 350px;
  }
}

.main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 73px 0;
  box-sizing: content-box; /* ← padding込みでmax-widthを守る */
}
@media screen and (max-width: 768px) {
  .main {
    padding: 48px 18px 0;
  }
}
/* ------------------------------ */
/* リード */
/* ------------------------------ */
.inner {
  max-width: 1220px;
  margin: 0 auto;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .inner {
    margin: 10px auto 0px;
  }
}
.about-lead {
  line-height: 2;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .about-lead {
    line-height: 1.75;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-align: left;
  }
}
h3 {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #007e5b;
  font-size: 40px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}
@media screen and (max-width: 768px) {
  h3 {
    font-size: 26px;
    letter-spacing: initial;
    margin-bottom: -5px;
  }
}
.about-lead-title {
  text-align: center;
}
.about-lead-title p {
  color: #007e5b;
  font-size: 20px;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .about-lead-title p {
    font-size: 14px;
  }
}
.about-lead-sec {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 60px 0;
}
@media screen and (max-width: 768px) {
  .about-lead-sec {
    gap: 20px;
    padding: 30px 0;
  }
  .about-lead-sec.value {
    padding-bottom: 60px;
  }
}
.about-lead-sec-head {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .about-lead-sec-head {
    font-size: 20px;
    margin-bottom: 15px;
  }
}
.about-lead-sec-head br {
  display: none;
}
@media screen and (max-width: 768px) {
  .about-lead-sec-head br {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .about-lead-sec-text br {
    display: none;
  }
}
.about-lead-sec.vision {
  position: relative;
}
.about-lead-sec.vision::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: #f8f8f8;
  transform: translateX(-50%);
  z-index: -1;
}
.about-lead-sec.mission::before {
  top: -40px;
  height: calc(100% + 40px);
}
.about-lead-sec::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  transform: translateX(-50%);
  z-index: -1;
}
.about-lead-sec.value ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 35px;
  max-width: 900px;
}
@media screen and (max-width: 768px) {
  .about-lead-sec.value ul {
    padding: initial;
  }
}
.about-lead-sec.value li {
  position: relative;
  text-align: initial;
  font-weight: 500;
  font-size: 24px;
}
@media screen and (max-width: 768px) {
  .about-lead-sec.value li {
    width: 100%;
    font-size: 18px;
  }
}
.about-lead-sec.value li::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-right: 10px;
  background: #c0e6db;
}
@media screen and (max-width: 768px) {
  .about-lead-sec.value li::before {
    width: 12px;
    height: 12px;
    margin-right: 8px;
  }
}

/* PCだけ2カラム & 並び替え */
@media (min-width: 769px) {
  .about-lead-sec.value li {
    width: 50%;
  }
  .about-lead-sec.value li:nth-child(1) {
    order: 1;
  }
  .about-lead-sec.value li:nth-child(2) {
    order: 3;
  }
  .about-lead-sec.value li:nth-child(3) {
    order: 5;
  }
  .about-lead-sec.value li:nth-child(4) {
    order: 2;
  }
  .about-lead-sec.value li:nth-child(5) {
    order: 4;
  }
}

/* ------------------------------ */
/* 奥田製薬のあゆみ */
/* ------------------------------ */
/* ＝＝＝＝＝ 創業期 ＝＝＝＝＝ */
.about-history {
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.1em;
  position: relative; /* ←必須 */
  padding-top: 550px;
}
@media screen and (max-width: 768px) {
  .about-history {
    letter-spacing: 0.05em;
    font-size: 16px;
    line-height: 1.75;
    padding-top: 400px;
  }
}
.about-history-founding,
.about-history-transition,
.about-history-current {
  position: relative;
  color: #fff;
  padding: 150px 0;
}
@media screen and (max-width: 768px) {
  .about-history-founding,
  .about-history-transition,
  .about-history-current {
    padding: 50px 0;
  }
}
.about-history-founding::before,
.about-history-transition::before,
.about-history-current::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  margin: 0 calc(50% - 50vw);
}
.about-history-founding::before {
  background-color: rgba(51, 51, 51, 0.9);
  z-index: -1;
}
h4 {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 45px;
  letter-spacing: 0.02em;
  line-height: 1.51;
}
@media screen and (max-width: 768px) {
  h4 {
    font-size: 30px;
    letter-spacing: initial;
  }
}
.about-history-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 45px;
  letter-spacing: 0.02em;
  line-height: 1.48;
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .about-history-title {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 30px;
  }
}
h5 {
  align-items: center; /* 横線を上下中央 */
  display: flex; /* 文字と横線を横並び */
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  line-height: 1.76;
}
@media screen and (max-width: 768px) {
  h5 {
    font-size: 20px;
  }
}
h5::after {
  background-color: #fff; /* 横線の色 */
  content: "";
  flex-grow: 1; /* 横幅いっぱい */
  height: 1px; /* 横線の高さ */
  margin-left: 20px; /* 文字との余白 */
}
@media screen and (max-width: 768px) {
  h5::after {
    margin-left: 10px; /* 文字との余白 */
  }
}
.ah-text-head {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 38px;
  line-height: 1.67;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .ah-text-head {
    font-size: 25px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    margin-bottom: 20px;
  }
}

/* PC（横並び） */
.ah-fhalf {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

/* 並び順を変更 */
.ah-head {
  order: 1;
  width: 50%;
  padding-top: 50px;
}
@media screen and (max-width: 768px) {
  .ah-head {
    width: 100%;
    padding-top: initial;
  }
}
.ah-textwrap {
  order: 2;
  width: 50%;
  padding: 40px 0 0;
}
.founnding02 .ah-textwrap {
  padding-top: 0;
}
.founnding02 .ah-text-head {
  margin-bottom: 0;
  line-height: 1;
}
.about-history-transition {
  padding-top: 100px;
}
@media screen and (max-width: 768px) {
  .about-history-transition {
    padding-top: 55px;
  }
}
.transition01 .ah-textwrap {
  padding-top: 0;
}
.transition01 .ah-text-head {
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .transition01 .ah-text-head {
    margin-bottom: 10px;
  }
}
.transition02 .ah-textwrap {
  padding-top: 0;
  width: 65%;
}
.transition02 .ah-text-head {
  margin-bottom: 0;
  line-height: 1;
}
.transition02.ah-shalf .ah-img {
  width: 35%;
}
@media screen and (max-width: 768px) {
  .transition02 .ah-textwrap {
    width: 100%;
  }
  .transition02.ah-shalf .ah-img {
    width: 100%;
  }
  .transition02 .ah-text-head {
    margin-bottom: 10px;
    line-height: 38px;
  }
}
@media screen and (max-width: 768px) {
  .ah-textwrap {
    width: 100%;
  }
}

.ah-img {
  order: 3;
  width: 45%;
  height: auto;
  margin-top: -142px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .ah-img {
    order: 3;
    width: 100%;
    margin-top: 20px;
  }
  .ah-img img {
    order: 3;
    width: 100%;
    margin-top: initial;
    margin-left: auto;
    display: block;
  }
}
.ah-img::after {
  width: 75%;
  height: 100%;
  content: "";
  display: none;
  background-image: url("../../../images/about/ayumi-02.png");
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  bottom: -65%;
  left: -35%;
}
@media screen and (max-width: 768px) {
  .ah-img::after {
    width: 55%;
    height: 55%;
    bottom: -10%;
    left: 0%;
  }
}

/* SP（縦並び・HTML順そのまま） */
@media screen and (max-width: 768px) {
  .ah-fhalf {
    display: block;
  }
}

.ah-shalf {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  justify-content: space-between;
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .ah-shalf {
    flex-direction: column-reverse;
    margin-top: 50px;
    gap: 20px;
  }
}
.ah-shalf .ah-img {
  width: 45%;
  height: auto;
  margin-top: 0;
  position: relative;
}
@media screen and (max-width: 768px) {
  .ah-shalf .ah-img {
    width: 100%;
  }
  .ah-shalf .ah-img img {
    width: 100%;
  }
}
.ah-shalf .ah-img::after {
  width: 32%;
  height: 100%;
  content: "";
  display: none;
  background-image: url("../../../images/about/ayumi-04.png");
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  bottom: -20%;
  left: 62%;
}
@media screen and (max-width: 768px) {
  .ah-shalf .ah-img::after {
    width: 32%;
    height: 100%;
    bottom: -25%;
  }
}
@media screen and (max-width: 768px) {
  .founding .ah-fhalf .ah-textwrap {
    margin-top: 20px;
    padding-top: 0;
    gap: 0;
  }
  .founding .ah-shalf .ah-textwrap {
    margin-top: 0px;
  }
  .founnding02 .ah-text-head {
    margin-bottom: 10px;
  }
}

/* ＝＝＝＝＝ 転換期 ＝＝＝＝＝ */
.about-history-transition::before {
  background-color: #007e5b;
}
.transition .ah-shalf .ah-img::after {
  display: none;
}
.transition .ah-img::after {
  width: 40%;
  height: 100%;
  content: "";
  display: none;
  background-image: url("../../../images/about/ayumi-06.png");
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  bottom: -30%;
  left: -30%;
}
@media screen and (max-width: 768px) {
  .transition .ah-img::after {
    width: 26%;
    height: 100%;
    bottom: -28%;
    left: 0%;
  }
}
.transition.ah-text-head br {
  display: none;
}
@media screen and (max-width: 768px) {
  .transition.ah-text-head br {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .transition .ah-fhalf .ah-textwrap {
    margin-top: 20px;
  }
}

/* ＝＝＝＝＝ 現在 ＝＝＝＝＝ */
.about-history-current::before {
  background-color: #fff;
}
.about-history-current {
  color: initial;
}
.current h5::after {
  background-color: #333; /* 横線の色 */
}
.current .ah-text-head {
  color: #007e5b;
  text-align: center;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .current .ah-text-head {
    margin-bottom: 10px;
  }
}
.current .ah-fhalf .ah-img::after {
  display: none;
}
.current .ah-fhalf {
  display: block;
}
.current .ah-head {
  padding: initial;
  width: 100%;
}
.current .ah-textwrap {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 60px;
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  .current .ah-textwrap {
    margin: 20px auto;
  }
}

.current .ah-img {
  margin: initial;
  width: 100%;
}
.current .ah-img img:last-child {
  display: none;
}
@media screen and (max-width: 768px) {
  .current .ah-img img:first-child {
    display: none;
  }
  .current .ah-img img:last-child {
    display: block;
    width: 100%;
  }
}
.current .ah-text-head br:last-child {
  display: none;
}
@media screen and (max-width: 768px) {
  .current .ah-text-head br:last-child {
    display: block;
  }
}

/* ------------------------------ */
/* スクロール時に背景画像を固定 */
/* ------------------------------ */
.background {
  position: relative;
  width: 100vw;
  height: 0;
}
.background::before {
  content: '';
  display: block;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2; /* ←完全に背面へ */
  background-image: url("../../../images/about/ah_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .background::before {
    background-image: url("../../../images/about/ah_bg-sp.jpg");
  }
}

/* ------------------------------ */
/* ふわっと出てくるアレ */
/* ------------------------------ */
.box.active {
  opacity: 1;
  top: 0;
}
