﻿@charset "utf-8";

/* ===============================
   共通リセット
================================ */
* {
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: linear-gradient(
    to bottom,
    #2f6fb0 0%,
    #4f86bb 25%,
    #7fa8cc 50%,
    #b7d3e4 75%,
    #eef7f3 100%
  );
}

body {
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.clfx::after {
  content: "";
  display: block;
  clear: both;
}

/* ===============================
   全体
================================ */
#wrapper {
  width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
}

/* ===============================
   ヘッダー
================================ */
#head_s h1 {
  font-size: 11px;
  font-weight: normal;
  text-align: center;
  line-height: 1.4;
}

#head_upper img {
  display: block;
}

/* ===============================
   グローバルナビ（テキスト版）
================================ */

#global_navi {
  width: 800px;
  height: 41px;
  background: #ffffff url(../images/navi/img_navi_00.jpg) repeat-x bottom; }

.navi_inner {
  display: flex;
  align-items: center;
  height: 41px;
}


/* ===============================
   TOP 右サブカラム
================================ */

#top_right_sub {
  width: 100%;                 /* right_column と同じ */
  /*margin-left: auto;  */          /* 右寄せ */
  background-color: #1f366a;    /* 右カラムと同色 */
  /*box-sizing: border-box;*/
}

#top_right_sub img {
  display: block;
  width: 100%;
  height: auto;
}


/* ナビ（左） */
.navi_menu {
  display: flex;
}

.navi_menu a {
  width: 113px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: bold;
  color: #333;
  text-decoration: none;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e5e5e5 100%
  );

  border-right: 1px solid #ccc;
  box-sizing: border-box;
}

/* hover */
.navi_menu a:hover {
  background: linear-gradient(
    to bottom,
    #dbe8f6 0%,
    #b9cfea 100%
  );
}

/* カレント表示（bodyクラス連動） */
body.home    .navi_menu a.navi_01,
body.outline .navi_menu a.navi_02,
body.nano    .navi_menu a.navi_03,
body.repair  .navi_menu a.navi_04,
body.access  .navi_menu a.navi_05,
body.other   .navi_menu a.navi_06 {
  background: linear-gradient(
    to bottom,
    #4b6fa3 0%,
    #2f4f7f 100%
  );
  color: #ffffff;
}

/* サブロゴ（右） */
.navi_logo {
  width: 219px;
  margin-left: auto;
  text-align: right;
}

.navi_logo img {
  display: block;
  margin-left: auto;
  height: 41px;
  width: auto;
}


/* サブロゴ（右） */
.navi_logo {
  width: 219px;
  margin-left: auto;
  text-align: right;
}

.navi_logo img {
  display: block;
  margin-left: auto;
  height: 41px;
  width: auto;
}

/* ===============================
   メインコンテンツ
================================ */
#contents {
  /*width: 800px;*/
  margin: 0 auto;
  
}

#contents_inner {
  display:flex;
  flex-wrap: nowrap;
  /*width: 800px;*/
  background: none;
  margin: 0 auto;
  box-sizing: border-box;
  /*overflow: hidden;*/
  /*linear-gradient(to right,
  #ffffff 0,
  #ffffff 581px,
  #1f366a 581px,
  #1f366a 800px
  );*/
  
}

/* ===============================
   共通パーツ
================================ */

/* 見出し共通（★ここ） */
.section_h2 {
  font-size: 14px;
  padding: 6px 10px;
  margin: 0 0 15px;  
  color: #fff;
}

/* 見出し色バリエーション */
.section_h2.blue {
  background: linear-gradient(
    to bottom,
    #4b6fa3 0%,
    #2f4f7f 100%
  );
}

.section_h2.aqua {
  background: linear-gradient(
    to bottom,
    #1f86cf 0%,
    #005aa0 100%
  );
}

.section_h2.purple {
  background: linear-gradient(
    to bottom,
    #8a80d4 0%,
    #62599f 100%
  );
}

.section_h2.green {
  background: linear-gradient(
    to bottom,
    #6fb38a 0%,
    #3e8f63 100%
  );
}

.section_h2.gray {
  background: linear-gradient(
    to bottom,
    #cccccc 0%,
    #999999 100%
  );
  color: #333;
}

.section_h2.lightblue {
  background: linear-gradient(
    to bottom,
    #d6eef3 0%,
    #b6dde6 100%
  );
  color: #1f4f5a;
}


/* ===============================
   左カラム
================================ */
#contents_left {
  /*float: left;*/
  flex: 1;
  background-color: #ffffff;
  margin-top: 0;
  min-width: 0;
  box-sizing: border-box;
  /*outline: 2px solid blue;*/
}

#contents_left img{
  max-width: 100%;
  height: auto;
  display: block;
}

.page_title {
  margin-top: 4px;
}

.page_title img {
  display: block;
  width: 100%;
  height: auto;
}

/* outline枠 */
.outline_box {
  padding: 22px 10px 40px;
  box-sizing: border-box;
}

.outline_h2 {
  font-size: 14px;
  color: #ffffff;
  padding: 6px 10px;
  margin-top: 0;
  margin-bottom: 15px;
  background: linear-gradient(
    to bottom,
    #4b6fa3 0%,
    #2f4f7f 100%
  );
}

.outline_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: #333;
}

.outline_table th {
  width: 140px;
  background: #dcdcdc;
  padding: 8px;
  text-align: left;
  border: 1px solid #ccc;
}

.outline_table td {
  padding: 8px;
  border: 1px solid #ccc;
}

/* ===============================
   nano 専用
================================ */

/* nano 上部画像 */
.nano_section_img {
  margin: 10px 0 10px;
  text-align: center;
}

