@charset "UTF-8";
/* CSS Document */

html {
    font-size: 62.5%;
    width: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after{
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-weight: 500;
    font-size: 1.6em;
    line-height: 2.4rem;
    text-align: center;
    background-color: #E8E8E8;
    overflow-x: hidden;
}

.br{
    display: none;
}

@media (max-width: 768px){
    .br{
        display: block;
    }
}

/* 共通ヘッダー */

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(229,229,229,0.80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header-inner{
    max-width: 1700px;
    margin: 0 auto;
    padding: 10px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    flex-shrink: 0;
    display:flex;
    align-items:flex-end; 
    gap:16px;
}

.logo-copy{
    font-size:1.5rem;
    font-weight:700;
    color:#004098;
    letter-spacing:.08em;
    white-space:nowrap;
    line-height:1;
	
	padding-bottom:4px; 
}
@media (max-width: 768px){
   .logo-copy{
    font-size:1rem;

}
}


.logo img{
    height: 50px;
    width: auto;
    display: block;
}

.header-nav{
    margin-left: auto;
}

.header-nav ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav a{
    position: relative;
    color: #004098;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: .08em;
    transition: .3s;
}

.header-nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #007bff;
    transition: .3s;
}

.header-nav a:hover{
    color: #007bff;
}

.header-nav a:hover::after{
    width: 100%;
}

.menu-toggle{
    display: none;
}

.hamburger{
    display: none;
}

/* スマホ用メニュー */

@media (max-width: 750px){

    .header{
        height: 60px;
    }

    .header-inner{
        padding: 10px 20px;
    }

    .logo img{
        height: 40px;
    }

    .hamburger{
        display: block;
        width: 30px;
        height: 22px;
        position: fixed;
        top: 19px;
        right: 20px;
        cursor: pointer;
        z-index: 10001;
    }

    .hamburger span{
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 999px;
        position: absolute;
        left: 0;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1){
        top: 0;
    }

    .hamburger span:nth-child(2){
        top: 9px;
    }

    .hamburger span:nth-child(3){
        top: 18px;
    }

    .header-nav{
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(0,0,0,0.8);
        transition: 0.3s;
        padding-top: 70px;
		
    }

    .header-nav ul{
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    .header-nav li{
        border-bottom: 1px solid rgba(255,255,255,0.2);
		
    }

    .header-nav a{
        display: block;
        padding: 18px 24px;
        font-size: 1.6rem;
        text-align: left;
		color: #fff;
    }

    .header-nav a::after{
        bottom: 10px;
        left: 24px;
    }

    .header-nav a:hover::after{
        width: calc(100% - 48px);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(1){
        top: 9px;
        transform: rotate(45deg);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(2){
        opacity: 0;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(3){
        top: 9px;
        transform: rotate(-45deg);
    }

    .menu-toggle:checked ~ .header-nav{
        right: 0;
    }
}

/* TOPへ戻る */

.pagetop{
    position: fixed;
    right: 35px;
    bottom: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #004098;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 9999;

    filter: drop-shadow(0 3px 10px rgba(0,0,0,.35));
}

.pagetop::before{
    content:"";
    width: 16px;
    height: 16px;

    border-top: 2px solid #004098;
    border-left: 2px solid #004098;

    transform: rotate(45deg);
    margin-bottom: 10px;

    transition: .3s;
}

.pagetop span{
    font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;

    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.pagetop:hover{
    transform: translateY(-5px);
    color: #007bff;
}

.pagetop:hover::before{
    border-color: #007bff;
}

.pagetop.show{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px){
    .pagetop{
        display:none;
    }
}

/* ❎フッター */
.footer{
    position: relative; /* ←追加 */
    background: #e5e4e6;
    color: #fff;
    padding: 60px 20px 30px;
    background-image: url("../img/DSC00137.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden; /* ←追加推奨 */
}

.footer::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.2)
    );
    z-index: 1;
}

.footer-inner{
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* 上段 */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 50px;
    margin-bottom: 50px;
}

/* 左 */
.footer-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	text-align: left;
}

.footer-logo{
   max-width: 250px;
   
}

.footer-company h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
	line-height: 2.2rem;
}

.footer-company p {
    line-height: 1.9rem;
    margin-bottom: 20px;
    font-size: 1.5rem;
	
}



/* 下段メニュー */
.footer-nav {
    border-top: 1px solid rgba(255,255,255,0.8);
    padding-top: 30px;
    margin-bottom: 25px;
	
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.footer-nav a:hover {
    opacity: 0.7;
	color: #4a488e;
}

/* コピーライト */
.copyright {
    text-align: center;
    font-size: 13px;
    color: #fff;
}

/* スマホ */
@media screen and (max-width: 768px) {

    .footer-top {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-company {
        margin-bottom: 20px;
    }

    .footer-map iframe {
        min-height: 250px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-company h3 {
        font-size: 20px;
    }
}

/* ==========================================
   共通ヒーロー
========================================== */

.page-hero{
    padding:100px 20px 70px;
    background:linear-gradient(135deg,rgba(16,20,28,.92),rgba(0,64,152,.78)),url("../img/DSC00137.jpg") center center / cover no-repeat;
    color:#fff;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.page-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
               linear-gradient(180deg,rgba(255,255,255,.06) 1px,transparent 1px);
    background-size:56px 56px;
    opacity:.35;
}

.page-hero::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:4px;
    background:#007bff;
}

.page-hero-inner{
    position:relative;
    z-index:1;
    max-width:980px;
    margin:0 auto;
    padding:60px 24px;
}

.page-hero .section-label{
    color:#fff;
    font-size:13px;
    font-weight:700;
    letter-spacing:.16em;
    margin-bottom:12px;
}

.page-hero h1{
    margin:0 0 22px;
    font-size:clamp(3.4rem,6vw,6.2rem);
    line-height:1.15;
    letter-spacing:.12em;
    color:#fff;
}

.page-hero-text{
    max-width:720px;
    margin:0 auto;
    font-size:1.7rem;
    line-height:2;
}

@media screen and (max-width:768px){
   
	.page-hero{
    padding:50px 10px 30px;
   
}
	.page-hero h1{
        font-size:32px;
    }

    .page-hero-text{
        font-size:16px;
    }
}
