/*ヘッダーここから*/

.fixed-header{
    display:flex;
    flex-direction: column;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1800px;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: .4s;
}

.fixed-header.is-show{
    opacity: 1;
    visibility: visible;
    
}

.fixed-header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    gap: 25px;
}
.header-inner-right
{
    display:flex;
}
.header-inner-left
{
    width:25%;
    max-width:300px;
    padding:15px 0 15px 50px;
    box-sizing: border-box;
}
.fixed-header-logo{
    display:flex;
    
    
}

.fixed-header-logo img{
    max-width:100%;
}

.fixed-header-fontsize{
    text-align: center;
    width:15%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fontsize-btns{
    display: flex;
    gap: 5px;
    margin-top: 5px;
    justify-content: center;
}

.fontsize-btns button{
    border: 0;    
    background: #efefef;
    width:35%;
    aspect-ratio: 6 / 3;
}
.fontsize-btns .is-normal{
    border-radius: 20px 0 0 20px;
    background: #D8E9DB;
    color: #333;
}
.fontsize-btns .is-large{
    border-radius: 0 20px 20px 0;
    background: #7DC749;
    color: #fff;
}
.fixed-header-nav
{
    width:65%;
    height: 80px;
    margin:10px 0;
}
.fixed-header-nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}
.fixed-header-nav li {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

/* 最後のシミュレーションだけ広くする */
.fixed-header-nav li:last-child {
    flex: 1.8;
}
.fixed-header-nav li:before
{
    content:"";
    width:2px;
    height:100%;
    background: linear-gradient(
        0deg,
        #257E95 0%,
        #77BC50 100%
    );
    position: absolute;
    left:0;
}
.fixed-header-nav a{
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 700;
}

.fixed-header-contact{
    min-width: 220px;
    width:20%;
    height:100px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;

    background: linear-gradient(
        90deg,
        #257E95 0%,
        #77BC50 100%
    );
    
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-inner-right
{
    width:65%;
    height: 100%;
    min-width:880px;
}
.header-menu-sp {
    display: none;
}
@media (max-width: 1200px){
/* */
.fixed-header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    z-index: 9999;
}

.fixed-header-inner {
    position: relative;
    padding: 10px 15px;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.header-inner-left {
    position: relative;
    z-index: 10003;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    max-width: none;
}

.fixed-header-logo {
    width: 180px;
    z-index: 10003;
}

.fixed-header-logo img {
    width: 100%;
    display: block;
}

.hamburger {
    position: relative;
    z-index: 10004;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 60px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(180deg, #257E95 0%, #77BC50 100%);
    line-height: 0.5;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: .3s;
}

.hamburger.is-open {
    background: none;
    color: #333;
}

.hamburger.is-open span {
    background: #333;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* PC繝｡繝九Η繝ｼ縺ｯSP縺ｧ髱櫁｡ｨ遉ｺ */
.header-menu-pc {
    display: none;
}

/* SP繝｡繝九Η繝ｼ */
.header-menu-sp {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding: 90px 28px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #ddff98;
    z-index: 10001;
    overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

.header-menu-sp.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-menu-sp > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.header-menu-sp.is-open > * {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .25s;
}

.header-menu-sp .fixed-header-nav,
.header-menu-sp .menu-small-buttons,
.header-menu-sp .menu-simulation,
.header-menu-sp .fixed-header-contact {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: fit-content;
}

.header-menu-sp .fixed-header-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu-sp .fixed-header-nav li {
    border-bottom: 2px dashed #f5c400;
}

.header-menu-sp .fixed-header-nav li::before {
    content: none;
}

.header-menu-sp .fixed-header-nav a {
    display: block;
    padding: 16px 0;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
}

.menu-small-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}

.menu-small-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    text-decoration: none;
}

.menu-simulation,
.header-menu-sp .fixed-header-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 16px 0 24px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
}

.menu-simulation {
    background: linear-gradient(90deg, #3187bd 0%, #77bc50 100%);
    box-shadow: 0 6px 0 rgba(90, 160, 80, .35);
}

.header-menu-sp .fixed-header-contact {
    background: #ffc400;
    box-shadow: 0 6px 0 rgba(230, 160, 0, .35);
}

.menu-simulation::after,
.header-menu-sp .fixed-header-contact::after {
    content: "→";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #fff;
    border-radius: 50%;
}
      .header-inner-right
        {
            min-width:0;
        }
}

/*ヘッダーここまで*/


.fixed-header
{
    opacity: 1;
    visibility: visible;
}