/***

CSS変更した際はパラメータを変更すること
(60周年記念サイトはhtmlで書いていて、パラメータの自動管理がされていないため)

***/

@charset "utf-8";

* {
	box-sizing: border-box;
}
#header {
	width:100%;
	background-image:url(/60th/images/60th-header.jpg);
    background-size:cover;
    background-position: top center;
    background-repeat: no-repeat;
	/* position: fixed; */
	z-index: 1000;
    padding: 30px 60px 15px;
}
#header_wrap {
	display: flex;
	margin: 0 auto;
    padding-bottom: 15px;
    max-width: 1920px;
}
#header #header_wrap a.logo {
	display: block;
	align-self: end;
}
#header #header_wrap h1 > a {
    font-size: clamp(24px, 4.68vw, 36px);
    text-decoration: none;
    margin-left: 30px;
}

.greeting {
    max-width: 1920px;
    margin: 0 auto;
}
.greeting p {
    line-height: 1.7;
    color: #000;
}

.menu-toggle,
.mobile-menu {
    display: none;
}

header + #container {
    padding-top: 0;
}

/* スマホ用スタイル */
@media screen and (max-width: 960px) {
    .sp-menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0 6px 6px;
        background-color: var(--skyblue-color);
        box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
    }
    #header {
        width: 100%;
        padding: 0;
        background-position: top 60px center;
    }
    #header_wrap {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    #header #header_wrap > a.logo {
        align-self: start;
        margin-left: 0;
    }
    #header #header_wrap h1 > a {
        margin-left: 0;
    }
    .greeting {
        padding: 0 20px 15px;
    }
    .menu-toggle {
        width: 60px;
        height: 54px;
        display: block;
        cursor: pointer;
        text-align: center;
        color: var(--white-color);
        position: relative;
    }
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--white-color);
        margin: 5px auto;
        transition: all 0.3s;
    }
    .menu-toggle span:first-child {
        margin-top: 20px;
    }
    .menu-toggle span:before,
    .menu-toggle span:after {
        content: '';
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--white-color);
        position: absolute;
        transition: all 0.3s;
    }
    .menu-toggle span:before {
        transform: translateY(-8px);
    }

    .menu-toggle span:after {
        transform: translateY(8px);
    }
    .menu-text {
        color: var(--white-color);
        font-size: 14px;
        margin-top: 10px;
    }
    .mobile-menu {
        display: block;
        padding: 10px 20px 20px;
        background-color: var(--skyblue-color);
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 100%;
        max-width: 400px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .mobile-menu.open {
        right: 0;
    }
    .mobile-menu ul {
        display: block;
        padding: 0;
        margin-bottom: 40px;
        list-style: none;
    }
    .mobile-menu ul li {
        border-bottom: 1px solid white;
    }
    .mobile-menu ul li a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 12px 20px;
        font-size: 14px;
        color: var(--white-color);
        text-decoration: none;
    }
    .mobile-menu ul li a .arrow {
        margin-left: 8px;
    }
    .mobile-menu ul li a::before {
        content: "-";
        margin-right: 10px;
    }
    .mobile-menu .section-title {
        margin-top: 30px;
        padding-bottom: 12px;
        font-weight: bold;
        color: var(--white-color);
        font-size: 18px;
        border-bottom: 1px solid var(--white-color);
    }
    .close-btn-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .close-btn {
        cursor: pointer;
        color: var(--white-color);
        font-size: 28px;
        font-weight: bold;
        text-align: center;
    }
    .close-btn .menu-text {
        display: block;
        font-size: 14px;
        margin-top: -4px;
    }
    .mobile-menu.open .close-btn-container {
        display: flex;
        justify-content: flex-end;
    }
    .btn-wrapper {
        display: flex;
        justify-content: center;
    }
    a.top-site-button {
        background-color: var(--primary-color);
        color: var(--white-color);
        font-size: 14px;
        width: 300px;
    }
}
