/* ================================================================== */
/* SSL永久アンカー工法ページ専用CSS */
/* ================================================================== */

/* ================================================================== */
/* セクション共通 */
/* ================================================================== */
:root {
  --red: #C21018;
}

.section {
  margin-bottom: 20px;
}

.structure-section,
.about-section,
.features-section,
.steps-section {
  margin-bottom: 30px;
}

/* ヘッダー */
.header {
  background-color: #065B95;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  flex-wrap: wrap;
}

.header .title {
  color: #FFFFFF;
  font-weight: bold;
  font-size: 18px;
}

.header .nav {
  color: #FFFFFF;
  font-size: 0.9em;
}

.header .nav a {
  color: #FFFFFF;
  text-decoration: none;
}

.header .nav a:hover {
  text-decoration: underline;
}

/* コンテンツ */
.content {
  padding: 10px;
  border: 2px solid #065B95;
  border-top: none;
}

/* セクションタイトル */
.section-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

.section-title h1 {
  font-size: 1.3em;
  font-weight: bold;
  margin: 0;
}

.section-title img {
  width: 17px;
  height: 26px;
}

.type-name {
  color: var(--red);
  font-weight: bold;
  font-size: 18px;
}

/* ================================================================== */
/* タイプ・詳細セクション */
/* ================================================================== */

/* 導入文 */
.intro {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.6;
}

/* タイプセクション */
.type-section {
  margin: 20px 0;
}

.type-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.type-item:last-child,
.type-section:last-child {
  margin-bottom: 0;
}

.type-item .image {
  flex: 0 0 250px;
  border: 2px solid var(--red);
}

.type-item .image a,
.type-item .image img {
  display: block;
  width: 100%;
  height: auto;
}

.type-item .description {
  flex: 1;
  min-width: 200px;
}

.type-item .title {
  font-size: 1em;
  margin: 0 0 5px 0;
}

.type-item .title a:hover {
  text-decoration: underline;
}

.netis {
  margin: 0 0 5px 0;
  font-weight: bold;
}

.type-item .text {
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0;
}

/* ================================================================== */
/* 詳細ページ */
/* ================================================================== */

/* 詳細ヘッダー */
.detail .header-area {
  margin-bottom: 30px;
}

.detail .title-area {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.detail .title-left {
  flex: 1;
  min-width: 300px;
}

.detail .title-right {
  flex: 0 0 auto;
  text-align: center;
}

.detail .icon {
  margin-top: 10px;
}

.detail .icon img {
  max-width: 100%;
  height: auto;
}

/* 説明ボックス */
.description-box {
  background-color: #FFFFD9;
  border: 2px solid #C21818;
  padding: 10px;
  line-height: 1.6;
}

.description-box strong {
  font-weight: bold;
}

/* セクション見出し */
.heading {
  background-color: #0073B9;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 18px;
  padding: 5px 10px;
  margin: 20px 0 10px 0;
}

/* ================================================================== */
/* 構造図セクション */
/* ================================================================== */

.structure {
  text-align: center;
  margin-top: 1em;
}

.structure img {
  max-width: 100%;
  height: auto;
}

.text-red {
  color: #FF0000;
  font-size: 0.9em;
}

/* ================================================================== */
/* 特長セクション */
/* ================================================================== */

.features,
.steps {
  padding: 10px;
}


/* 特長アイテム */
.feature-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: flex-start;
}

/* 特長テキスト */
.feature .text {
  flex: 1;
}

.text.blue {
  color: #065B95;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.feature .text p {
  font-size: 0.9em;
  margin: 0;
}

/* セクションタイトル */
.about.title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 5px 0 10px;
}

/* ================================================================== */
/* 適用範囲セクション */
/* ================================================================== */

.range .image {
  text-align: center;
  margin-bottom: 15px;
}

.range.image img {
  max-width: 100%;
  height: auto;
}

.range.note {
  font-size: 0.9em;
  text-align: center;
}

/* ================================================================== */
/* 施工方法セクション */
/* ================================================================== */

.step.title {
  width: fit-content;
  background-color: #0000FF;
  color: #FFFFFF;
  font-weight: bold;
  margin: 0 0 10px 0;
  font-size: 1em;
}

.step.description {
  margin-bottom: 15px;
}

.step.image {
  text-align: center;
  margin-bottom: 10px;
}

.step.image img {
  max-width: 100%;
  height: auto;
}

.step.note {
  text-align: right;
  font-size: 0.9em;
  margin: 10px 0 0 0;
}

/* ================================================================== */
/* お問い合わせセクション */
/* ================================================================== */

.contact-box {
  border: 2px solid #065B95;
  padding: 5px;
  text-align: center;
}

.contact-header {
  margin-bottom: 10px;
}

.contact-label {
  color: #0000A0;
  font-weight: bold;
}

.contact-logo img {
  max-width: 100%;
  height: auto;
}

.contact-info {
  font-size: 11pt;
  line-height: 1.1;
}

.contact-link a {
  text-decoration: none;
}

.contact-link a:hover {
  text-decoration: underline;
}

/* ================================================================== */
/* 共通装飾 */
/* ================================================================== */

/* 区切り線 */
.divider {
  border: none;
  border-top: 1px solid #999;
  margin: 20px 0;
}

/* ================================================================== */
/* レスポンシブ対応 */
/* ================================================================== */

@media screen and (max-width: 768px) {

  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header .nav {
    margin-top: 5px;
    font-size: 0.85em;
  }

  .content {
    border-width: 5px;
    padding: 10px;
  }

  .type-item {
    flex-direction: column;
  }

  .type-item .image {
    flex: 1 1 auto;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .type-item .description {
    width: 100%;
  }

  .detail .title-area {
    flex-direction: column;
  }

  .detail .title-left {
    min-width: 100%;
  }

  .detail .title-right {
    width: 100%;
  }

  .description-box {
    padding: 10px;
    font-size: 0.9em;
  }

  .feature-item {
    gap: 5px;
  }

  .range .note {
    flex-direction: column;
    gap: 0;
  }

  .note .marker {
    display: inline;
  }

  .note .text {
    display: inline;
  }

  .step .description p {
    font-size: 0.85em;
  }
}

@media screen and (max-width: 480px) {
  .header .title {
    font-size: 10pt;
  }

  .section-title h1 {
    font-size: 1.1em;
  }

  .about .title {
    font-size: 1.1em;
  }

  .type-item .text,
  .feature .text,
  .range .note {
    font-size: 0.85em;
    padding: 0 10px;
    text-align: justify;
  }

  .heading,
  .step .title {
    font-size: 0.95em;
  }

  .structure .note,
  .step .note {
    font-size: 0.8em;
  }
}

/* 印刷時の改ページ制御 */
@media print {
  .construction-step:nth-child(3) {
    page-break-before: always;
  }
}