/*** 全体 ***/

/*-----* CSS変数 *-----*/
:root {
    --bs-body-font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --bs-body-line-height: 1.7;
    --bs-red: #C00;
    --bs-danger: #C00;
    --bs-link-color: #002CAF;
    --bs-link-hover-color: #A31561;
    --base-color: #FFF;
    --main-color: #2138A6;
    --accent-color: #ee730d;
    --bs-danger-rgb: 204,0,0;
    /*--k-heading-color: #4c9ac0;*/
    --k-heading-color: #152a90;
}
:root .list-group {
    --bs-list-group-border-width: 2px;
}

/*-----* 要素指定 *-----*/
h1, h2, h3, h4, h5, h6, div {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

ul, ol {
    margin-bottom: 0;
}

a {
    color: #002CAF;
    text-decoration-thickness: 1px;
}
a > img {
    -webkit-transition: opacity 0.2s linear 0s;
    transition: opacity 0.2s linear 0s;
}
a:hover {
    color: var(--bs-link-hover-color);
}
a:hover > img {
    opacity: 0.6;
}

/*** Bootstrap（CSS）***/

/*-----* テーブル *-----*/
.table th, .table td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.table-bordered {
    --bs-table-border-color: #888;
}
.table-bordered th {
    background-color: #d0e2f0;
}

/*-----* フォーム *-----*/
.form-control,
.form-select,
.form-check-input {
    border-color: #888;
}

/*-----* ボタン *-----*/
.btn-primary {
    --bs-btn-bg: var(--bs-link-color);
    --bs-btn-border-color: var(--bs-link-color);
    --bs-btn-hover-bg: #001F7C;
    --bs-btn-hover-border-color: #001F7C;
    --bs-btn-active-bg: #001F7C;
    --bs-btn-active-border-color: #001F7C;
}

.btn-danger {
    --bs-btn-bg: #C00;
    --bs-btn-border-color: #C00;
    --bs-btn-hover-bg: #850000;
    --bs-btn-hover-border-color: #850000;
    --bs-btn-active-bg: #850000;
    --bs-btn-active-border-color: #850000;
}

/*-----* パンくず *-----*/
.breadcrumb {
    --bs-breadcrumb-divider: ">";
    font-size: 0.875em;
}

/*** ヘッダー ***/

/*-----* グローバルナビ *-----*/
.global-nav {
    background-color: #2138a6;
}
.global-nav li {
    border-left: solid 1px #7b8de5;
    border-right: solid 1px #192a7b;
    letter-spacing: normal;
}
.global-nav li > a {
    display: block;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    -webkit-transition: background-color 0.2s linear 0s;
    transition: background-color 0.2s linear 0s;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
}
.global-nav li > a:hover {
    background-color: #101b51;
}
.global-nav-sp {
    border-top: solid 1px #888;
}
.global-nav-sp .btn-group > .btn:not(:last-child) {
    border-right: solid 1px #888;
}
.global-nav-sp a {
color: #FFF;
}
.global-nav-sp a:link, .global-nav-sp a:hover, .global-nav-sp a:active, .global-nav-sp a:visited {
    color: #FFF;
}

/*** フッター ***/

/*-----* 通常ページ *-----*/
.footer {
    background-color: #05091a;
}
.footer a {
    color: white;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer-sitemap {
    background-color: rgba(255, 255, 255, 0.05);
    border: solid 1px rgba(255, 255, 255, 0.2);
}
.footer-sitemap ul li::before {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0.3rem;
    vertical-align: -0.07em;
    content: "";
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23999' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z' clip-rule='evenodd'/></svg>");
}
.footer-sitemap-category {
    border-bottom: dotted 1px #FFF;
}
.footer-search {
    background-color: rgba(255, 255, 255, 0.8);
}
.footer .freedial a {
    color: #FF0;
}
.footer-contact > a {
    color: var(--bs-body-color);
}
.footer-contact > a:hover {
    color: var(--bs-link-hover-color);
}

#page-top {
    bottom: 0;
    right: 1.5rem;
    background: var(--main-color);
}

/*-----* お知らせバナー *-----*/
.info-banner {
    right: 0;
}

/*** コンテンツ ***/

/*-----* 全体 *-----*/
@media (min-width: 576px) {
    main {
        font-size: 1.14rem;
    }
}

/*-----* 見出し *-----*/
.k-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.7rem;
}
.k-title::before, .k-title::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 6px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.k-title::after {
    bottom: 0;
    border-top: solid 3px var(--k-heading-color);;
    border-bottom: solid 1px var(--k-heading-color);;
}

