@charset "utf-8";

/* ======================================================
  パターン
====================================================== */
.ptn-1-1 {
  top: -100px;
}
.ptn-1-2 {
  bottom: -117px;
}
.ptn-2-1 {
  top: -51px;
}
/* ======================================================
   理念　section--mission
====================================================== */
.green-1::before {
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  opacity: 0.5;
  z-index: -1;
  box-shadow: var(--shadow);
}
.pink-1::before {
  bottom: -65px;
  right: 0;
  width: 66%;
  height: 60%;
  opacity: 0.8;
  z-index: -2;
  box-shadow: var(--shadow-right);
}

.section--mission {
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
}

.section--mission .inner {
  position: relative;
  z-index: 2;
}
.mission-back-img {
  width: 100%;
  position: absolute;
  right: 0;
  /* bottom: 0; */
  opacity: 0.2;
}

/* 2カラム */
.mission-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 26px;
}
@media (max-width: 1024px) {
  .green-1::before {
    width: 80%;
    opacity: 0.7;
  }

  .pink-1::before {
    bottom: -65px;
    right: 0;
    width: 66%;
    height: 60%;
    background-color: var(--accent-2);
    opacity: 0.8;
    z-index: -1;
  }
}

@media (max-width: 920px) {
  .green-1::before {
    height: 103%;
  }
}
@media (max-width: 600px) {
  .section--mission {
    position: relative;
    padding-top: 0;
  }
}
/*:::::::::::【左：画像】:::::::::::*/
.m-img-box {
  position: relative;
  display: inline-block;
}
.m-img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 1) 100%
  );
}
.m-img-box img {
  position: relative;
  z-index: 2;

  display: block;
  width: 100%;
  height: auto;

  /* 四角のまま境目をフェード */
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    );
  mask-composite: intersect;
}

/*:::::::::::【右：テキスト】:::::::::::*/
.mission-contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 見出し */
.mission-contents .card-title {
  color: var(--main-color);
  letter-spacing: 0.08em;
  font-size: var(--font-l);
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

/* 本文 */
.mission-contents .card-text {
  text-align: justify;
  line-height: 2.05;
}

@media (max-width: 1024px) {
  .mission-layout {
    grid-template-columns: 1fr;
  }

  .mission-contents .card-text {
    padding: 0 25px;
  }
}
@media (min-width: 413px) and (max-width: 480px) {
  .mission-contents .card-title {
    white-space: nowrap;
  }
}

/* ======================================================
   大切にしていること　section--values
====================================================== */
.green-2::before {
  top: 43%;
  right: 0;
  width: 75%;
  height: 61%;
  /* transform: translateX(-50%); */
  background-color: var(--main-1);
  opacity: 0.6;
  z-index: -1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-right);
}
.pink-2::before {
  top: 15%;
  left: 0;
  width: 37%;
  height: 61%;
  background-color: var(--accent-2);
  opacity: 0.9;
  box-shadow: var(--shadow);
  z-index: -2;
}

/*:::::::::::【右：テキスト】:::::::::::*/

.values__head {
  text-align: center;
  margin-bottom: 36px;
}

.values__eyebrow {
  letter-spacing: 0.12em;
  font-size: 12px;
  opacity: 0.7;
  margin: 0 0 10px;
}

.values__title {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  margin: 0 0 14px;
}

.values__lead {
  max-width: 42em;
  margin: 0 auto;
  line-height: 2;
  font-weight: 500; /* ←ここが“強調”の主役 */
  opacity: 0.9;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  margin-top: 63px;
}
.values__card {
  position: relative;
  padding: 35px 22px;
  background-color: #fff;
}
.v-frame {
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
}
.values__card_title {
  color: var(--main-color);
}

