@charset "UTF-8";

/* ===============================
   ヒーロー画像
   =============================== */
.hero {
  width: 100%;
  height: 48vh;
  background-image: url("../img/about-img/abput-top.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ※写真上部を暗くし強調効果 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(255,255,255,0));
}



/* ===============================
   main コンテンツ
   =============================== */

.company-wrapper {
  width: 100%;
  margin: -100px auto 110px;
  padding: 0 20px 80px;
  position: relative;
  background-image: url("../img/about-img/23038294.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
}
.about-contents{
	max-width: 900px;
	margin: 0 auto;
}
.page-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #d65288;
  margin: 0 0 40px;
}

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

  /* company-wrapper は100%のまま（背景用） */
  .company-wrapper {
    width: 100%;
  }

  /* 中身だけを85%で中央寄せ */
  .about-contents {
    max-width: none;     /* 900px制限を解除 */
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===============================
   top メッセージ
   =============================== */
.top-message {
  text-align: center;
  width: 100%;
  padding: 100px 0;
  margin: 100px auto 100px;
  line-height: 2.1rem;
}

.top-message h1 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #b34e77;
  line-height: 3rem;
}

.top-message p {
  white-space: normal;
  font-size: 1.15rem;
  line-height: 2.2rem;
}

.top-message span {
  display: inline-block;
  line-height: 3rem;
  font-size: 1.6rem;
  margin-top: 12px;
  letter-spacing: 0.03em;
  color: #964261;
}

/* ===============================
   スマホ（700px以下）
=============================== */
@media screen and (max-width: 700px) {

  .top-message {
    padding: 80px 0;
    margin: 80px auto;
	  
  }

  .top-message h1 {
    padding-top: 50px;
    font-size: 1.5rem;
    line-height: 2.2rem;
  }

  .top-message p {
    font-size: 1rem;       /* ← 確実に効く */
    line-height: 1.9rem;   /* ← 行間も一緒に調整 */
	  text-align: left;
  }

  .top-message span {
    font-size: 1.3rem;     /* ← spanも必ず下げる */
    line-height: 2.2rem;
    margin-top: 8px;
	  text-align: left;
  }
}


/* ===============================
   会社情報 (画像 + dl リスト)
   =============================== */
.section-block {
  margin-bottom: 62px;
}

.section-block h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #d65288;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f6c1d3;
  letter-spacing: 0.03em;
}

/* -----------------------------------------------------------------
   ▼ 画像 + 会社概要の dl リストを横並びレイアウト
----------------------------------------------------------------- */
.company-section-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-top: 20px;
}

.company-photo {
  flex: 0 0 280px;
}

.company-photo img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.18);
}

.company-section-inner .company-list {
  flex: 1;
}

@media screen and (max-width: 700px) {
	.company-photo img{
border-radius: 0px;
	}
}
/* ===============================
   会社情報 dl 行レイアウト
   =============================== */
.company-list .row {
  display: flex;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid #ececec;
}

.company-list .row:last-of-type {
  border-bottom: none;
}

.company-list dt {
  width: 26%;
  font-weight: 700;
  color: #b45d78;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.company-list dd {
  width: 74%;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9rem;
}

.company-list a {
  color: #d65288;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px dotted #d65288;
}

.company-list a:hover {
  opacity: 0.6;
}

/*会社概要下店内写真*/
.company-img{
	display: flex;
	flex-wrap: wrap;
	gap:10px;
	width: 100%;
}
.company-img img{
	max-width: 285px;
}
@media screen and (max-width: 700px) {
	.company-img img{
	max-width: 800px;
		width: 100%;
		margin: 0 auto;
}
}



/* ===============================
   沿革 タイムライン風
   =============================== */
.history-list {
  list-style: none;
  margin-top: 20px;
  padding: 0 0 0 22px;
  border-left: 3px solid #f6c1d3;
}

.history-list li {
  position: relative;
  margin-bottom: 22px;
  padding-left: 12px;
  font-size: 1.05rem;
}

.history-list li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #d65288;
  border-radius: 50%;
}


/* ===============================
   地図エリア
   =============================== */
.map-wrap {
  margin-top: 30px;
}

.map-wrap iframe {
  width: 100%;
  height: 390px;
  border: 0;
  border-radius: 14px;
}


/* ===============================
   レスポンシブ
   =============================== */
@media screen and (max-width: 700px) {

  .hero {
    height: 40vh;
  }

  .company-wrapper {
    margin: -40px auto 80px;
    padding: 0 15px 60px;
  }

  .top-message {
    padding: 0 10px;
    margin: 45px auto 60px;
  }

  .top-message h1 {
    font-size: 1.7rem;
    line-height: 2.6rem;
  }

  .top-message span {
    font-size: 1.4rem;
    line-height: 2.7rem;
  }

  .company-list .row {
    flex-direction: column;
  }

  .company-list dt,
  .company-list dd {
    width: 100%;
  }

  .company-list dt {
    margin-bottom: 5px;
  }

  .map-wrap iframe {
    height: 300px;
  }
}


/* ==========================
   スクロールアニメーション
========================== */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1s ease, transform 1s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}


/* ==========================
   下線アニメーション
========================== */
.section-block h2 {
  position: relative;
  overflow: hidden;
}

.section-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #d65288;
  transition: width 0.8s ease;
}

.section-block h2.visible::after {
  width: 100%;
}

.company-list .row {
  opacity: 0;
  transition: opacity 1s ease;
}

.company-list .row.visible {
  opacity: 1;
}

.history-list li::before {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.history-list li.visible::before {
  opacity: 1;
}

.map-wrap iframe {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.map-wrap iframe.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   ▼ 会社紹介専用レイアウト（改修用）
===================================================== */

.section-company .company-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  margin-top: 40px;
}

.section-company .company-image {
  width: 360px;
  flex-shrink: 0;
}

.section-company .company-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.15);
}



.section-company .company-text {
  flex: 1;
}

.section-company .company-text h2 {
  font-size: 2rem;
  color: #b34e77;
  margin-bottom: 35px;
  border-bottom: 2px solid #f6c1d3;
  padding-bottom: 10px;
}

.section-company .company-text p {
  margin: 8px 0 14px;
  font-size: 1.1rem;
  line-height: 2rem;
  white-space: nowrap;
}

.section-company .company-text a {
  color: #d65288;
  text-decoration: underline;
}

/* dl 全解除（フルリセット） */
.section-company dl,
.section-company dt,
.section-company dd,
.section-company .row {
  all: unset;
}

@media screen and (max-width: 700px) {
  .section-company .company-inner {
    flex-direction: column;
    gap: 30px;
  }

  .section-company .company-image {
    width: 100%;
    margin: 0 auto;
  }

  .section-company .company-text p {
    white-space: normal;
  }
}