@charset "UTF-8";
/* ============================================================
   土山内科クリニック（純PHP版）
   すべてを統合 → サイトルート直下 style.css 一本を出力する
   （url(img/...) がそのまま生きるので出力先はサイトルート固定）

   ◆ 重要（旧サイト再現のための前提）
   このサイトは html の font-size が 100% → 667px以下で 75% に変わる。
   つまり 1rem は 16px / 12px の2値を持つ。
   そのため正本mixinの font-cg（calc(N / 16 * 1rem) 出力）は使わない。
   旧CSSが px で書いていた箇所は px、rem で書いていた箇所は rem のまま移植する。
   → font-cg を通すと 667px以下で全文字が 0.75 倍になり本番と見た目が変わる。
   詳細は README.md「yuki-site-standard からの意図的な逸脱」参照。

   ◆ 読み込み順は旧サイトの4ファイルのカスケード順を保持している
     旧: css/reset.css → css/responsive.gs.12col.css → style.css → js/meanmenu.css
============================================================ */
/* ============================================
   サイト宣言変数
   SITE_CONFIG.md と必ず同期させること
   値はすべて旧サイト（tsuchiyamanaika.com）の実測値
============================================ */
/**************************
  カラーパレット
  ※命名系統は正本に合わせる
**************************/
/* ============================================
   関数（定義はこのファイルだけ。mixinファイル内での重複定義禁止）
============================================ */
/*-- mixinフォルダの中の_index.scss --*/
/* ============================================
   正本mixin（棚卸し確定版 2026-03）
   これ以外の旧mixinは _m-archive.scss にあり、新規使用禁止
============================================ */
/*------------------------------------
 メディアクエリ MIXIN
---------------------------------*/
/*---------------------
 ★ 文字関連一括指定【全テキスト必須】
-----------------------*/
/*---------------------
 ★ 数値プロパティのvwシームレス可変
-----------------------*/
/*---------------------
 ★ リンク文字色 固定
-----------------------*/
/*---------------------
 ★ コンテナ
-----------------------*/
/*-------------------------------------
   レイアウト汎用（pp- = page-parts）
---------------------------------------*/
/*-----------------------------------
 上下余白（レスポンシブ2値）
-----------------------------------*/
/*-----------------------------------
 左余白（レスポンシブ）※左柱レイアウト採用サイトのみ
-----------------------------------*/
/*-----------------------------------
 改行制御
-----------------------------------*/
/*--------------------------------------------
 行数丸め…省略（複数行対応）
----------------------------------------------*/
/*-----------------------------------
 連続要素の間隔（段落間隔）
-----------------------------------*/
/* ============================================
   英字見出し用フォント ff-系mixin
   サイトごとに中身を差し替える（枠組みは維持）

   ※ 土山内科クリニックは Webフォント・英字見出しフォントを一切使っていない。
     本文は body の font-family（メイリオ系）1本のみ。
     将来英字見出しを入れる場合はここに ff-◯◯ を定義して使う。
============================================ */
/* ============================================================
   リセット（旧テーマ css/reset.css の移植）

   ※ 正本（yuki-site-standard）のリセットではなく旧テーマ独自リセットを
     そのまま移植している。理由: 正本リセットとは
     「見出し・strong の font-weight: normal」「text-align: left / white-space: normal の強制」
     「* img { width: 100% }」などが異なり、差し替えると全ページの見た目が変わるため。
     （移植スキル 大原則2「セレクタと出力値は旧CSSと同一に保つ」）

   旧ファイルから落としたもの（いずれも現在のブラウザで無効 or サイト未使用）:
     - @-ms-viewport（廃止仕様）
     - input, textarea,{...}（セレクタ末尾カンマで規則全体が無効）
     - .clearfix / * html .clearfix / .both / .inline_block（HTML未使用・IEハック）
     - .kotei img / .fs-12 / .tx-l / .tx-r / .kadomaru3,5,10 / span.mk-y / span.mk-p /
       .tst / .box / .f-left / .f-right / hr.style-tow / .m2040 / .mb10 / .mb30 / .mt30 / .mt50
       （HTML未使用）
     - 使用中の汎用クラス（.tx-c / .fs-08 / .tx-bl / 余白 / hr.style-one）は utility層へ移設
============================================================ */
/*リセットCSS*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
  white-space: normal;
  text-align: left;
  outline: 0;
  background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

html {
  overflow-y: scroll;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th {
  text-align: left;
}

a:focus {
  outline: none;
}

/* 画像を横幅可変
   ★このサイトのレイアウトはこの1行に強く依存している（section.Box の画像幅など）。
     等倍で出したい画像は個別に width: auto を当てている（header h2 img / .on720 img） */
