@charset "utf-8";
/* CSS Document */
/* =========================================================
   運営事業所セクション 共通スタイル
   ========================================================= */

/* 各事業所セクションの全体余白 */
.office-section {
  margin-bottom: 100px;
}

/* 1. 事業所ヘッダー（アイコン + 名前 + ドット線） */
.office-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.office-title-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.smile-icon {
  width: 50px;
  height: auto;
}

.office-name {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

/* タイトル横のドット線 */
.dot-line {
  flex-grow: 1;
  height: 8px;
  background-image: radial-gradient(#988575 2px, transparent 2px);
  background-size: 15px 15px;
  background-repeat: repeat-x;
  background-position: center;
}
.section-title-wrapper {
  display: flex;
  justify-content: center; /* 横方向の中央 */
  align-items: center;     /* 縦方向の中央（必要であれば） */
  width: 100%;             /* 横幅いっぱいの領域の中で中央にする */
 
}
/* 茶色リボン見出し */
.ribbon-title {
display: inline-block;
    position: relative;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    background: #754c24;
}
/* 連絡先エリア全体の背景 */
.office-contact {
  padding: 40px 20px 0;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
  margin-bottom: 250px;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch; 
  justify-content: center;
  gap: 20px;
}
.contact-label-wrapper {
  display: flex;
  align-items: flex-start; /* 上に揃える */
  padding-top: 10px; /* 少し余白を調整 */
}

/* 相談窓口の丸ラベル */
.office-consult-circle {
  color: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.1rem;
}

/* 中央：事業所情報（上下中央付近に配置） */
.contact-info {
  flex-grow: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 40px; /* イラストと高さを合わせるための調整 */
}

.contact-name {
  color: #754c24;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.contact-address {
  color: #754c24;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.icon-tel, .icon-mail {
  background-color: #754c24;
    color: #fff;
    font-size: 0.8rem;
    padding: 0px 20px;
    border-radius: 50px;
    font-weight: bold;
}
.contact-tel-row {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.tel-number {
  font-size: 2.2rem; /* 少し大きく */
  font-weight: bold;
  text-decoration: none;
}

/* 右：イラスト（下揃え） */
.contact-illust-wrapper {
  display: flex;
  align-items: flex-end; /* 下にぴったりくっつける */
}

.illust-person {
  width: 280px; /* 画像サイズに合わせて調整 */
  height: auto;
  display: block; /* 余分な隙間を消す */
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .office-contact {
    padding-bottom: 0;
  }
  
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-label-wrapper {
    padding-top: 0;
  }
  .contact-name{
	font-size: 1.4rem;
	}
  .contact-info {
    padding-bottom: 20px;
  }

  .tel-number {
    font-size: 1.8rem;
  }

  .illust-person {
    width: 220px;
  }
  .ribbon-title {
    font-size: 1rem;
}
}
/* =========================================================
   運営事業所セクション こころ訪問看護事業所
   ========================================================= */
.office-orange .office-name{
	color: var(--color-orange-dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 全ての行の高さを共通（一番高いものに合わせる）にする魔法の1行 */
  grid-auto-rows: 1fr; 
  gap: 20px;
 margin-bottom: 40px;
}

.service-card {
  background-color: #fffde6;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  
  display: flex;
  flex-direction: column;   /* 中身を縦に並べる */
  justify-content: flex-start; 
  align-items: center;      /* 【左右方向】の中央寄せ */
}

.service-card h4 {
  color: var(--color-orange-mid);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #754c24;
  text-align: justify;
}

/* 3. 下部の注意事項（点線ボックス） */
.info-box-dashed {
  border: 2px dotted #f4ce78;
  padding: 30px 40px;
  background-color: #fff;
}

.info-box-dashed p {
  font-weight: bold;
}

.text-blue-bold { color: #00a0d1; font-weight: bold; }
.text-orange-bold { color:var(--color-orange-dark);  font-weight: bold; }

.info-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.info-list li {

}

.info-list ul {
  list-style: none;
  padding-left: 1.5em;
  margin-top: 5px;
}
.office-orange .office-contact {
  background-color: #fdf2c6;
}
.office-orange .office-consult-circle {
  background-color: var(--color-orange);
}
.office-orange .tel-number {
  color: var(--color-orange-dark);
}
/* =========================================================
   レスポンシブ (スマホ)
   ========================================================= */
/* --- タブレット・中間サイズ（例: 950px以下） --- */
@media (max-width: 950px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr); /* 3列から2列へ */
  }
}
@media (max-width: 850px) {
  .office-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dot-line {
    display: none; /* スマホではドット線を非表示に */
  }

  .office-name {
    font-size: 1.5rem;
  }


  .info-box-dashed {
    padding: 10px;
  }
}


/* --- スマホ・小画面（例: 600px以下） --- */
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr; /* 1列へ */
    gap: 15px;
  }

  /* 1列の時に横に広がりすぎて不自然になるのを防ぐ */
  .service-card {
    max-width: 450px; /* カードが広がりすぎない限界の幅 */
    margin-left: auto; /* 中央寄せ */
    margin-right: auto; /* 中央寄せ */
    width: 100%;
  }
}



/* =========================================================
   運営事業所セクション こころ定期巡回・随時対応型訪問介護看護事業所
   ========================================================= */
.office-green .office-name{
	color: #2d8942;
}

/* 01, 02 の数字付き見出し */
.step-number-title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0px 0 50px;
  border-bottom: 2px dotted #d7edcf;
  color: #3cb053;
}
.step-number-title span {
  font-size: 2rem;
}
.usage-step{
	margin-bottom: 80px;
}
/* 利用方法全体のコンテナ */
.usage-flex-container {
  display: flex;
  align-items: center; /* 上下中央揃え（カンプの印象に合わせる） */
  gap: 40px; /* 図とテキストの間の距離 */
  margin-top: 30px;
}

