@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 0.5rem;
}
.header-catchBox{
	margin: 8rem auto 0;    
}
.header-titleBox{
	margin: 2.5rem auto 0;    
}
.header-titleBox2{
	margin: 2.5rem auto 2rem;
}

.header-comNameBox{
	margin: 2.5rem auto 2rem;
}

@media screen and (max-width: 768px){
  header {
    padding: 3rem 0 0;
  }

  .header-catchBox,
  .header-titleBox,
  .header-comNameBox {
    width: 95%;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

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

.header-comNameBox{
    display: block;
    line-height: 0;
  }

.header-comNameBox img {
    display: block;
    margin: 0 auto;
    max-width: 150px;
  }
}    
/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
}

section {
	margin: 0;
	padding: 3rem 0;
}
        
.mainimg img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.box-a{
   padding: 3rem 0 0 0;
}

@media screen and (max-width: 768px) {
  main {
    padding-top: 1rem;
  }
}
    
/*タイトル部分
-------------------------------------*/
.section-title--typeA {
    max-width: 1200px;
    height: 70px;
    background-color: #08445a;
    border-radius: 35px;
    margin: 0 auto;
    padding: 2.6rem 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 4rem;
    letter-spacing: 0.1em;
}
    
.section-title--typeB {
    max-width: 1040px;
    margin: 0 auto 40px;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    border-bottom: 2px dashed #ccc;
}

.section-title--typeB .num {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 4rem;
    color: #333333;
    position: relative;
    top: 1px; /* -1〜-4px の間で調整 */
}

.section-title--typeB .text {
      font-size: 3rem;
      font-weight: 400;
      color: #1a1a1a;
}
    
/* ▼ スマホ対応（幅768px以下） */
@media screen and (max-width: 768px) {
    .section-title--typeA {
        width: 98%;
        height: 3rem;
        border-radius: 10px;
        font-size: 2.2rem;
    }
    .section-title--typeB {
        max-width: 100%;
        margin: 0 1.5rem 2rem;
        padding-bottom: 0.6rem;
        display: flex;
        align-items: baseline;
        gap: 0.8rem;
    }
    .section-title--typeB .num {
        font-size: 2rem;
        top: 0px; /* -1〜-4px の間で調整 */    }
 
    .section-title--typeB .text {
        font-size: 2rem;
}

}

/*セクション部分
-------------------------------------*/
.feature-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
}

.feature-content p {
    font-size: 2.6rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.4rem;
    overflow: hidden;
}

.feature-content figure {
    float: right;
    width: 290px;
    margin-right: 0!important;
    margin-top:1rem;
    margin-left:2rem;
    margin-bottom: 2rem;
}

.feature-content figure img {
    max-width: 100%;
    display: block;
}
span.spimg img{
    display: none;
}

.float_none {
  clear: both;
}

@media screen and (max-width: 768px) {
    .feature-content {
        margin: 0 1.5rem 0;
        overflow: hidden;
    }
    .feature-content figure {
        display: none;
        float: none;
    }
    .feature-content p {
        overflow: visible;
        font-size: 1.8rem;
        line-height: 1.2;
    }
    span.spimg img {
        display: block;
        margin: 0 auto 2rem;
        width: 100%;
    }
}

/* ▼ 4つのポイントブロック */

.feature-points--a {
    margin: 0 8rem;
    padding: 1.8rem 4rem 1rem;
    background: #d1d3d4;
}
.feature-points--b {
  margin: 0 8rem 5.2rem;
  padding: 0.8rem 3rem 0;
  background: #e4e7e8;
}

.points-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #495369;
    margin:0;
    padding: 0 0 0 12px;
    position: relative;
    top: -1px; /* -1〜-4px の間で調整 */

}

.points-title span{
  font-size: 2.8rem;
    color: #898989;
    display: inline-block;
    margin: 0 1rem 0 0;
}

.points-list {
  margin: 0 0 1rem;
  padding: 1rem 2rem 1.2rem;
  list-style: none;
}

.points-list li {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 0.5rem;
  line-height: 1.8;
  font-size: 2.6rem;
  color: #333;
}

/* 共通の丸スタイル */
.points-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 30px;
  height: 30px;
  background: #00557d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
}

/* ①②③④ を数字で指定 */
.points-list li:nth-child(1)::before {
  content: "1";
}
.points-list li:nth-child(2)::before {
  content: "2";
}
.points-list li:nth-child(3)::before {
  content: "3";
}
.points-list li:nth-child(4)::before {
  content: "4";
}

@media screen and (max-width: 768px) {
  .feature-points--a {
    margin: 2rem 1.5rem 0;
    padding: 1rem 1.2rem;
  }

  .points-title {
    font-size: 1.6rem;
    padding-left: 8px;
  }

  .points-title span {
    font-size: 1.4rem;
    margin-right: 0.4rem;
  }

  .feature-points--b {
    margin: 0 1.5rem 2rem;
    padding: 1rem 1.2rem;
  }

  .points-list {
    padding: 0.5rem 0.5rem 0.8rem;
  }

  .points-list li {
    font-size: 1.4rem;
    padding-left: 2.8rem;
    margin-bottom: 0.6rem;
    line-height: 1.7;
  }

  /* 丸数字を小さく */
  .points-list li::before {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
    top: 0.4em;
  }
}