* img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* リンク設定
------------------------------------------------------------*/
a:active,
a:focus {
  outline: 0;
}

a {
  overflow: hidden;
  text-decoration: none;
}

a:link {
  color: #400000;
  text-decoration: none;
}

a:visited {
  color: #400000;
  text-decoration: none;
}

a:hover {
  color: #cc3399;
  text-decoration: underline;
}

a:active {
  color: #cc3399;
  text-decoration: underline;
}

a:focus {
  outline: none;
}

/* body
------------------------------------------------------------*/
body {
  margin: 0;
  font-family: "メイリオ", "Hiragino Kaku Gothic Pro", sans-serif;
  font-size: 90%;
  line-height: 1.6em;
}

/* ============================================================
   グリッド（旧テーマ css/responsive.gs.12col.css の移植）
   RESPONSIVE GRID SYSTEM 12col / DENIS LEBLANC / http://responsive.gs / GPL & MIT

   HTMLが .container / .row / .col / .gutters / .span_6 / .span_12 しか使っていないため
   span_1〜span_11 のうち未使用のものは落としている。
   IE7用の `*behavior: url(/scripts/boxsizing.htc)` と -webkit-/-moz- prefix も落とした。
============================================================ */
/* 	SET ALL ELEMENTS TO BOX-SIZING : BORDER-BOX */
* {
  box-sizing: border-box;
}

/*	MAIN CONTAINER */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/*	SELF CLEARING FLOATS - CLEARFIX METHOD */
.container:after,
.row:after,
.col:after,
.clr:after,
.group:after {
  content: "";
  display: table;
  clear: both;
}

/* 	DEFAULT ROW STYLES */
.row {
  padding-bottom: 0em;
}

/* DEFAULT COLUMN STYLES */
.col {
  display: block;
  float: left;
  width: 100%;
}

@media (min-width: 768px) {
  .gutters .col {
    margin-left: 2%;
  }
  .gutters .col:first-child {
    margin-left: 0;
  }
}
/*オリジナル追記　１カラム時に左右天地余白*/
@media (max-width: 768px) {
  .gutters .col {
    padding: 1% 5%;
  }
}
/*	COLUMN WIDTH ON DISPLAYS +768px */
@media (min-width: 768px) {
  .span_6 {
    width: 50%;
  }
  .span_12 {
    width: 100%;
  }
  .gutters .span_6 {
    width: 49%;
  }
  .gutters .span_12 {
    width: 100%;
  }
}
/* ============================================================
   グローバル既定（旧 style.css 冒頭「Font関連／オリジナルレイアウト」の移植）

   ★ rem基準の二段構え（このサイト最大の特徴。絶対に崩さない）
     html は 100%（1rem = 16px）だが 667px 以下で 75%（1rem = 12px）になる。
     rem で書かれた余白・文字サイズ（.m1rem / .flow-step-ti / .left-sp-2rem 等）は
     これで SP 時に 0.75 倍に縮む。これが本番の見た目。
     一方 `* { font-size: 16px }` が全要素の font-size を 16px に固定しているので、
     px 指定の文字は SP でも縮まない。
     → だから正本の font-cg（rem出力）は使えない。README.md 参照。
============================================================ */
/*　基本　16px　*/
* {
  font-size: 16px;
}

