/*
Theme Name:     Lightning-child
Description:    Lightningの子テーマ
Author:         mori
Template:       lightning

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/



/* -----------------------------
 * Lightning用 記事本文文字サイズ調整
 * ----------------------------- */

/* 記事本文全体の文字サイズと行間 */
.entry-body,
.entry-content {
    font-size: 1.2em;       /* 標準サイズを基準に調整 */
    line-height: 1.8em;   /* 行間も相対値で調整 */
}

/* 見出し h2 のサイズと下マージン */
.entry-content h2 {
    font-size: 1.375em;   /* 約22px相当 */
    margin-bottom: 1em;   /* 下に余白を設定 */
}

/* 見出し h3 のサイズと下マージン */
.entry-content h3 {
    font-size: 1.225em;   /* 約18px相当 */
    margin-bottom: 0.8em; /* 下に余白を設定 */
}

/* 見出し h4 のサイズと下マージン */
.entry-content h4 {
    font-size: 1.2em;       /* 約16px相当 */
    margin-bottom: 0.6em; /* 下に余白を設定 */
}

/* -----------------------------
 * スマホ向け文字サイズ・行間調整
 * ----------------------------- */

@media screen and (max-width: 768px) {
    .entry-body,
    .entry-content {
        font-size: 1em;   /* 約14px相当 */
        line-height: 1.6em;   /* 行間を少し詰める */
    }
    .entry-content h2 {
        font-size: 1.25em;    /* 約20px相当 */
    }
    .entry-content h3 {
        font-size: 1.2em;       /* 約16px相当 */
    }
    .entry-content h4 {
        font-size: 1,15em;   /* 約14px相当 */
    }
}



.shako-area {
  margin: 0 auto;
  line-height: 1.8;
}

.shako-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1em;
}

.contact-box {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 16px;
  margin: 24px 0;
}

.contact-box h4 {
  margin-top: 0;
}

.contact-note {
  color: #c00;
  font-weight: bold;
}

.table-wrap {
  overflow-x: auto;
}

.price-table,
.option-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.price-table th,
.price-table td,
.option-table th,
.option-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.price-table th {
  background: #f1f5fb;
}


/* スマホでテーブルを横スクロールさせる */
@media (max-width: 768px) {
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-table,
  .option-table {
    min-width: 700px; /* 列数が多いので横幅を確保 */
  }
}


/* 書類送付先の文字を大きくする */
.contact-box p {
  font-size: 1.15rem;
  line-height: 1.9;
}

.total {
  font-weight: bold;
  color: #c00;
}

.note-list,
.condition-list {
  margin: 20px 0;
}

.base-place dt {
  font-weight: bold;
  margin-top: 10px;
}

.base-place dd {
  margin-left: 1em;
}

.tel-box {
  text-align: center;
  margin: 30px 0;
}

.tel-box a {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  background: #28a745;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}





/* 会社概要ページ */
.company-lead {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.company-box {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 32px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px 10px;
  vertical-align: top;
}

.company-table th {
  width: 30%;
  background: #f1f5fb;
  font-weight: bold;
}

.company-tel {
  font-size: 1.3rem;
  font-weight: bold;
  color: #036;
}

.company-message {
  margin-top:40px;
}

.company-message p {
  line-height: 1.9;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company-table th {
    width: 100%;
    display: block;
  }

  .company-table td {
    display: block;
    padding-top: 0;
  }
}


/* お問い合わせページ */
.waku10{						/*otoiawase*/
	margin:0 10px;
	padding:0 5px;
	background-color:#f00;
	font-size:80%;
	color:#fff;
}

/* -----------------------------
*   汎用
----------------------------- */

.clear {
    clear:both;
}

.floatL{
	float:left;
	margin: 0 20px 0 0;

}

.floatR{
	float:right;
	margin: -15px 0 0 20px;
}

.center{
	text-align:center;
}

.right{
	text-align:right;
}

.left{
	text-align:left;
}

.underline {
    text-decoration:underline;
}

strong {
	font-weight:bold;
}

em {
	font-weight:bold;
}

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

.font-normal {
	font-weight:normal;
}