@charset "utf-8";

/* *****共通設定***** */

main{
    display: block;
    background-color: #ffffff;
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}
h1 { font-size: 4.5rem; }
h2, h3{
   color: #401f0f;
}
.gray {
    color: #6c757d;
}
.card{
    /* border-color: #CBDCEB; */
    cursor: pointer;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

/* ヘッダー(navbar) */
.navbar{
    /* border-bottom: 1px solid #a29080; */
    background-color: #ffffff;
}
.navbar .navbar-collapse{
    flex-grow: 0;
}
.navbar .navbar-brand{
    height: 50px;
}
.navbar .navbar-brand img{
    height: 100%;
}
.navbar .navbar-nav .active > .nav-link{
    color: #242422;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgb(185, 185, 183);
}

/* フッター */
#footer{
    background-color: #2e2e2e;
}
#footer .container{
    color: #a4a4a4;
}
#footer .footer-ttl{
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #f8f8f8;
}
#footer address p,
#footer #footer-menu li{
    margin-bottom: 0.5rem;
}
#footer #footer-menu ul{
    margin: 0;
    padding: 0
}
#footer #footer-menu ul{
    list-style: none;
}
#footer #footer-menu li span{
    display: inline-block;
    margin-right: 0.5rem;
}
#footer #copyright{
    border-top: 1px solid #3d3d3d;
    background-color: #2e2e2e;
    color: #a4a4a4;
}
#footer img {
	width: 360px;
}

#footer a {
	color: #a4a4a4;
    
}

#footer a:hover {
    color: #a4a4a4bd; /* 薄い黒色に変更 */
    text-decoration: none; /* 下線を消す */
}

/* *****トップページ***** */
/* メイン画像 */
h1{
    font-weight: bold !important;
}

#page-top .top {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page-top .jumbotron-fluid{
    height: 640px;
    background-color: #f1efff;
    border-bottom: #dddddd;
    background: url("../img/top_main.jpg") no-repeat center center;
    background-size:cover;
    background-position: center 30%;
}
#page-top .jumbotron-fluid .container{
    height: 100%;
}
#page-top .jumbotron-fluid .btn{
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 1.5rem;
    font-weight: bold;
	border-width: 3px;
    border-color: #fff;
}

/* 各セクション */
#page-top section{
    /* border-bottom: 1px solid #CBDCEB; */
    background-color: #ffffff;
	padding: 5rem 0;
}
#page-top section:nth-child(odd){
    background-color: #f5f6f8;
}
#page-top section .container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}
#page-top section .container > h2 + p{
    max-width: 700px;
	margin: 0 auto 50px;
}

#sec1 h3{
    font-size: 1.4rem;
}

#sec2 {
    line-height: 180%;
}
#sec2 .row{
    min-height: 160px;
    color: #2f2f2f;
}

.tcd-ht{
    height: 16rem;
}

#sec4 .card-body .clearfix p,
#sec4 .card-body .clearfix h3{
    margin-left: 115px;
    line-height: 130%;
}
#sec4 .card-body .card-title{
    margin-bottom: 5px;
    color: #401f0f;
}
#sec4 .card-body .card-subtitle{
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #968075;
}
#sec4 img {
    width: 100%;
}

#footer-contact {
    background-image: url(../img/top_main.jpg);
    /* background-image: url(../img/top_bg.jpg); */
    background-size: cover;
    background-position: center center;
    padding: 1rem 0 6rem 0;
    color: #fff;
    /* margin: 6rem 0 -6rem; */
}

#footer-contact .btn {
    /* max-width: 480px; */
    max-width: 250px;
    margin: 0 auto;
    /* background: #fff; */
    text-align: center;
    font-weight: bold;
    /* color: #0092E5; */
    /* border-radius: 40px; */
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    display: block;
    border-width: 3px;
    border-color: #fff;
}

#footer-contact a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 20px;
    line-height: 25px;
    /* padding: 25px; */
    padding: 20px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#footer-contact .btn a:hover {
    opacity: 0.5; 
    text-decoration: none;
}


#sec5 article > .row {
    border: 1px solid #dddddd;
}
#sec5 > div:nth-child(1) img {
    width: 100%;
}
#sec5 h3{
    margin-bottom: 0.1rem;
}
#sec5 article > div div header {
	padding: 10px;
}

/* *****下層ページ***** */