html {
  font-size: 100%;
}

@media screen and (max-width: 667px) {
  html {
    font-size: 75%; /* 12px */
  }
}
/*　行間　*/
* {
  line-height: 1.6;
}

/* ページ内リンク・TOPへ戻るのスムーススクロール。
   旧サイトは jQuery の animate() で実装していたものを CSS に置き換えた（意図的変更）。
   JS 側は移動先を計算して scrollTo するだけで、滑らかさはブラウザに任せる。 */
html {
  scroll-behavior: smooth;
}

/*オリジナルレイアウト（body背景）
------------------------------------------------------*/
body {
  background: url(img/concrete_seamless.png);
  background-color: #f8f7ff;
}

/*-- componentフォルダの中の_index.scss --*/
/* ============================================================
   見出し（旧 style.css「h2-h3 見出し」ほかの移植）

   ※ font-size を px のまま書いている理由は style.scss 冒頭のコメント参照
     （このサイトは 667px 以下で 1rem が 12px になるため font-cg が使えない）

   旧ファイルから落としたもの（HTML未使用）:
     h2.page-title / .page-title / .under-line / h3.imgti / h3.b-ti / h3.c-ti / h4.midashi01
============================================================ */
/* 施設基準ページのページタイトル */
.page-ttl {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  padding: 0.6em;
}

/* 各セクションの大見出し（全ページで使用） */
h3.a-ti {
  border-bottom: #cac9ab 2px solid;
  margin: 25px 0 25px;
  padding: 0 0 10px 0;
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 0.08em;
  color: #333;
}

/* 小見出し（初診の方の受付時間） */
.mini-ti {
  margin: 28px 0 10px;
  padding: 4px 0 4px 12px;
  border-left: 4px solid #cac9ab;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #413005;
}

/* 交通アクセスのラベル見出し */
.waku-label {
  padding: 5px;
  margin: 8px 0;
  background: #3b3b3d;
  font-weight: bold;
  border-radius: 5px;
  color: #fff;
}

/* ============================================================
   パネル・枠もの（旧 style.css「汎用レイアウト」「1段組」の移植）

   旧ファイルから落としたもの（HTML未使用）:
     .mainimg / .kadomaru / .kadomaru img / .right-wrap / .left-wrap /
     .left-wrap .gaikan / .left-wrap .name / .top-info 系 / table.top-timetable /
     .guid-info / ol.tejyun / .gaibu / .waku-box01 / .waku-box02 / .guid02 系 /
     ul.shinryou / #trust-form 系・contact-form 系（フォーム一式。サイトにフォームが無い）
============================================================ */
/* MAIN枠（全ページのコンテンツ枠） */
.main-wrap {
  padding: 5%;
  margin: 20px 0;
  background-color: rgba(249, 249, 249, 0.5);
  box-shadow: rgba(122, 122, 122, 0.0588235) 0px 0px 6px 3px;
  border-radius: 3px;
}

/* TOPページ最下部の案内枠 */
.pink-box {
  padding: 5%;
  border: 1px solid #0088d5;
  background-color: rgba(219, 234, 249, 0.4);
  border-radius: 10px;
}

/* 初診の方の受付時間ボックス（TOP・初診の流れで使用） */
.first-visit-box {
  margin: 25px 0;
  padding: 8px 25px 20px;
  background: #f5f5f3;
  border: 1px solid #ddddd5;
  border-radius: 10px;
}
.first-visit-box .mini-ti {
  margin-top: 16px;
}

/* Googleマップ枠（TOP 交通アクセス） */
.gmap {
  position: relative;
}