/* 左：図エリア */
.usage-image-area {
  flex: 1; /* スペースを均等に分ける（図が大きい場合は調整） */
  text-align: center;
}
.flow-image {
  max-width: 100%;
  height: auto;
}

/* 右：テキストエリア */
.usage-text-area {
  flex: 1; /* スペースを均等に分ける */
}

/* ステップリストのスタイル */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  display: flex;
  align-items: flex-start; /* 丸数字を上揃えに */
  gap: 10px; /* 数字とテキストの間 */
  margin-bottom: 15px; /* 行間の距離 */
}

.step-list li:last-child {
  margin-bottom: 0;
}

/* 丸数字（①②③...） */
.step-num {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: -2px; /* 位置の微調整 */
}
/* 1番目：ピンク/赤系 */
.step-list li:nth-child(1) .step-num {
  color: #e9546b; 
}

/* 2番目：エメラルドグリーン系 */
.step-list li:nth-child(2) .step-num {
  color: #00a99d;
}

/* 3番目：オレンジ系 */
.step-list li:nth-child(3) .step-num {
  color: #f19149;
}

/* 4番目：ブルー系 */
.step-list li:nth-child(4) .step-num {
  color: #0071bc;
}

/* 5番目：パープル系 */
.step-list li:nth-child(5) .step-num {
  color: #662d91;
}

/* テキスト本体 */
.step-txt {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #754c24;
}

/* 料金表の並列レイアウト */
.price-block-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.type-label {
  padding: 5px 20px;
  border-radius: 20px;
  color: #fff; /* 色は要調整 */
  font-weight: bold;
  font-size: 0.9rem;
  background-color: #3cb053;
}
.type-text {
  font-weight: bold;
  margin: 0;
  color: #3cb053;
}

