/* ボックスサイズ算出設定 */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 100%;
}

/* 基本ボタン：焦茶背景にオレンジ文字 */
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #f39800; /* 柿色 */
  background-color: #3d2b1f; /* 濃い茶色 */
  border: 1px solid #f39800;
  border-radius: 0.5rem;
}

.btn:hover {
  background-color: #f39800;
  color: #2c1e15;
}

/* エンジンスタートボタン：金属質感 × オレンジ発光 */
.btn-engine-start {
  position: relative;
  width: 145px;
  height: 145px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a3728 0%, #2c1e15 44%, #1a110a 100%);
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.btn-engine-start:before {
  position: absolute;
  top: 7.5px;
  left: 7.5px;
  display: block;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, #1a110a 0%, #4a3728 50%, #5d4636 100%);
}

/* ホバー時にオレンジ（茜色）に発光 */
.btn-engine-start:hover a.btn-engine-start-in:before {
  top: 20px;
  background: #e95412;
  -webkit-box-shadow: 0 0 10px rgba(233, 84, 18, 0.8);
  box-shadow: 0 0 10px rgba(233, 84, 18, 0.8);
}

.btn-engine-start:hover a.btn-engine-start-in {
  padding: 37px 0 0;
  color: #ffb11b;
  -webkit-box-shadow: inset 0 1px 1px #000, 0 1px 2px rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 1px 1px #000, 0 1px 2px rgba(0, 0, 0, 0.8);
  text-shadow: 0 0 8px #e95412;
}

a.btn-engine-start-in {
  font-size: 14px;
  line-height: 1.2;
  position: absolute;
  top: 18px;
  left: 18px;
  width: 109px;
  height: 109px;
  padding: 35px 0 0;
  color: #eaddca;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a3728 0%, #1a110a 50%, #000000 100%);
  -webkit-box-shadow: inset 0 2px 2px rgba(255,255,255,0.1), 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 2px 2px rgba(255,255,255,0.1), 0 2px 4px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

a.btn-engine-start-in:before {
  position: absolute;
  top: 18px;
  left: calc(50% - 13px);
  width: 26px;
  height: 8px;
  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 10px;
  background: #2c1e15; /* 消灯時 */
}

/* リスト：左線オレンジ */
.list-front li {
  color: #eaddca;
  border-left: solid 8px #f39800;
  background: rgba(74, 55, 40, 0.3);
  margin-bottom: 5px;
  line-height: 1.5;
  border-radius: 0 15px 15px 0;
  padding: 0.5em;
  list-style-type: none!important;
}

/* タイトル付きボックス：オレンジ・茶色系 */
.box27 {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 3px #f39800;
  background: rgba(74, 55, 40, 0.2);
}
.box27 .box-title {
  position: absolute;
  display: inline-block;
  top: -27px;
  left: -3px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  background: #f39800;
  color: #2c1e15;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

/* 二重線ボックス */
.box17 {
  margin: 2em 0;
  position: relative;
  padding: 0.5em 1.5em;
  border-top: solid 2px #f39800;
  border-bottom: solid 2px #f39800;
  color: #eaddca;
}
.box17:before, .box17:after {
  content: '';
  position: absolute;
  top: -10px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: #f39800;
}
.box17:before { left: 10px; }
.box17:after { right: 10px; }

/* 上線ボックス（影付き） */
.box11 {
  padding: 0.5em 1em;
  margin: 2em 0;
  color: #eaddca;
  background: #3d2b1f;
  border-top: solid 5px #e95412;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

/* 続きを読む：グラデーションとボタン */
.readmore-content::before {
  background: linear-gradient(top, rgba(44,30,21,0) 0%, rgba(44,30,21,0.9) 100%);
  background: linear-gradient(to bottom, rgba(44,30,21,0) 0%, #2c1e15 100%);
}

.readmore-label {
  background-color: #e95412;
  color: #FFF;
  border: 1px solid #f39800;
}

/* 反転文字（ミラー） */
.mirror {
  color: #eaddca;
  -webkit-box-reflect: below -10px -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.3));
}

/* 削除線 */
span.del {
  text-decoration-color: #e95412;
}

/* 箇条書きボタン風 */
.button3 {
  display: inline-block;
  border-radius: 8px;
  font-size: 13pt;
  text-align: center;
  padding: 10px 10px;
  background: #3d2b1f;
  color: #f39800;
  line-height: 1.75em;
  border: 1px dotted #f39800;
  text-decoration: none;
}

/* 二重線リスト */
ol.niju {
  color: #eaddca;
  border: double 5px #f39800;
  background: rgba(74, 55, 40, 0.4);
  padding: 0.5em 0.5em 0.5em 2em;
}

/* 四角数字リスト */
ol.sikaku li:before {
  background: #e95412;
  color: #fff;
}
ol.sikaku {
  border: dashed 1px #f39800;
}

/* テーブルスタイル：ダークブラウンベース */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  color: #eaddca;
}

table thead tr {
  background-color: #4a3728; /* ヘッダー：少し明るい茶色 */
  color: #f39800;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #4a3728;
}

table tbody tr:nth-child(even) {
  background-color: rgba(74, 55, 40, 0.3);
}

table tbody tr:hover {
  background-color: rgba(243, 152, 0, 0.1);
}

table a {
  color: #f39800;
}

p, a {
  word-wrap: break-word;     /* 古いブラウザ用 */
  overflow-wrap: break-word; /* 標準的 */
  white-space: normal;       /* 自然に折り返す */
}