/* ============================================================
   画像＋テキスト段落 / 3カラム（旧 style.css の移植）
   ※ 旧サイトは display: table / inline-block 組み。flex・grid に置き換えると
     画像幅や行間の計算が変わるのでそのまま維持する
============================================================ */
/* 画像＋テキスト段落 ------------------------------------------- */
section.Box {
  display: table;
  width: 100%;
  border-collapse: separate;
}
section.Box .img {
  display: table-cell;
  box-sizing: border-box;
  vertical-align: top;
  width: 250px;
  padding-right: 30px;
  text-align: center;
}
section.Box img {
  width: 100%;
}
section.Box .text {
  display: table-cell;
  box-sizing: border-box;
  vertical-align: top;
  padding-right: 30px;
}
section.Box .title {
  font-weight: bold;
  font-size: 1.2em;
  /* 旧CSSは color: 000（#抜けで無効）だったため宣言そのものを落とした。
     親から継承する既定色（黒）と結果は同じ */
  margin-bottom: 0;
}
section.Box p {
  margin-bottom: 1.4em;
}
@media screen and (max-width: 768px) {
  section.Box .img {
    display: block;
    width: 100%;
    padding-right: 0;
  }
  section.Box .text {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding-right: 0;
  }
}

/* 3カラム ------------------------------------------------------ */
/* 外枠。font-size: 0 で inline-block の隙間を消している */
.column3-1-wr {
  margin-bottom: 30px;
  box-sizing: border-box;
  font-size: 0;
}

/* 1枠 */
.column3-1 {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  margin-right: 5%;
  font-size: 14px;
}
.column3-1:hover {
  background: #f4f4f4;
}

/* 親から3番目ごとの .column3-1 は右余白なし */
.column3-1-wr .column3-1:nth-of-type(3n) {
  margin-right: 0;
}

.c31-ti {
  color: #006699;
  font-size: 1.2em;
  font-weight: normal;
  margin: 30px 0;
  border-bottom: #ccc solid 1px;
}

.c31-txt {
  font-size: 0.9em;
}

@media screen and (max-width: 768px) {
  .column3-1-wr .column3-1 {
    display: block;
    width: 100%;
  }
  /* テキスト要素をまとめた枠 */
  .c31-block {
    display: block;
    width: 100%;
  }
  .c31-ti {
    margin: 10px 0 10px;
  }
}
/* ============================================================
   テーブル・情報リスト（旧 style.css の移植）

   旧ファイルから落としたもの（HTML未使用）:
     table.top-timetable / table.flowchart 系（div版フローチャートに差し替え済み）
============================================================ */
/* 診療時間・受付時間・院長経歴テーブル -------------------------- */
table.info {
  box-sizing: border-box;
  border-collapse: collapse;
  margin: 5px 0 15px 0;
  width: 100%;
  overflow-x: auto;
  table-layout: fixed;
  /* 曜日ヘッダの改行。480px以下でだけ改行させる */
}
table.info .time {
  width: 120px;
}
table.info td {
  border-collapse: collapse;
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  border: 1px solid #413005;
  line-height: 20px;
}
table.info th {
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  white-space: nowrap;
  color: #413005;
  border: 1px solid #413005;
  font-weight: normal;
  letter-spacing: 1px;
  background-repeat: repeat-x;
  background-position: top;
}
table.info .br {
  display: none;
}
@media screen and (max-width: 480px) {
  table.info .br {
    display: inline;
  }
}
table.info .uketuke {
  font-size: 0.72em;
  font-weight: normal;
  letter-spacing: 0;
}
table.info .hosoku {
  font-size: 0.8em;
}

/* ※ 旧CSSの table.info td / th にあった `background-color: none` は
   不正な値で元から無効（ブラウザが宣言ごと破棄）だったため移植していない */