.price-table-flex {
  display: flex;
  gap: 30px;
}
.table-unit {
  flex: 1;
}
.table-unit h5 {
  margin-bottom: 10px;
  font-weight: bold;
  color: #754c24;
}
.price-block{
	margin-bottom: 50px;
}
/* 2列のシンプルテーブル */
.item-price-table {
  width: 100%;
  border-collapse: collapse;
  color: #754c24;
  border-top:1px solid #64ad79;
}
.item-price-table th,
.item-price-table td {
  padding: 10px;
  border-bottom: 1px solid #64ad79;
  font-size: 0.95rem;
}
.item-price-table th {
  text-align: center;
  background-color: #ebf4ec; /* 色は要調整 */
  width: 40%;
}
.item-price-table td {
  text-align: right;
  font-weight: bold;
}
.office-green .office-contact {
  background-color: #d7edcf;
  margin-bottom: 300px;
}
.office-green .contact-info {
	max-width: 360px;
}
.office-green .office-consult-circle {
  background-color:#3cb053;
}
.office-green .tel-number {
  color:#2d8942;
}
/* レスポンシブ */
@media (max-width: 850px) {
  .price-table-flex {
    flex-direction: column; /* スマホでは縦並び */
    gap: 30px;
  }
	.price-block-header{
    flex-direction: column;
    align-items: flex-start;
     gap:5px;
	}
	.type-label {
    padding: 5px 10px;
	font-size: 0.8rem;
	}
	.usage-flex-container {
    flex-direction: column; /* タブレット以下では縦並びに */
    gap: 30px;
  }
  
  .usage-text-area {
    width: 100%;
    max-width: 350px; 
    margin: 0 auto;
  }
  .step-txt{
	font-size: 0.8rem;
	}
  .step-num {
  margin-top: -5px;
}
.item-price-table th{
  font-size: 0.8rem;
}
}

/* --- 会社概要セクション全体 --- */
.company-section {
  background-color: var(--color-bg-yellow);
  padding-bottom: 100px;
  position: relative;
  padding: 60px 0 400px;
}

/* 上部のうねうね装飾 */
.company-section .wave-decoration {
  width: 100%;
  height: 50px;
  background-image: url('../images/top/section-wave01.svg');
  background-repeat: repeat-x;
  background-position: top center;
  position: absolute;
  top: -49px;
  left: 0;
}
.company-section .ribbon-both::before {
    background: var(--color-bg-yellow);
}
.company-section .ribbon-both::after {
    background: var(--color-bg-yellow);
}
/* --- 会社情報リスト（ドット線） --- */
.company-info-list {
  max-width: 750px;
  margin: 0px auto 100px;
}
.company-info-list dl{
  border-top: 2px dotted #f18e2c;
}
.info-row {
  display: flex;
  align-items: center; /* 縦の中央揃え */
  padding: 15px 0;
  border-bottom: 2px dotted #f18e2c;
  gap: 20px;
}

.info-row dt {
  width: 200px;
  color: var(--color-orange-dark);
  font-weight: bold;
  flex-shrink: 0;
  padding: 0 20px;
}

.info-row dd {
  margin: 0;
  color: var(--color-brown);
  font-weight: bold;
}

/* --- 連絡先・ラベル共通（位置調整） --- */
.contact-item, 
.main-contact-row,
.tel-fax-group .row,
.base-card .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.main-contact-row {
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
}

/* アイコンラベル */
.icon-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 24px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
}

.icon-label.orange { background-color: var(--color-orange); }
.icon-label.brown { background-color: var(--color-brown); }

/* 電話番号テキスト */
.num {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-brown);
  line-height: 1;
  font-family: sans-serif;
}

.main-contact-row .num {
  font-size: 1.8rem; 
}
.contact-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-orange-dark);
  border-bottom: 2px dotted var(--color-orange-dark);
  padding-bottom: 5px;
  text-align: center;
}
/* --- 拠点カードエリア --- */
.office-cards-container {
  max-width: 900px;
  margin: 0 auto;
}

.base-card {
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
}

.white-card {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.base-card-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.sub-cards-flex {
  display: flex;
  gap: 20px;
}

.sub-cards-flex .base-card {
  flex: 1;
}

.orange-card { background-color: #fdf2c6; }
.orange-card .num{color: #eb6d05;}
.green-card { background-color: #d7edcf; }
.green-card .num{ color: #2d8942;}
.base-card h4 {
  color: var(--color-brown);
  font-size: 1.2rem;
  margin-bottom: 15px;
  height: 3em; /* 2〜3行になっても高さを揃える */
}

.base-card p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.base-card .num {
  font-size: 1.5rem;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .info-row { flex-direction: column; align-items: flex-start; gap: 5px; }
  .info-row dt { padding: 0; width: auto; }
  .main-contact-row { flex-direction: column; align-items: center; gap: 15px; }
  .base-card-content { flex-direction: column; text-align: center; gap: 20px; }
  .sub-cards-flex { flex-direction: column; }
}