.nano_section_img img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}


.nano_box {
  padding-top: 10px;
  padding-right: 5px;
  padding-left: 5px;
}

.nano_main_img {
  margin-bottom: 30px;
}

.nano_main_img img {
  display: block;
  width: 100%;
  height: auto;
}

.nano_item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding-left: 15px;
  padding-right: 15px;
}

.nano_item img {
  width: 219px;
  height: auto;
}

.nano_item.reverse {
  flex-direction: row-reverse;
  padding-right: 25px;
}

.nano_text h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.nano_text p {
  line-height: 1.7;
}

.nano_h3 {
  font-size: 14px;
  color: #ffffff;
  padding: 6px 10px;
  margin: 0 0 12px;
  background: linear-gradient(
    to bottom,
    #5a82b8 0%,
    #3a5f9a 100%
  );
}

.nano_h3.ancs {
  background: linear-gradient(
    to bottom,
    #3f5f8a 0%,
    #263f66 100%
  );
}

.nano_theory {
  margin-bottom: 30px;
}

/* 見出し帯 */
.nano_theory_head {
  padding: 12px 15px;
  border-bottom: 1px solid #ccc;
}

.nano_theory_head h2 {
  font-size: 20px;
  margin-bottom: 5px;
}

.nano_theory_head p {
  font-size: 13px;
  color: #666;
}

.nano_theory_head .section_h2 {
  margin-bottom: 0;
}

/* 本文＋写真 */
.nano_theory_body {
  margin-top: 15px;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
}



.nano_theory_text {
  flex: 1;
  padding-left: 15px;
  /*width: 60%;*/
  box-sizing: border-box;
}

.nano_theory_photo {
  flex: 0 0 225px;
  padding-top: 20px;
  padding-right: 15px;
  box-sizing: border-box;
  text-align: right;

}

.nano_theory_photo img {
  width: 225;
  height: 225;
  object-fit: cover;
}

/* 図解 */
.nano_theory_figure {
  margin-top: 20px;
  text-align: center;
}

.nano_theory_note {
  margin: 15px auto 25px;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.7;
  color: #333;
  text-align: left;
  padding-left: 12px;
  border-left: 3px solid #ccc;
  border-right: 3px solid #ccc;
}

.nano_section {
  margin: 5px;
}


/* 左右反転 */
.nano_item.reverse {
  flex-direction: row-reverse;
}

.nano_eco {
  margin-top: 30px;
  padding: 15px;
  background: #e5f3e0;
}

.nano_eco_text {
  font-size: 13px;
  margin-bottom: 10px;
}

.nano_eco_btn img {
  display: block;
}

.kakushin_mainimg {
  margin: 20px 0 30px;
  text-align: center;
}

.kakushin_mainimg p {
  margin-bottom: 15px;
}

.kakushin_mainimg img {
  max-width: 100%;
  height: auto;
}



/* ===============================
   右カラム
================================ */
#right_column {
  /*float: right;*/
  flex: 0 0 219px;
  background-color: #1f366a;
  display: flex;
  box-sizing: border-box;
  /*margin-top: 101px;*/
  flex-direction: column;
  /*outline: 2px solid green;*/
}

/* 横長見出しの下から開始 */
.right_bg {
  flex: 1;
  padding: 101px 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.12) 20%,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,0.12) 45%,
    rgba(255,255,255,0.12) 65%,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0) 100%
  );
  
}

.right_nav {
  margin: 30px 15px;
}

.right_nav_list {
  list-style: none;
  padding: 0;
}

.right_nav_list li {
  margin-bottom: 12px;
}

.right_nav_list a {
  display: block;
  padding: 8px 10px 8px 18px;
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}

/* ▶ 三角アイコン */
.right_nav_list a::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 11px;
  color: #cfe3ff;
}

/* hover */
.right_nav_list a:hover {
  text-decoration: underline;
  background: rgba(255,255,255,0.01);
}

.right_nav_list a.current {
  font-weight: bold;
  text-decoration: underline;
  background: rgba(255,255,255,0.15);
}




/* 下部会社情報（下寄せ） */
.right_info {
  margin-top: auto;
  padding: 0 20px 20px 30px;
  padding-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  font-family: "ヒラギノ明朝 ProN", "MS 明朝", serif; }

.right_info .nano {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 6px;
}

.right_info .company {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.right_info .cert {
  font-size: 12px;
  margin-bottom: 12px;
}

.right_info .tel,
.right_info .fax {
  font-size: 13px;
}

body.home .right_bg {
  padding-top: 20px;
}

/* ===============================
   フッター
================================ */
#foot {
  border-top: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  color: #ffffff;
  background: linear-gradient(
    to bottom,
    #27427f,
    #1c2f5a
  );
  
}

/* フットナビ */
.foot_navi {
  padding: 12px 0;
  font-size: 12px;
}

.foot_navi a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 8px;
}

.foot_navi a:hover {
  opacity: 0.7;
}

/* コピーライト */
.copyright {
  font-size: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.2); }


/* TOPだけ */
body.home .home_top img {
  display: block;
}

.top_2col {
  display: flex;
  gap: 10px;
}

.top_box {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 50%;
}

body.home #top_right_sub::before {
  content: "";
  display: block;
  height: 4px;
  background: #ffffff;
}

/* ===============================
   スマホ対応（共通）
================================ */

@media screen and (max-width: 640px) {

 /* #wrapper {
    width: 100%;
  }*/

  #contents_inner {
    flex-direction: column;
    /*background: none;*/
  }

  #contents_left,
  #right_column {
    width: 100%;
    flex: none;
  }

  /*#right_column {
    background: #1f366a;
  }*/
}