.k-heading-twotone {
    font-weight: bold;
    padding: 0.5em 1em;
    background-color: var(--k-heading-color);
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.k-heading-twotone:after {
    content: '';
    background-color: #fff;
    opacity: 0.3;
    transform: rotate(-65deg);
    position: absolute;
    bottom: -250px;
    right: -250px;
    width: 300px;
    height: 500px;
}

.k-subheading-balloon {
    font-weight: bold;
    font-size: 1.3rem;
    border: 3px solid var(--k-heading-color);
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
}

.k-subheading-balloon::before {
    content: '';
    background-color: #fff;
    width: 20px;
    height: 3px;
    position: absolute;
    left: 30px;
    bottom: -3px;
}

.k-subheading-balloon::after {
    content: '';
    background-color: var(--k-heading-color);
    width: 20px;
    height: 3px;
    transform: rotate(50deg);
    position: absolute;
    left: 25px;
    bottom: -10px;
}

.k-subheading-accent {
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--k-heading-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.k-subheading-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    border-width: 25px 25px 0 0;
    border-style: solid;
    border-color: var(--k-heading-color) #fff var(--k-heading-color);
}

.k-subheading-lstripe {
    font-weight: bold;
    font-size: 1.3rem;
    border: 2px solid var(--k-heading-color);
    border-radius: 5px;
    padding: 0.75rem 1.75rem 0.75rem calc(1.5rem + 10px);
    position: relative;
}

.k-subheading-lstripe::before {
    content: '';
    background-color: var(--k-heading-color);
    background: repeating-linear-gradient( -45deg, var(--k-heading-color), var(--k-heading-color) 5px, #ffffff 5px, #ffffff 10px );
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.k-subheading-point{
    color: #1c1c1c;/*文字色*/
    font-size: 1.3rem;/*文字サイズ*/
    padding: 0.18rem 1.7rem;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
}

.k-subheading-point::before{
    content: "▼";
    font-weight: 900;/*マーク部の太さ*/
    position: absolute;
    font-size: 1.5rem;/*マーク部のサイズ*/
    left: 0;
    top: 0;
    color: var(--k-heading-color);/*マーク部の色*/
}

.k-subheading-border {
    padding-top: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: dotted 2px var(--bs-body-color);
}

/*-----* パーツ *-----*/

.estimate-name {
    padding: 0.4rem 1rem;
    background-color: #DDD;
    border-radius: 0.3rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.break-sec {
    padding: 1rem;
    background-color: #ECF2F7;
    border: dotted 1px #999;
    font-size: 0.93em;
}

.break-sec .warranty {
    margin-bottom: 1rem;
    font-size: 1.2em;
    font-weight: bold;
}

.break-sec .warranty::before {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.3rem;
    content: "";
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8.5 1.75v2.716l.047-.002c.312-.012.742-.016 1.051.046.28.056.543.18.738.288.273.152.456.385.56.642l.132-.012c.312-.024.794-.038 1.158.108.37.148.689.487.88.716.075.09.141.175.195.248h.582a2 2 0 0 1 1.99 2.199l-.272 2.715a3.5 3.5 0 0 1-.444 1.389l-1.395 2.441A1.5 1.5 0 0 1 12.42 16H6.118a1.5 1.5 0 0 1-1.342-.83l-1.215-2.43L1.07 8.589a1.517 1.517 0 0 1 2.373-1.852L5 8.293V1.75a1.75 1.75 0 0 1 3.5 0z' clip-rule='evenodd'/></svg>");
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}

.info-banner {
    z-index: 1;
}
.info-banner a {
    -webkit-box-shadow: -1px 2px 10px rgba(0, 0, 0, 0.6);
            box-shadow: -1px 2px 10px rgba(0, 0, 0, 0.6);
}

.highlighter-S {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(75%, transparent), color-stop(75%, #FF0));
    background: linear-gradient(transparent 75%, #FF0 75%);
}

.highlighter-M {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, #FF0));
    background: linear-gradient(transparent 50%, #FF0 50%);
}



/*** 個別ページ ***/

/*-----* 自動見積り *-----*/

.estimate-select .list-group-item {
    border-color: #444;
}
.estimate-select .list-group-item:hover {
    background-color: #EEE;
}
.estimate-select .list-group-item > label:hover {
    cursor: pointer;
}
.estimate-select .list-group-item:has(.form-check-input:checked) {
    background-color: #FFC;
    font-weight: bold;
}
.estimate-select .list-group-item input[disabled] + label {
    cursor: not-allowed;
    color: #BBB;
}
.estimate-select .form-select {
    border-color: #444;
}

.estimate-detail > .card {
    background-color: #E8E8E8;
}

.estimate-option li > div {
    padding-left: 0;
}
.estimate-option li > div input[type=checkbox]:checked + label {
    background-color: #FFC;
    font-weight: bold;
}
.estimate-option li > div .form-check-input {
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
    margin-left: 1rem;
}
.estimate-option li > div label {
    display: block;
    padding: 0.7rem 0.8rem 0.3rem;
    border: solid 2px #444;
    border-radius: 0.3rem;
}
.estimate-option li > div label:hover {
    cursor: pointer;
}

.estimate-result {
    padding: 1.2rem;
    border: solid 3px var(--bs-body-color);
}
.estimate-result h2 {
    margin: -1.2rem -1.2rem 1.2rem;
    padding: 0.2rem;
    background-color: var(--bs-body-color);
    color: #FFF;
    text-align: center;
}
.estimate-result h3 {
    padding: 0.3rem 0.6rem;
    background-color: #666;
    border-radius: 0.3rem;
    color: #FFF;
}
.estimate-result .table-striped th {
    font-weight: normal;
    white-space: normal;
}
.estimate-result .table-striped td {
    white-space: nowrap;
    text-align: right;
}

.estimate-result-submit {
    margin: 1.2rem -1.2rem -1.2rem;
    padding: 1.2rem;
    background-color: #DBE7F0;
    text-align: center;
}

/*-----* 入力フォーム *-----*/
form label.error {
    display: block;
    margin-top: 0.2rem;
    color: #C00;
    font-weight: bold;
}

/*-----* 個別ページ（request 追加部分） *-----*/
.k-header-req {
    border-bottom: solid 0.3rem #2138A6;
}

/*-----* メール送信後 *-----*/
.k-text-thanks{
    color: #1e8b99;
    font-weight: bolder;
}
.k-text-darkblue{
    color:#242c45;
    font-weight: bold;
}