#breadcrumb-wrapper{
    /* border-bottom: 1px solid #a29080; */
}
#breadcrumb-wrapper,
.breadcrumb{
    font-size: 0.9rem;
    background-color: #2e2e2e;
}
.breadcrumb a{
    color: rgba(255,255,255,.5);
}
.breadcrumb a:hover,
.breadcrumb a:focus{
    color: rgba(255,255,255,1);
}
.breadcrumb-item+.breadcrumb-item::before{
    content: ">";
    padding-right: 1rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb-item.active{
    color: #ffffff;
}
h1.page-ttl {
    border-left: 8px solid #0092E5;
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page section:nth-child(even){
    background-color: #f5f6f8;
}

#page section {
	padding: 5rem 0;
    scroll-margin-top: 5rem; 
}

#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}
#page .jumbotron{
    background-color: #fff;
    border-bottom: #dddddd;
    /* background: url("../img/top_bg.jpg") no-repeat center center; */
    background-size:cover;
    border-radius: initial;
}
#page .jumbotron .container{
    padding: 0;
}
#page .jumbotron .container p{
    margin-bottom: 0;
}

#page h2 + p{
    margin: 0 0 1.2rem;
}
#page main img{
    max-width: 100%;
}
#page .sample-title{
    display: flex;
    align-items: center;
    text-align: center;	
}

#page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin-left: 0.5em;
}
#page .sample-title span{
    background-color: #f5f6f8;
}
#page .sample-subtitle{
    font-size: 1.5rem;
    font-weight: bold;
    color: #401f0f;
}

#page .head{
    background-color: #5ca4c7;
    color: #fff;
}

#page .head-confirm{
    text-align: right;
    width: 30%;
    min-width: 30%;

}

#page .form-confirm{
    width: 80%;
    word-wrap: break-word;
    word-break: break-all;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}


.history > dl {
    padding: 0.01rem 0;
    font-size: 1rem;
    line-height: 1.25;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.25rem;
}

.history > dl dt {
    /* display: flex; */
    float: left;
    width: 4rem;
    border-top: 1px solid #ddd;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.history > dl dd {
    margin-left: 4rem;
    border-top: 1px solid #ddd;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0rem;
}

.history > dl dd time {
    float: left;
    width: 3em;
    text-align: right;
}

.history > dl dd p {
    margin: 0px;
    line-height: inherit;
    margin-left: 4.5rem;
}


#page iframe {
    width: 100%;
    height: 300px;
    border: 0;
}


/* *****フォーム***** */