/*外観・平面図部分
-------------------------------------*/
.gaikan-Box{
    max-width: 1120px;
    margin: 0 auto 40px; /* 中央寄せ＋下に余白 */
    padding: 5rem 8.6rem;
    background: #fff;
    border: 5px solid #00557d;
    border-radius: 3rem;
    display: grid;
    grid-template-columns: auto; /* 左画像 / 右テキスト */
    grid-template-rows: auto auto;   /* 上1段 + 下2枚 */
    gap: 2rem 0;
}

/* 左上の小さい画像 */
.gaikan-img-small {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width:450px;
}

/* 右上のテキスト */
.gaikan-text {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 16px 0;
    font-size: 2.6rem;
    line-height: 1.6;
    width:450px;
    margin: auto;
}
.gaikan-table {
font-family: "Kiwi Maru", serif;
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    color: #333;
}

.gaikan-table th {
  width: 30%;          /* ← 項目名の幅を均等に */
text-align-last: justify;
  padding: 6px 0 0 10px;
    font-weight: 500;
}

.gaikan-table td {
  text-align: right;   /* ← 値を右揃え */
  padding: 6px 0;
}
    /* table 内の線を全部消す */
    .gaikan-table,
    .gaikan-table th,
    .gaikan-table td {
      border: none;
    }

/* 下の大きい画像2枚 */
.gaikan-img-large:nth-of-type(3) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
    width:475px;
}

.gaikan-img-large:nth-of-type(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
    width:475px;
}

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

/* ▼ SP（スマホ）では縦並びに */
@media (max-width: 768px) {
    .gaikan-Box {
        display: block;          /* grid を解除 */
        padding: 2rem 1.5rem;    /* スマホ用に余白を調整 */
        margin: 0 1rem 3rem;     /* 左右に少し余白を作る */
        border-width: 3px;       /* 枠線を少し細く */
        border-radius: 1.5rem;
    }
    .gaikan-img {
        width: 100%;
        margin: 0 0 1.5rem;
    }
    .gaikan-img img {
        width: 100%;
        height: auto;
        display: block;
    }
    .gaikan-img-small {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .gaikan-text {
        width: 100%;
        margin: 0 0 2rem;
        padding: 1rem 0;
        font-size: 1.6rem;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
    }

    .gaikan-table th,
    .gaikan-table td {
        font-size: 1.6rem;
        padding: 4px 0;
    }

    .gaikan-table th {
        width: 40%;               /* スマホでは少し広めに */
        text-align-last: left;    /* 左揃えに変更して読みやすく */
        padding-left: 0;
    }

    .gaikan-table td {
        text-align: right;
    }

    .gaikan-img-large {
        width: 100%!important;
        margin-bottom: 1.5rem;
    }
    .gaikan-img-large img {
        width: 90%;
        margin: 0 auto;
    }
    }

/*option
-------------------------------------*/
.section-title--typeC {
    max-width: 1120px;
    margin: 0 8rem 40px;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    border-bottom: 2px solid#ccc;
}

.option-lead {
    max-width: 1120px;
    margin: 0 8rem;
}

.option-lead p {
    font-size: 2.6rem;
    line-height: 1.6;
    color: #333;
}

.option-cases {
    max-width:1000px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin:0 auto;
}

.option-case-img {
    width: 48%;
    height: auto;
    }

@media screen and (max-width: 768px) {
    .section-title--typeC {
        margin: 0 1.5rem 20px;
        padding-bottom: 6px;
        gap: 8px;
    }
    .section-title--typeC .text {
        font-size: 1.8rem;
    }
    .option-lead {
        margin: 0 1.5rem 1rem;
    }
    .option-lead p {
        font-size: 1.6rem;
        line-height: 1.7;
        margin-bottom: 0.5rem; /* ← ここが効く！ */
    }

    .option-cases {
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
        margin: 0 1.5rem;
    }

    .option-case-img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }
}

/*ボタン
-------------------------------------*/
.option-contact {
  text-align: center;
  margin: 5rem 0 0;
}

.contact-btn--mock {
  display: block;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 4rem 1.8rem;
  font-size: 3.8rem;
  color: #fff;
  background-color: #231815;
  border: 3px solid #231815; /* 外側の黒線 */
  border-radius: 1rem;
  box-shadow: inset 0 0 0 2px #fff; /* 内側の白線 */
  text-decoration: none;
  transition: 0.3s ease;
  position: relative;
}

.material-symbols-outlined.arrow-icon {
  font-size: 5rem;
  vertical-align: -1.2rem;
  margin-left: 1.5rem;
  color: #fff;
  font-variation-settings:
    "wght" 300,
    "opsz" 24;
}
.contact-btn--mock:hover {
    background-color: #403533; /* 元の #231815 より少し暗い */
    border-color: #403533;
    color: #fff;
}

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

  .contact-btn--mock {
    max-width: 100%;
    width: 100%;
    padding: 1.4rem 1rem;
    font-size: 1.8rem;
    border-radius: 0.8rem;
  }

  .material-symbols-outlined.arrow-icon {
    font-size: 2.2rem;
    vertical-align: -0.4rem;
    margin-left: 0.8rem;
  }

  .option-contact {
    margin: 3rem 1.5rem 0;
  }
}


/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}
.footer-comNameBox{
	margin: 2.5rem auto 2rem;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/*タブレット用メディアクエリ
-------------------------------------*/

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  /* 必要に応じて余白をつけたい要素を追加 */
  .option-cases,
  .option-contact,
  .feature-points,
  .gaikan-Box {
    padding: 3rem 2rem;
  }
    .gaikan-img-large {
        width: 99%;
        margin-bottom: 1.5rem;
    }
    .gaikan-img-large img {
        width: 99%;
        margin: 0 auto;
    }

}