@media (max-width: 1024px) {
  .values__grid {
    gap: 28px;
  }
  .v-frame {
    top: -29px;
  }
}
@media (max-width: 900px) {
  .values__grid {
    grid-template-columns: 1fr;
    gap: 85px;
  }
  .v-frame {
    top: -44px;
  }
  .values__card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 65px 22px;
    backdrop-filter: blur(6px);
  }

  .values__cardTitle {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.5;
  }

  .values__card p {
    margin: 0 0 10px;
    line-height: 2;
    opacity: 0.92;
  }

  /* “1項目につき1箇所だけ”強くする */
  .values__em {
    font-weight: 500;
    opacity: 1;
    background: linear-gradient(transparent 60%, rgba(120, 190, 170, 0.22) 60%);
    display: inline;
    padding: 0 0.15em;
  }

  .values__quote {
    list-style: none;
    padding: 10px 14px;
    margin: 10px 0;
    border-left: 3px solid rgba(120, 190, 170, 0.55);
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
  }

  .values__quote li {
    margin: 0 0 6px;
    line-height: 1.9;
    font-weight: 500;
    font-style: italic;
  }

  .values__quote li:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .v-frame {
    top: -37px;
  }
}
@media (max-width: 450px) {
  .v-frame {
    top: -23px;
  }
}
/* ======================================================
   三姉妹　section--sisters
====================================================== */
.green-3::before {
  top: 15%;
  left: 0;
  width: 48%;
  height: 93%;
  /* transform: translateX(-50%); */
  background-color: var(--main-1);
  opacity: 0.6;
  z-index: -1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-right);
}
.pink-3::before {
  top: 31%;
  right: 0;
  width: 65%;
  height: 61%;
  background-color: var(--accent-2);
  opacity: 0.9;
  box-shadow: var(--shadow);
  z-index: -2;
}
.pink-3::after,
.green-3::after {
  display: none;
}

@media (max-width: 1024px) {
  .green-3::before {
    height: 85%;
  }
}
/*:::::::::::【リード文】:::::::::::*/
.sisters__lead {
  margin-top: 50px;
  text-align: center;
}
.sisters__lead dt {
  color: var(--main-color);
  font-size: var(--font-m);
  font-weight: 500;
  margin-bottom: 17px;
}
.sisters__lead dd {
  line-height: 1.8;
}
/*:::::::::::【グリッド】:::::::::::*/
/* グリッドの設定 */
.sisters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3人横並び */
  gap: 40px;
  padding: 60px 0;
}

/* 各カードのスタイル */
.sisters {
  padding: 20px;
  background: #fff;
  border-radius: 15px; /* 少し角を丸めて優しく */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* ほんのり浮かせる */
  transition: transform 0.3s ease;
}

.sisters:hover {
  transform: translateY(-10px); /* ホバーで少し浮く */
}
.sisters-content {
  margin-top: 15px;
  padding-top: 5px;
  border-top: 1px solid var(--gray-1);
}
/* 筆記体の英語 */
.sisters-en {
  font-family: "Grey Qo", cursive; /* 筆記体フォント */
  color: var(--main-color);
  font-size: var(--font-xs);
  margin-bottom: -5px;
  opacity: 0.7;
}
.sisters-role {
  font-size: var(--font-m);
}
/* タグのデザイン */
.sisters-tag {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
/* 画像 */
.sis-res {
  display: none;
}

@media (max-width: 1024px) {
  .sisters-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホでは縦1列 */
    gap: 50px;
  }
}
@media (max-width: 900px) {
  .sisters-grid {
    grid-template-columns: 1fr; /* スマホでは縦1列 */
    gap: 50px;
  }
  .sisters {
    padding: 5% 10%;
  }
  .sisters-title {
    margin: 0 0 40px;
  }
  .sisters-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    /* background-color: var(--main-1);
    box-shadow: var(--shadow-right); */
  }
  .sis-pc {
    display: none;
  }
  .sis-res {
    display: block;
  }
  .sisters-content {
    padding: 0 20px;
    margin-top: 0;
    padding-top: 10px;
  }
}
@media (max-width: 600px) {
  .sisters__lead dd {
    text-align: justify;
    padding: 0 20px;
  }
  .sisters-img {
    padding: 40px;
  }
}
@media (max-width: 450px) {
  .sisters-grid {
    padding: 35px 0;
  }
  .sisters-img {
    padding: 25px;
  }
  .sisters-content {
    padding-left: 5px;
    padding-right: 5px;
  }
}
/* ======================================================
  地域への想い　section--community
====================================================== */
.section--community {
  margin-top: 100px;
  margin-bottom: 100px;
  padding-bottom: 100px;
}
.pink-4::before {
  top: 15%;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: var(--accent-2);
  opacity: 0.6;
  z-index: -1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-right);
}
@media (max-width: 1024px) {
  .pink-4::before {
    height: 140%;
  }
  .section--community {
    margin-top: 0;
  }
}
@media (max-width: 920px) {
  .pink-4::before {
    height: 100%;
  }
}
/*:::::::::::【左：テキスト】:::::::::::*/
.community__left {
  position: relative;
  z-index: 2;
}