.form1 label{
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select{
    max-width: 730px;
}
.form1 .form-group{
    margin-bottom: 2rem;
}


/* *****スクロールで表示***** */


.scroll-display{
    /* width: 32%; */
    /* height: 451px; */
    /* box-shadow: 0 3px 6px rgba(0, 0, 0, .16); */
    /* 追記 */
    transform: translateY(40px);
    opacity: 0;
    transition: 1s;
}
.scroll-display.show{
    transform: translateY(0);
    opacity: 1;
}

/* *****プレースホルダー色***** */
.form-control::placeholder{
    color: #cccccc;
}

/* *****カスタムチェックボックス***** */
.chbox {
    border: 1px solid #eee;
    line-height: 20px;
    display: block;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
}

input:checked + label {
    border: 1px solid #343a40;
    background: #343a40;
    color: #fff;

}

input[type='checkbox'] {
    width: 0px;
    height: 0px;
    display: inline-block;
    font-size: 0px;
    margin: 0px;
    padding: 0px;
    position: absolute;
}

input:checked + label i::before {
    content: '\f14a'; /* fa-check-square */


}

label i::before {
    content: '\f096'; /* fa-square-o */

} 

.invalid-feedback2 {
    display: none;
    visibility: hidden;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}
.invalid-feedback3 {
    /* display: none; */
    visibility: hidden;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}
.phoneNumber-error {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.email-error {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.hp {
    position: absolute;
    left: -9999px;
}

/* *****プライバシーポリシー***** */


/* スクロール可能な小さな画面 */
.scrollable-container {
    width: 730px;           /* 幅を300pxに指定 */
    max-height: 200px;      /* 最大高さを200pxに指定 */
    overflow-y: auto;       /* 縦方向にスクロールを可能にする */
    border: 1px solid #ccc; /* 枠線を追加 */
    padding: 10px;          /* 内側の余白を指定 */
    border-radius: 3px;    /* 枠線を丸くする */
    display: none;  
}

/* 中身のテストデータ（高さを超える内容） */
.content {
    height: 600px; /* コンテンツを大きく設定してスクロールを発生させる */
}

#toggleLink{
    cursor: pointer;
}

.cap{
    font-size: 0.95rem;
    line-height: 1.65;
    color: #808080; 
}

/* SIP画面 */

/* SIP画面　サービスの特徴 */
.box-img {
    max-width: 1500px;
    width: 96%;
    margin: 2rem auto;
    background: #f8f8f8;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.box-att {
    max-width: 900px;
    margin: 2.5rem auto;
    border-bottom: 2px solid #0092E5;
    text-align: center;
    padding: 1rem;
}

.box-att p {
    font-weight: bold;
    font-size: 1.35rem;
    color: #5e5e5e;
    line-height: 1.25;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}


/* SIP画面　サービスの構成 */
.config {
    max-width: 1500px;
    width: 96%;
    margin: 2rem auto;
    background: #f8f8f8;
    padding: 1rem 0;
}

.config-box {
    max-width: 900px;
    width: 92%;
    margin: 1rem auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: center;
}

.config-box > div {
    width: 100%;
    border: 2px solid #eee;
    background: #293241;
}

.config-box > div figure {
    padding: 15px;
    min-height: 165px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.config-box > div p {
    font-size: 1.15rem;
    line-height: 1.25;
    padding: 0.7rem;
    margin: 0px;
    color: #fff;
    font-weight: bold;
}

.config-box > span {
    width: 12.5%;
    font-size: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.config-box > div figure img {
    width: 110px;
    max-width: 100%;
}

.h-system{
    font-size: large;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

b {
    font-weight: normal;
}

figure {
    margin: 0px;
    padding: 0px;
}

.config > p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 auto 1rem;
}

.config > * {
    max-width: 900px;
    width: 92%;
    margin: 0 auto;
}

/* システム開発画面 */

.result-box {
    max-width: 1500px;
    width: 96%;
    margin: 2rem auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.result-box > div {
    width: 20%;
    margin: 1rem 2.5%;
}

.result-box > div figure {
    border: 1px solid #eee;
}

.result-box > div figure img {
    width: 100%;
}

img {
    border: 0px;
    vertical-align: bottom;
    box-sizing: content-box;
}

.result-box > div dt {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.25;
    margin: 1.25rem 0 1.25rem;
}

.result-box > div dd {
    font-size: 1rem;
    line-height: 2.25;
    margin: 1rem 0;
}

.title{
    color: #2e2e2e;
}

.top-title{
    padding-bottom: 11.5rem;
}

.h-title{
    color:#636363;
    font-size: 3rem;
}


/* カードの初期デザイン */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 動きとシャドウをスムーズにする */
}
  
/* カーソルがカードにホバーした時の動き */
.card:hover {
    transform: translateY(-10px); /* カードを少し上に動かす */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* シャドウを追加して浮き上がらせる */
}


/* SIP 規格table */

.table_lay th, .table_lay td {
    border-bottom: 2px solid #c1c7c6;
    padding: 1em;
}
.table_lay th {
    border-bottom: 2px solid #798280;
    font-weight: bold;
}

/* ボタン　角丸 */
.btn-custom{
    border-radius:2.25rem!important;
    padding: 0 70px;
    /* height: 65px; */
    line-height: 4rem;
    /* text-align: center; */
    font-size: 20px!important;
}


  /* ヘッダー　問い合わせボタン */
.btn-custom-head{
    border-radius: 2rem;
    padding: 0 23px;
    line-height: 2.5rem;
}


/* 見出し文字　レスポンシブ */
.res-font{
    font-size: 3rem;
}

/* プライバシーポリシー表示 */
.pp-box h3 {
    margin: 2rem 0 1rem 0;
    font-size: 1rem!important;
}

.pp-box p {
    font-size: 0.9rem;
    line-height: 2;
    margin: 0.9rem 0;
}

.top-text{
    line-height: 35px;
    font-size: large;
}


.btn-confirm{
    padding-left: 1.5rem!important;
    padding-right: 1.5rem!important;
    line-height:3rem!important;
    font-size: 1.5rem;
}

/* スピナーのスタイル */
#spinner {
    display: none;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* オーバーレイのスタイル */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);  /* 半透明の黒 */
    z-index: 999;  /* スピナーより前面に表示 */
}

/* フォームのスタイル */
.form-container {
    position: relative;
}

/* ページ先頭に戻るスタイル */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0865FA;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
    opacity: 1;
}

.arrow{
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    width: 25%;
    height: 25%;
    top: 44%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}

/* テーブルスタイル */

.highlighted tr:nth-child(even) {
    background-color: #f2f2f2; /* 偶数行の背景色 */
}