/* テーブル下の注記（※1・※2） ---------------------------------- */
.info-note {
  margin: 0 0 15px 0;
  font-size: 0.85em;
  color: #413005;
}
.info-note a {
  color: #008bae;
  text-decoration: none;
  text-decoration: underline;
}
.info-note a:visited, .info-note a:hover, .info-note a:active, .info-note a:focus {
  color: #008bae;
  text-decoration: none;
}
.info-note a:visited, .info-note a:hover, .info-note a:active, .info-note a:focus {
  text-decoration: underline;
}

/* 下線のみテーブル（初診の流れ・カウンセリング料金） ------------- */
table.und-line {
  display: block;
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  background-color: rgba(233, 239, 245, 0.5);
}
table.und-line tr {
  border-top: 1px solid #000;
  /* 旧CSSは th を2回宣言していたので計算結果が同じ1つにまとめた。
     `wtext-align: left`（タイポで無効）は落とした */
}
table.und-line tr:first-child {
  border: none;
}
table.und-line tr th,
table.und-line tr td {
  display: inline;
  width: auto;
}
table.und-line tr th {
  padding: 1em 1em;
  vertical-align: top;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
}
table.und-line tr td {
  text-align: left;
  padding: 1em 1em;
  width: 100%;
}

/* 受付案内の定義リスト（TOP） ---------------------------------- */
.gyoumu {
  overflow: hidden;
  zoom: 1;
  width: 95%;
  font-size: 0.9em;
  line-height: 1.8em;
}
.gyoumu dt {
  width: 30%;
  float: left;
  clear: both;
  font-weight: bold;
  padding: 0.5em 0;
}
.gyoumu dd {
  padding: 0.5em 0 0.5em 35%;
  margin-bottom: 10px;
  border-bottom: #ddd dotted 1px;
}
.gyoumu dd span {
  font-size: 0.7em;
}
@media screen and (max-width: 720px) {
  .gyoumu dt {
    float: none;
    width: 100%;
  }
  .gyoumu dd {
    padding: 0;
  }
}

/* ============================================================
   電話番号画像ブロック（ヘッダ / SPヘッダ / TOP最下部で使用）
   位置指定は layout/_l-header.scss の `header .tel` が上書きする
============================================================ */
.tel {
  font-size: 1.8em;
  font-weight: normal;
  color: #ff3366;
  margin: 16px 0 8px;
  text-align: center;
}
.tel img {
  max-width: 450px;
  margin-inline: auto;
}

/* ============================================================
   TOPへ戻るボタン

   ※ IDセレクタ（#page-top）は yuki-site-standard では禁止だが、
     旧サイトのHTMLが id="page-top" を使っており、移植スキルの大原則
     「HTMLのクラス名は旧サイトのまま一切変えない」が優先されるため維持する。
     （クラスに振り替えるとクラス一覧突合が不一致になる）

   ※ 旧サイトは JS が読み込み後に $('#page-top').hide() していたため、
     ページ表示直後に一瞬ボタンが見えるちらつきがあった。
     新サイトは初期状態を CSS 側で display: none / opacity: 0 にして
     ちらつきを無くし、JS は opacity をトグルするだけにしている（意図的変更）。
============================================================ */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1.2em;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#page-top a {
  background: #413005;
  text-decoration: none;
  color: #fff;
  width: 100px;
  padding: 30px 0;
  text-align: center;
  display: block;
  border-radius: 5px;
}
#page-top a:hover {
  text-decoration: none;
  background: #0089b0;
}

