@charset "utf-8";

/* =========================================
   About sub header
========================================= */

.subhead{
  position: relative;
  background: url("../images/about/subhead.jpg") center center / cover no-repeat;
  padding: 88px 0 92px; /* 高さは必要に応じて微調整OK */
}

.subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* テキスト背面：白の半透明パネル */
.subhead__panel{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px;
  background: rgba(255,255,255,.65);
  text-align: center;
}

/* ---- 見出しスタイル（top.css から流用） ---- */
.subhead .section-about__eyecatch{
  margin: 0 0 2px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead .section-about__title{
  margin: 0;
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
}

/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .subhead{
    padding: 72px 0 78px;
  }
  .subhead__panel{
    padding: 30px 18px 34px;
  }
}

@media screen and (max-width: 767px){
  .subhead{
    padding: 52px 0 56px;
  }
  .subhead__inner{
    padding: 0 16px;
  }
  .subhead__panel{
    padding: 22px 14px 26px;
    background: rgba(255,255,255,.72); /* SPは少し濃いめで可読性UP */
  }
  .subhead .section-about__title{
    font-size: 36px; /* top.css のSP相当 */
  }
}

/* =========================================
   理事長挨拶
========================================= */

.greeting{
  background: url("../images/common/back1.jpg") center center / cover no-repeat;
  padding: 72px 0 90px;
}

.greeting__inner{
  max-width: 1080px; /* 画面中央に寄せたい場合の保険 */
  margin: 0 auto;
}

.greeting__head{
  text-align: center;
  margin: 0 0 34px;
}

.greeting__body{
  display: flex;
  align-items: flex-start;
  gap: 42px;
	margin-top: 40px;
}

/* 左画像 */
.greeting__photo{
  flex: 0 0 320px; /* お好みで */
}

/* 写真＋キャプション */
.greeting__figure{
  margin: 0;
  text-align: center;
}

.greeting__caption{
  margin-top: 10px;
  font-size: 0; /* 余計な隙間を消す */
}

.greeting__captionRole{
  display: inline-block;
  font-size: 16px;
  letter-spacing: 0.12em;
  margin-right: 4px;
  color: #333;
}

.greeting__captionName{
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #000;
}

.greeting__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

/* 右テキスト：22px */
.greeting__text p{
  margin: 0;
  font-size: 22px;
  line-height: 2.0;
  letter-spacing: 0.02em;
  color: #2b2b2b;
}

/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .greeting{
    padding: 58px 0 74px;
  }
  .greeting__body{
    gap: 28px;
  }
  .greeting__photo{
    flex-basis: 280px;
  }
  .greeting__title{
    font-size: 42px;
  }
}

@media screen and (max-width: 767px){
  .greeting{
    padding: 44px 0 56px;
  }
  .greeting__head{
    margin-bottom: 22px;
  }
  .greeting__title{
    font-size: 34px;
  }

  .greeting__body{
    flex-direction: column;
    gap: 18px;
  }

  .greeting__photo{
    width: 60%;
    margin: 0 auto;
  }
  /* キャプションSP微調整 */
  .greeting__caption{
    margin-top: 8px;
  }
  .greeting__captionRole{
    font-size: 13px;
  }
  .greeting__captionName{
    font-size: 17px;
  }

  .greeting__text p{
    font-size: 18px;
    line-height: 1.9;
  }
}

/* =========================================
   成光会の理念（理念帯＋行動指針）
========================================= */

.philosophy{
  padding: 70px 0 90px;
  background: #fff; /* 背景が必要なら調整 */
  text-align: center;
}



/* 「地域に根ざした～」帯 */
.philosophy__catch{
  margin: 30px auto 26px;
  width: min(980px, 100%);
  padding: 18px 22px;
  background: #f4efe6;
  border-radius: 999px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

/* 行動指針ボックス（角丸枠） */
.philosophy__box{
  width: min(980px, 100%);
  margin: 60px auto 0;
  padding: 56px 20px 30px; /* ← 見出しが上に乗る分、上padding増やす */
  border: 1px solid #6e6358;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  position: relative;
}

/* 行動指針：角丸枠の上辺に被せて“線を切る” */
.philosophy__boxTitle{
  position: absolute;
  left: 50%;
  top: 0;                          /* 上辺に重ねる */
  transform: translate(-50%, -50%); /* 枠線の中心に被せる */
  margin: 0;
  padding: 0 22px;                 /* ← この分だけ枠線が途切れて見える */
  background: #fff;                /* ← 枠線を隠す（切り欠き効果） */
  font-size: 36px;
  font-weight: 700;
  color: #6e6358;
  letter-spacing: 0.06em;
  line-height: 1.2;
  z-index: 2;
}

/* 前回の“水平罫線”を消す（入れてた場合） */
.philosophy__box::before{
  content: none !important;
}


/* 法令遵守～ */
.philosophy__subTitle{
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  color: #a68d63;
  letter-spacing: 0.03em;
}

/* リスト */
.philosophy__list{
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: inline-block; /* 中央寄せのまま左揃えにする */
  max-width: 820px;
  width: 100%;
}

.philosophy__list li{
  position: relative;
  padding-left: 1.4em;
  font-size: 22px;
  line-height: 2.0;
  color: #000;
  letter-spacing: 0.02em;
}

.philosophy__list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .philosophy__title{ font-size: 42px; }
  .philosophy__catch{ font-size: 30px; }
  .philosophy__boxTitle{ font-size: 30px; }
  .philosophy__subTitle{ font-size: 24px; }
  .philosophy__list li{ font-size: 20px; }
}

