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

:root {
    --base-color: #000000;
    --link-color: #e98300;
    --linkhover-color: #0486BD;
    --back-color: #0486BD;
    --border-color: #00A5D9;
    --white-color: #ffffff;

    --bg-page: #f5f7fb;
    --bg-surface: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
    --radius: 14px;
}

body {
    background: var(--bg-page);
    color: var(--text);
}

p { line-height: 1.8; }

a { -webkit-tap-highlight-color: rgba(0,0,0,0); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

img {
	max-width: 100%;
	height: auto;
}
a {
    color: var(--link-color);
    text-decoration: none;
}
a:hover { 
    color: var(--linkhover-color);
}
a img { margin-bottom: 1rem; }
a img:hover {
	opacity: 0.8;
}

h1,h2,h3 { letter-spacing: .02em; }
h1 { font-size: 2.2rem; line-height: 1.3; margin: 1.6rem 0 1rem; }
h2 { font-size: 1.8rem; line-height: 1.35; margin: 2.2rem 0 1rem; }
h3 { font-size: 1.4rem; margin: 1.6rem 0 .8rem; }
p, li { line-height: 1.75; }

main section.container {
    background: var(--bg-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.2rem 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    main section.container { padding: 1.8rem 1.4rem; }
}
.blueback {
	background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}
iframe {
    border: 0;
    width: 100%;
}

header {
    background: var(--bg-surface);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
    align-items: center;
}

.head h1 { 
    padding: 1rem 0 0;
}

.logo {
    width: 360px;
}
.logochar {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.telbox {
	margin-left: auto;
	font-size: 2.2rem;
	padding: 0.6rem 0 0.2rem 0;
    color: var(--link-color);
}
.menu {
	background-color: var(--back-color);
    box-shadow: 0 6px 18px rgba(4,134,189,.18);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--white-color);
}
nav a:hover {
    background-color: var(--linkhover-color);   
	color: var(--white-color);
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 769px){
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 12px;
}
.logo {
    width: 300px;
    height: auto;
}
.telbox {
	margin-left: 0;
	text-align: center;
    color: var(--link-color);
    font-size: 2rem;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}
nav li a {
    padding: 1.8rem 1rem;
    font-size: 1.8rem;
}
#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;
}
}

.mainimg img {
	width: 100%;
	display: block;
}

main {
    margin: 3rem 0 4rem 0;
}

figcaption {
    text-align: center;
    font-weight: 700;
    color: var(--text);
}

figure {
    margin: 0;
}
figure a {
    display: block;
    background: var(--bg-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.6rem 1.4rem;
    transition: transform .15s ease, box-shadow .15s ease;
}
figure a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
figure img { margin-bottom: .8rem; }

.news h2 {
    background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 1rem 0;
}

.news ul { padding-left: 0; margin: 0; }
.news .popup-open {
    display: block;
    padding: .4rem .2rem;
    color: var(--text);
}
.news .popup-open:hover { color: var(--linkhover-color); }

.move {
	color: #e2242c;
    text-align: center;
    margin-top: 3rem;
}

footer {
    background-color: var(--back-color);
    padding: 5rem 0;
	color: var(--white-color);
}
footer h5 {
    border-bottom: 2px solid var(--white-color);
}
footer a {
    color: var(--white-color);
}

footer a:hover {
    color: var(--link-color);
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--white-color);
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
	display: inline-block;
}

#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--back-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--back-color);
}

.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

.service {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.service_ul {
    list-style: circle inside;
    padding-left: 2rem;
}

.service_li {
    list-style: none;
    padding-left: 4rem;
}

.shop,.contact {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.shop_list,.contact_list {
    line-height: 200%;
}

.shop_list table {
    width:100% ;
}

.freeaccess {
    color: #e2242c;
    font-size: 2em;
    margin: 0.5rem 0;
}

.formbottun {
    margin: 3rem;
    display: block;
    width: 20em ;
    height: 3em;
    text-align: center;
    border: solid;
    border-color: #e2242c;

}

.formbottun a {
    vertical-align: middle;
    color: #e2242c;
    font-size: 2.5rem;
}

.linebanner a {
    margin: 3rem;
    display: inline;
}



.tablecompany {
    width:90% ;
    margin: 3rem;
}

.notification {
    font-size: 115%;
    padding: 1rem;
    margin: 1rem;
}

.notification_button {
    text-align: center;
    background-color: #00a5d9;
}

.notification_button a {
    color: #ffffff;
}

.insurance_list {
    margin: 1rem;
    padding: 1rem;
    list-style-type: circle;
}

.inducement_list {
    font-size: 1.1em;
    list-style: square inside;
    margin: 2rem;    
}

.fdkpi {
    margin: 3rem 0;
    padding: 3rem 0;
}

.fdkpi a{
    display: inline;
}

.popup-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.popup-open {
    cursor: pointer;
    display: inline; 
}

.popup-overlay {
    display: none;
}

.popup-toggle:checked ~ .popup-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-window {
    width: 90vw;
    max-width: 560px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 6px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-text {
    margin: 0;
}
.popup-text:not(:last-of-type) {
    margin-bottom: 1em;
}

.popup-close {
    cursor: pointer;
    position: absolute;
    top: -26px;
    right: 0;
}

h3.underline {
    font-size: 1.6rem;
    font-weight: 600;
    border-bottom: 2px solid var(--back-color);
    padding-bottom: 0.4rem;
    margin-top: 2.4rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    h3.underline {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
}

.popup-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-item {
    color : var(--text-color);
    font-weight: 600;
}