/* ============================================================
   SPメニュー（旧 js/meanmenu.css MeanMenu 2.0.7 の移植）

   DOM は assets/js/menu.js が 720px 以下で生成する。
   クラス名は meanmenu 時代のものをそのまま使っているので、
   このCSSは旧サイトとまったく同じセレクタで効く。

   旧ファイルから落としたもの:
     - .mean-container .mean-nav ul li li a 以下の子階層（このサイトに下層メニューが無い）
     - a.mean-expand / .mean-clicked（同上）
     - .mean-container a.meanmenu-reveal span（開くボタンはテキスト「サイトメニューはこちら」で
       span 3本のバーガーアイコンを使っていない）
     - .mean-container .mean-push（nav の直前に差し込まれる要素。nav は
       .gnav-wrapper の中にあり 720px以下は display: none なので描画に影響しない）
     - .mean-nav .wrapper（.wrapper は .mean-nav の中に無い）
     - .mean-remove（removeElements オプション未使用のため元から誰にも付かない）
     - -webkit-/-moz- prefix
============================================================ */
/* 閉じるボタンの文字色。
   旧CSSは `color: #fff !important;` だったが、.mean-container a.meanmenu-reveal
   （詳細度 0,2,1）が a:link（0,1,1）に勝って既に #fff になるため !important は不要 */
.meanclose {
  color: #fff;
}

/* ビューポートが閾値を超えるまでボタンは非表示 */
a.meanmenu-reveal {
  display: none;
}

