/* =========================
   ABOUT page only (about.css)
   ========================= */

/* ページ冒頭：ABOUT見出し＋大きい写真 */
.aboutHero{
  padding: 26px 0 10px;
  text-align: center;
}

.aboutHero__title{
  margin: 0 0 18px;
  font-size: 34px;
  letter-spacing: .12em;
  color: var(--green);
  font-weight: 800;
}

.aboutHero__card{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.aboutHero__img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* INTRO */
.aboutIntro{
  text-align: left;
  max-width: 760px;
}

.aboutIntro__lead{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.aboutIntro__text{
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 2.0;
  color: #333;
}

/* 見出し（ABOUT内用） */
.aboutH2{
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: .08em;
  font-weight: 800;
}

.aboutH2--center{
  text-align: center;
}

/* 代表メッセージ：写真＋本文カード */
.message{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 22px rgba(0,0,0,.08);

  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
}

.message__photo img{
  width: 100%;
  height: auto;
  display: block;
}

.message__text{
  margin: 0;
  font-size: 14px;
  line-height: 2.0;
  color: #333;
}

.message__sign{
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* 傾いた写真2枚 */
.aboutPhotos{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.aboutPhotos__img{
  width: min(320px, 45%);
  border-radius: 18px;
  box-shadow: 0 12px 20px rgba(0,0,0,.10);
  display: block;
}

.aboutPhotos__img--left{ transform: rotate(-6deg); }
.aboutPhotos__img--right{ transform: rotate(6deg); }

/* ===== 経営理念（見本寄せ） ===== */
.philosophyBand{
  background: var(--green);
  padding: 26px 0;                 /* 帯を太く */
  margin: 26px 0 0;
  box-shadow: 0 6px 0 rgba(0,0,0,.06); /* うっすら境界 */
}

.philosophyBand__title{
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 26px;
  letter-spacing: .18em;
  font-weight: 800;

  /* ちょい“丸みのある見出し感” */
  text-shadow: 0 2px 0 rgba(0,0,0,.06);
}

/* 帯の下（クリーム背景にして見本に寄せる） */
#philosophy + .section{
  background: rgba(245, 239, 210, .55); /* クリーム */
  padding-top: 46px;
  padding-bottom: 46px;
}

/* 2カラム（左テキスト / 右写真） */
.philosophy{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}

/* 左：英字キャッチ */
.philosophy__catch{
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* 左：本文（読みやすく） */
.philosophy__body{
  margin: 0;
  font-size: 14px;
  line-height: 2.05;
  color: #333;
  max-width: 520px;
}

/* 右：写真（角丸＋影） */
.philosophy__photo img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
  display: block;
}

/* 下側のブロブ装飾（任意：見本っぽく） */
#philosophy + .section::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
}

/* sectionを擬似要素使えるように */
#philosophy + .section{
  position: relative;
}

/* Responsive */
@media (max-width: 820px){
  .philosophyBand__title{
    font-size: 22px;
    letter-spacing: .14em;
  }

  .philosophy{
    grid-template-columns: 1fr;
  }

  .philosophy__photo img{
    height: 220px;
  }
}


/* 企業概要（dl） */
.company{
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px 18px;
  font-size: 14px;
  line-height: 1.9;
}

.company dt{ color: var(--muted); }
.company dd{ margin: 0; }

/* 地図 */
.company__map{
  margin: 18px auto 0;
  max-width: 720px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
}

.company__map iframe{
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 820px){
  .aboutHero__img{ height: 280px; }

  .aboutIntro{ text-align: center; }
  .aboutIntro__lead,
  .aboutIntro__text{ text-align: left; }

  .message{
    grid-template-columns: 1fr;
  }

  .aboutPhotos{
    flex-direction: column;
    align-items: center;
  }

  .aboutPhotos__img{
    width: min(420px, 100%);
  }

  .philosophy{
    grid-template-columns: 1fr;
  }

  .company{
    grid-template-columns: 120px 1fr;
  }
}
/* ===== ABOUT top area ===== */
.aboutTop{
  padding: 28px 0 10px;
  text-align: center;
}

.aboutTop__title{
  margin: 0 0 18px;
  font-size: 34px;
  letter-spacing: .12em;
  color: var(--green);
  font-weight: 800;
}

/* 小ナビ（> 代表メッセージ…） */
.aboutTopNav{
  display: flex;
  justify-content: center;
  gap: 44px;
  margin: 0 0 18px;
  font-size: 12px;
  color: #333;
}

.aboutTopNav__link{
  text-decoration: none;
  color: #333;
  letter-spacing: .06em;
}

.aboutTopNav__link::before{
  content: ">";
  margin-right: 8px;
  color: var(--muted);
}

.aboutTopHero{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.aboutTopHero__img{
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* ===== Message block (with decorations) ===== */
.aboutMessage{
  position: relative;
  margin-top: 22px;
}

.aboutMessage__grid{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 22px rgba(0,0,0,.08);

  display: grid;
  grid-template-columns: 220px 1fr 80px;
  gap: 22px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.aboutMessage__photo img{
  width: 100%;
  height: auto;
  display: block;
}

.aboutMessage__text{
  margin: 0;
  font-size: 14px;
  line-height: 2.0;
  color: #333;
}

.aboutMessage__sign{
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
/* 見出しをペンの基準にする */
.aboutH2{
  position: relative;
  display: inline-block;  /* 文字幅に合わせる */
  padding-right: 44px;    /* ペン用の余白 */
}

/* ペンを見出しの右に固定 */
.aboutMessage__icon{
  position: absolute;
  top: 2px;
  right: 0;
  z-index: 2;
}

.aboutMessage__icon img{
  width: 34px;
  height: auto;
  display: block;
  opacity: .9;
}



/* ステッカー写真（右上） */
.sticker{
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
  z-index: 3;
}
.sticker--tr{
  width: 120px;
  right: 12px;
  top: 10px;
  transform: rotate(10deg);
}

/* ブロブ（ABOUT専用） */
.aboutBlob{
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: .28;
  will-change: transform;
}

.aboutBlob--a{
  width: 320px;
  left: -140px;
  top: -40px;
  animation: aboutBlobA 9s ease-in-out infinite;
}

.aboutBlob--b{
  width: 260px;
  right: -120px;
  bottom: -40px;
  opacity: .22;
  animation: aboutBlobB 7s ease-in-out infinite;
}

@keyframes aboutBlobA{
  0%,100%{ transform: translate3d(0, 0, 0); }
  50%    { transform: translate3d(-6px, 18px, 0); }
}
@keyframes aboutBlobB{
  0%,100%{ transform: translate3d(0, 12px, 0); }
  50%    { transform: translate3d(6px, 0, 0); }
}

/* 下の傾き写真 */
.aboutTiltRow{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.aboutTilt{
  width: min(320px, 45%);
  border-radius: 18px;
  box-shadow: 0 12px 20px rgba(0,0,0,.10);
  display: block;
}

.aboutTilt--left{ transform: rotate(-6deg); }
.aboutTilt--right{ transform: rotate(6deg); }

/* Responsive */
@media (max-width: 820px){
  .aboutTopNav{ gap: 18px; flex-wrap: wrap; }
  .aboutTopHero__img{ height: 280px; }

  .aboutMessage__grid{
    grid-template-columns: 1fr;
  }

  .aboutMessage__icon{ display: none; }
  .sticker{ display: none; }

  .aboutTiltRow{
    flex-direction: column;
    align-items: center;
  }
  .aboutTilt{ width: min(420px, 100%); }
}



@media (max-width: 520px){
  /* 代表メッセージ全体を少し締める */
  .aboutMessage{
    padding-top: 8px;
  }

  /* 代表写真：大きすぎ問題の解消 */
  .aboutMessage__photo img{
    max-width: 140px;      /* ← ここが肝。200〜240で調整可 */
    margin: 0 auto 8px;    /* 下に少しだけ余白 */
    display: block;
  }

  /* 写真が主役にならないように */
  .aboutMessage__photo{
    text-align: center;
  }

  /* 見出しとの距離を詰める */
  .aboutH2{
    margin-top: 6px;
  }
}
/* ===== Company font (business tone) ===== */
.company,
.company * {
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  letter-spacing: .02em;
}

.company dt{
  font-weight: 500;
  color: #666;
}
.company dd{
  font-weight: 400;
  color: #222;
}

/* 代表メッセージ見出しの右にペンを固定 */
.aboutH2{
  position: relative;
  display: inline-block;   /* 文字幅に合わせる */
  padding-right: 44px;     /* ペンの居場所 */
}

.aboutH2__icon{
  position: absolute;
  right: 0;
  top: 2px;                /* 微調整ポイント */
}

.aboutH2__icon img{
  width: 34px;             /* サイズ調整 */
  height: auto;
  display: block;
  opacity: .9;
}