/* 見出し */
.community-sec__head {
  width: 100%;
  position: absolute;
  top: -30px;
  left: 30%;
  margin-top: 0;
}

/* 2カラムレイアウト */
.community {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  position: relative;
}

/* 白いカード（浮いてる感じ＋影） */
.community-card {
  position: relative;
  bottom: -100px;
  background: var(--main-color);
  padding: 52px 56px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  transform: translateX(130px); /* 写真側へ“食い込む” */
}

/* 枠（角が落ちたフレームっぽい） */
.community-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid #fff;
  clip-path: polygon(
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px),
    0 18px
  );
  pointer-events: none;
}
.rectWrap {
  position: relative;
  width: auto;
  height: 300px;
  margin: 20px auto;
  background: #fff;
}

/* 赤い四角（基準） */
.rect {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 404px;
  height: 240px;
  border: 2px solid var(--main-color);
  background: transparent;
  box-sizing: border-box;
  z-index: 2;
}

/* 八角形を“四角を基準に”配置する */
.octa {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 447px;
  height: 294px;
  pointer-events: none;
  z-index: 1;
}

/* solid */
.octa--solid polygon {
  fill: none;
  stroke: var(--main-color);
  stroke-width: 3;
}

/* dashed（任意） */
.octa--dash {
  z-index: 1;
}
.octa--dash polygon {
  fill: none;
  stroke: var(--main-color);
  stroke-width: 2;
  stroke-dasharray: 10 10;
}
/* テキスト */
.community-text-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.community-card__lead {
  line-height: 2;
  font-size: 14px;
  text-align: center;
}

.community-card__quotes {
  margin: 12px 0 18px;
  text-align: center;
}

.community-card__quotes p {
  margin: 0;
  line-height: 2.1;
  font-size: 14px;
}

.community-card__text {
  margin: 0;
  line-height: 2;
  font-size: 14px;
  text-align: center;
}

/*:::::::::::【右：写真】:::::::::::*/
.community__right {
  position: relative;
  z-index: 1;
}

.community-media {
  margin: 0;
}

.community-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px; /* 角がピシッとしてるなら 0 に */
}

@media (max-width: 1024px) {
  .community-sec__head {
    left: 0;
  }
  .community {
    grid-template-columns: 1fr 1fr;
  }
  .rectWrap {
    width: 493px;
  }
  .community-card {
    padding: 0;
    transform: translateX(0);
    margin: 0 auto;
  }
  /*:::::::::::【右：写真】:::::::::::*/
  .community-media {
    margin: 0;
    width: 400px;
  }
  .community__right {
    right: 30%;
  }
}
@media (max-width: 920px) {
  .community {
    grid-template-columns: 1fr;

    row-gap: 22px;
  }

  .community-sec__head {
    margin-bottom: 24px;
    position: static;
  }
  .rectWrap {
    width: 100%;
    /* height: 90%; */
  }
  .rect {
    width: 90%;
  }
  .octa {
    width: 100%;
    height: 100%;
  }
  .community-card {
    transform: none; /* スマホは重ねない */
    padding: 40px 22px;
    bottom: 0;
  }

  .community-card::before {
    inset: 14px;
  }
  /*:::::::::::【右：写真】:::::::::::*/
  .community-media {
    width: 100%;
  }
  .community__right {
    right: 0;
  }
}

@media (max-width: 600px) {
  .section--community {
    margin-bottom: 0;
  }
  .community-sec__head {
    margin-bottom: 0;
  }

  .rect {
    height: 85%;
  }
  .community-text-box {
    padding: 10px 25px;
  }
}