/* 閾値以下のとき body に .mean-container が付く */
.mean-container .mean-bar {
  float: left;
  width: 100%;
  position: relative;
  background: #413005;
  padding: 4px 0;
  margin-bottom: 10px;
  min-height: 42px;
  z-index: 999999;
}
.mean-container a.meanmenu-reveal {
  padding: 13px 13px 11px 13px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 22px;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.mean-container .mean-nav {
  float: left;
  width: 100%;
  background: #413005;
  margin-top: 44px;
}
.mean-container .mean-nav ul {
  padding: 0;
  margin: 0;
  width: 100%;
  list-style-type: none;
}
.mean-container .mean-nav ul li {
  position: relative;
  float: left;
  width: 100%;
}
.mean-container .mean-nav ul li a {
  display: block;
  float: left;
  width: 90%;
  padding: 1em 5%;
  margin: 0;
  text-align: left;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
}
.mean-container .mean-nav ul li a:hover {
  background: #0088cc;
}
.mean-container .mean-nav ul li.mean-last a {
  border-bottom: none;
  margin-bottom: 0;
}

/* Fix for box sizing on Foundation Framework etc.
   ★ これが無いと .mean-nav の a（width: 90% + padding: 1em 5%）が
     border-box 計算になって幅が合わなくなる。必須 */
.mean-container .mean-bar,
.mean-container .mean-bar * {
  box-sizing: content-box;
}

/*-- utilityフォルダの中の_index.scss --*/
/* ============================================================
   ユーティリティ（旧 css/reset.css と style.css の汎用クラスを集約）
   ※ 旧サイトで実際にHTMLから使われているものだけ残している
   ※ 正本の u- 接頭辞には振り替えない（HTMLのクラス名を変えない＝移植の大原則）
============================================================ */
/* 文字寄せ */
.tx-c {
  text-align: center;
}

.ta-r {
  text-align: right;
}

/* 文字サイズ・太さ */
.fs-08 {
  font-size: 0.8em;
}

.tx-bl {
  font-weight: bold;
}

/* 強調テキスト（診療案内：予約制 1時間 3,000円） */
.f-emp {
  font-size: 1.3em;
  color: #006699;
  font-weight: bold;
}

/* お問い合わせ誘導テキスト
   旧サイトは文全体が自分自身のページへのリンクになっていたが、
   電話番号への tel: リンクに変更した（2026-11。README「意図的に変えた点」参照） */
.toiawase-txt {
  font-size: 1.2em;
  color: #600;
  margin: 10px 0 20px;
}
.toiawase-txt a {
  color: #600;
  text-decoration: none;
  text-decoration: underline;
}
.toiawase-txt a:visited, .toiawase-txt a:hover, .toiawase-txt a:active, .toiawase-txt a:focus {
  color: #600;
  text-decoration: none;
}
.toiawase-txt a:visited, .toiawase-txt a:active, .toiawase-txt a:focus {
  text-decoration: underline;
}
.toiawase-txt a:hover {
  color: #cc3399;
  text-decoration: underline;
}

/* 画像を中央寄せする（p でラップして使う）
   720px以下でだけ中央寄せになるのが旧サイトの挙動 */
@media screen and (max-width: 720px) {
  .lay-center img {
    display: block;
    margin: 0 auto;
  }
}
/* 水平線
   旧CSSの background-image は -webkit-/-moz-/-ms-/-o- prefix 版の
   linear-gradient しか無く、標準記法が無いため現行ブラウザでは
   グラデーションが適用されていない（= #333 の1px線で描画される）。
   見た目を変えないため prefix 版は移植せず、結果と同じ単色線のみ残す */
hr.style-one {
  border: 0;
  height: 1px;
  background: #333;
}

/* ============================================================
   余白ユーティリティ（旧 css/reset.css と style.css から集約）

   ※ 旧CSSは `.m10{margin:10px 0;!important;}` のように `;` のあとに
     `!important` が書かれていた。これは不正な宣言としてブラウザが破棄するため
     実効は `margin: 10px 0` のみ。よって !important は移植しない。

   ※ rem 系（.m1rem / .m4rem）は rem のまま維持する。
     667px以下で 1rem = 12px になり余白が縮むのが本番の挙動
     （px に置き換えるとSPの余白が変わる）。

   旧ファイルから落としたもの（HTML未使用）:
     .m2040 / .mb10 / .mb30 / .mt30 / .mt50 / .m2rem / .m3rem
============================================================ */
.m10 {
  margin: 10px 0;
}

.m20 {
  margin: 20px 0;
}

.mb20 {
  margin-bottom: 20px;
}

.mb40 {
  margin-bottom: 40px;
}

.mt20 {
  margin-top: 20px;
}

.mt25 {
  margin-top: 25px;
}

.m1rem {
  margin: 1rem 0;
}

.m4rem {
  margin: 4rem 0;
}

/*-- layoutフォルダの中の_index.scss --*/
/* ============================================================
   ヘッダー（旧 style.css「header」の移植）

   PC: header > .header-in（980px固定）にキャッチコピー・ロゴ・TEL画像
   SP（720px以下）: .header-in を隠し、.on720 を表示する二重構造。
                    .site_logo720 の margin-top: 60px はSPメニューバーの逃げ。

   旧ファイルから落としたもの: .header2（HTML未使用）
============================================================ */
header {
  width: 100%;
  padding-top: 12px;
  line-height: 1.8em;
  /* TEL画像の位置。文字色・余白は component/_c-tel.scss 側 */
}
header h1 {
  font-size: 0.7em;
}
header h2 {
  font-size: 0.7em;
  /* ロゴは等倍で出す（reset の `* img { width: 100% }` を打ち消す） */
}
header h2 img {
  width: auto;
}
header .tel {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 240px;
  height: 59px;
}

.header-in {
  padding: 20px 0;
  width: 980px;
  position: relative;
  margin: 10px auto;
}

.site_logo720 {
  display: none;
  margin-top: 5px;
}

.on720 {
  display: none;
}

@media screen and (max-width: 380px) {
  header h2 img {
    margin: 0px auto 5px;
  }
}
@media screen and (max-width: 720px) {
  .header-in {
    display: none;
  }
  .site_logo720 {
    display: block;
    margin-top: 60px;
  }
  .on720 {
    display: block;
    /* SPロゴ・TEL画像も等倍で出す */
  }
  .on720 img {
    width: auto;
  }
}
/* ============================================================
   グローバルナビ PC版（旧 style.css「グローバルナビPC版CSS」の移植）
   720px以下はこのブロックを隠し、SPメニュー（component/_c-meanmenu.scss）に切り替わる

   旧ファイルから落としたもの:
     .toku3-1 .col / .toku3-2 .col（HTML未使用。!important 付きだった）
     -o-/-webkit-/-moz- prefix
============================================================ */
.gnav-wrapper {
  padding: 0;
  background: #413005;
}
.gnav-wrapper nav {
  width: 1040px;
  margin: 10px auto;
  line-height: 0;
  text-align: center;
}
.gnav-wrapper nav ul {
  font-size: 0;
  background: #413005;
  display: inline-block;
}
.gnav-wrapper nav ul li {
  display: inline-block;
}
.gnav-wrapper nav ul li:hover {
  background: #cac9ab;
  transition: background 0.25s ease-in;
}
.gnav-wrapper nav ul li:hover > a {
  text-decoration: none;
  color: #3b3b3d;
  transition: color 0.25s ease-in;
}
.gnav-wrapper nav ul li a {
  display: block;
  padding: 2em;
  font-size: 15px;
  color: #fff;
  font-weight: normal;
}

/* SPメニューのブレイクポイント以下ではPCナビを非表示 */
@media screen and (max-width: 720px) {
  .gnav-wrapper {
    display: none;
  }
  /*縦詰みレイアウトの天地左右余白*/
  .col {
    padding: 1% 5%;
  }
}
/* ============================================================
   コンテンツ外枠（旧 style.css .wrapper の移植）
   HTML構造: .wrapper > .container.row（.container はグリッド側で max-width 1000px）
============================================================ */
.wrapper {
  max-width: 1040px;
  margin: 10px auto;
  padding: 10px 0;
  line-height: 1.6em;
}

/* ============================================================
   フッター（旧 style.css footer の移植）
   旧CSSは footer を2回宣言していたので1つにまとめた（計算結果は同じ）
============================================================ */
footer {
  text-align: center;
  background: #413005;
  padding: 18px 0;
  margin-top: 30px;
  color: #fff;
  font-size: 0.9em;
}

/*-- projectフォルダの中の_index.scss --*/
/* ============================================================
   初診の流れ（flow.php）

   ※ padding / font-size が rem のままなのは意図どおり。
     667px以下で 1rem = 12px になり、ステップ見出しと余白が縮む（本番の挙動）
============================================================ */
.flow-chart {
  width: 100%;
}

.flow-step {
  width: 100%;
}

.flow-step-ti {
  margin: 0;
  padding: 1rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.4rem;
  color: #993300;
}

/* 1つめのステップだけ見出し下の余白を詰める */
.flow-step:first-child .flow-step-ti {
  padding-bottom: 0;
}

.flow-step-body {
  padding: 0 0;
  text-align: left;
}

.flow-arrow {
  padding: 1rem 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .flow-step-body,
  .flow-arrow {
    padding: 1rem;
  }
}
/* ============================================================
   施設基準に関するご案内（shisetu-kijyun.php）
   ※ .shisetu-kijyun_bt はこのページへ飛ぶボタンなのでTOP（index.php）で使われている
   ※ rem はそのまま維持（667px以下で 1rem = 12px）
============================================================ */
/* TOPに置く「施設基準に関するご案内」リンク */
.shisetu-kijyun_bt {
  margin-top: 1.5rem;
  font-size: 1.2em;
  text-decoration: underline;
}

/* 各掲示ブロック */
.shisetu-kijyun_wrap p {
  line-height: 1.7;
  font-size: 1rem;
}

/* 本文の左右インデント。768px以下は右だけ詰める */
.left-sp-2rem {
  margin-left: 2rem;
  margin-right: 2rem;
}
@media screen and (max-width: 768px) {
  .left-sp-2rem {
    margin-right: 0;
  }
}

/* ============================================================
   404 Not Found（404.php）
   中身が少なくてもフッタが画面上部に上がってこないよう高さを確保する
============================================================ */
.p-notfound {
  min-height: 40vh;
}
@media screen and (max-width: 768px) {
  .p-notfound {
    min-height: 35vh;
  }
}
