@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;
}
.header .logo{

}
.header .logo img{
    width: 200px;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid var(--base-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    color: #005ab3;
    FONT-WEIGHT: BOLD;
    font-size: 16px;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem 1em;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
    position: absolute;
    top: 0;
    right: 15px;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
	/* margin-bottom: 10px; */
	padding: 2rem 0 1rem 0;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
    background: #005ab3;
    border-radius: 15px;
    margin-bottom: 25px;
    padding: 10px;
    overflow: hidden;
}
#navi a{text-align: left;color: #fff;}
#navi ul{
    margin: 0;
}
	#navi ul li{
	margin-bottom: 0;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 3rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #005ab3;
}
.gray-back h2{
	color: #fff;
}
@media screen and (max-width: 768px){
main {
    margin: 3rem 0 0 0;
}
section {
	margin: 2rem 0;
	padding: 4rem 0;
}
}
/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    padding: 15px;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    /* border-bottom: 0.4rem solid var(--base-color); */
    padding: 0 1rem 0rem 1rem;
    font-weight: 600;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}
@media screen and (max-width: 768px){
.under{
	font-size: 23px;
	line-height: 1.5;
}
}
/*会社概要
-------------------------------------*/
.companyinfo {margin: 0 auto;}
.companyinfo table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
.companyinfo th, td {
            /* border: none; */
            padding: 8px;
            text-align: left;
        }
.companyinfo th {
            /* background-color: #f2f2f2; */
            width: 30%;
        }

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

}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    /* background-color: var(--back-color); */
    padding: 0 0 45px 0;
    text-align: center;
}
footer img{width: 100px;}
.footer_a{display: inline;text-decoration: none;color: #005ab3;}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    /* background-color: #005ab3; */
}
.copyright a {
    color: #a9a9a9;
    text-decoration: none;
    display: inline;
}

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

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
}

.item_title{font-size: 23px;margin-bottom: 30px;color: #fff;}

        .anchor-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 5px;
            margin-bottom: 40px;
            list-style: none;
            padding: 0;
            width: 100%;
        }

        .anchor-nav a {
            display: inline-block;
            padding: 10px 25px;
            background-color: #ffffff;
            color: #005ab3;
            text-decoration: none;
            border-radius: 47px;
            font-weight: bold;
            transition: background-color 0.3s ease, transform 0.2s ease;
            width: 100%;
        }

        .anchor-nav a:hover {
            background-color: #00418c;
            transform: translateY(-2px);
        }

        /* Product Section Styles */
        .product-section {
            margin-bottom: 40px;
            padding-top: 50px; /* Offset for fixed header if you add one */
            margin-top: -50px; /* Negative margin to compensate for padding */
        }

        .product-section h2 {
            font-size: 23px;
            color: #fcfcfc;
            padding-bottom: 10px;
            border-bottom: 2px solid #e0e0e0;
            margin-bottom: 20px;
            font-weight: bold;
        }

        /* Product List Styles */
        .product-list {
            list-style: none;
            padding: 0;
            display: -webkit-flex;
            display: flex;
            -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
            -webkit-justify-content: left;
            justify-content: left;
        }

        .product-list li {
            color: #fff;
            padding: 5px 5px;
            margin-bottom: 0px;
            border-radius: 3px;
            text-align: left;
        }
@media screen and (max-width: 768px){
.anchor-nav{gap: 5px;margin-bottom: 5px;}
.product-list li{margin-bottom: 0px;}
.anchor-nav a{
    padding: 9px 12px;
}
.spbr{display: block !important;}
.no_m{
    margin-top: 0;
    padding-top: 0;
}
}
.contact{/* background-color: #005ab3; */padding: 20px;text-align: center;color: #005ab3;}
.contact p{

}
.contact div{font-size: 2em;font-weight: bold;}
.spbr{display: none;}