@media screen and (max-width: 767px){
  .philosophy{
    padding: 50px 0 60px;
  }

  .philosophy__title{ font-size: 34px; }

  .philosophy__catch{
    font-size: 22px;
    border-radius: 18px; /* SPはピルより角丸の方が収まり良い */
    padding: 14px 14px;
    line-height: 1.6;
    box-sizing: border-box;
    max-width: calc(100% - 32px); /* 画面端に当たらないように */
  }

  .philosophy__box{
    padding: 18px 16px 20px;
    border-radius: 14px;
    box-sizing: border-box;
  }

  .philosophy__boxTitle{
    font-size: 24px;
    /* gapは使っていないので削除（残しても影響なし） */
    padding: 0 14px;                 /* SPは少し狭める */
    max-width: calc(100% - 24px);    /* ← これがはみ出し防止の本体 */
    white-space: nowrap;             /* 行動指針を1行に固定 */
    box-sizing: border-box;
  }

  .philosophy__boxTitle::before,
  .philosophy__boxTitle::after{
    max-width: 140px;
  }

  .philosophy__subTitle{ font-size: 18px; }

  .philosophy__list li{
    font-size: 16px;
    line-height: 1.9;
  }
}


/* =========================================
   医療と介護と福祉の連携
========================================= */

.cooperation{
  background: #f4efe6;
  padding: 70px 0 90px;
  text-align: center;
}



/* 見出し下テキスト：22px/#000 */
.cooperation__lead{
  max-width: 1040px;
  margin: 30px auto 28px;
  text-align: left;
}

.cooperation__lead p{
  margin: 0;
  font-size: 22px;
  line-height: 2.0;
  letter-spacing: 0.02em;
  color: #000;
}



/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .cooperation{
    padding: 58px 0 74px;
  }
  .cooperation__title{
    font-size: 42px;
  }
  .cooperation__lead p{
    font-size: 20px;
  }
}

@media screen and (max-width: 767px){
  .cooperation{
    padding: 46px 0 56px;
  }
  .cooperation__title{
    font-size: 32px;
  }
  .cooperation__lead{
    margin-bottom: 18px;
  }
  .cooperation__lead p{
    font-size: 16px;
    line-height: 1.9;
  }
}

/* =========================================
   法人概要
========================================= */

.outline{
  position: relative;
  background: #fff;
  padding: 0 0 90px; /* 上はグラデ帯があるので0 */
	text-align: center;
}

/* 上部のグラデ帯（高さ約110px） */
.outline__grad{
  height: 110px;
  background: linear-gradient(to bottom, #f4efe6 0%, #ffffff 100%);
}



/* 上段：2カラム */
.outline__top{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
	margin-top: 20px;
  margin-bottom: 70px;
	text-align: left;
}

/* 左画像 */
.outline__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

/* 右：表（dl） */
.outline__table{
  margin: 0;
  padding: 10px 0 0;
	text-align: left;
}

.outline__row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(166,141,99,.7); /* それっぽい点線 */
}

.outline__row:first-child{
  border-top: 1px dashed rgba(166,141,99,.7);
}

.outline__row dt{
  margin: 0;
  color: #cf6b59;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.outline__row dd{
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* 下段：PDFアイコン3つ */
.outline__docs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: start;
  text-align: center;
}

.outline__doc{
  display: grid;
  justify-items: center;
  gap: 18px;
  text-decoration: none;
}

.outline__docTitle{
  font-size: 40px;
  font-weight: 700;
  color: #6e6358;
  letter-spacing: 0.08em;
}

.outline__docIcon{
  width: 120px;   /* アイコンの見た目で調整OK */
  height: auto;
  display: block;
}

/* hover（任意） */
.outline__doc:hover{
  opacity: .85;
}

/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .outline__title{ font-size: 42px; }
  .outline__top{
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }
  .outline__row{
    grid-template-columns: 130px 1fr;
  }
  .outline__docs{
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .outline__docTitle{ font-size: 34px; }
}

@media screen and (max-width: 767px){
  .outline__grad{ height: 90px; }

  .outline__title{
    margin: 34px 0 24px;
    font-size: 32px;
  }

  .outline__row{
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 12px 0;
  }
  .outline__row dt,
  .outline__row dd{
    font-size: 16px;
  }

  .outline__docTitle{ font-size: 28px; }
  .outline__docIcon{ width: 104px; }
	
  .outline__docs{
    grid-template-columns: repeat(3, 1fr); /* ← SPでも横並び */
    gap: 12px;
  }

  .outline__doc{
    gap: 10px;
  }

  .outline__docTitle{
    font-size: 16px;          /* ← 小さくして3つ並べても破綻しにくく */
    letter-spacing: 0.04em;
  }

  .outline__docIcon{
    width: 64px;              /* ← アイコンも縮小 */
  }

}

