/* CSS Document */


* {
    font-family: "Noto Sans JP", sans-serif, serif;
    font-style: normal;
}

.font-TAkotodama {
    font-family: ta-kotodama-r, "Noto Sans JP", sans-serif, serif;
}

:root {
    --fair: #32B288;
    --fair_gray: #168460;
    /*ロゴなどの*/
    --fair2: #1B964C;
    /*グラデーション用*/
    --fair_l-1: #31B289;
    --fair_l-2: #8DC21F;
    --fair-linear: linear-gradient(90deg, var(--fair_l-1) 0%, var(--fair_l-1) 20%, var(--fair_l-2) 100%);
    --headerHeight: 6.5em;
    --filterWhite: brightness(0) invert(1);
    --clamp8_16: clamp(8px, 1.1vw, 16px);
    --clamp9_16: clamp(9px, 1.1vw, 16px);
    --clamp10_16: clamp(10px, 1.1vw, 16px);
    --clamp12_16: clamp(12px, 1.1vw, 16px);
	--xPad: 12px;
    --xPadding: 0 var(--xPad);
    --xPaddingHarf: 0 calc(var(--xPad) / 2);
}

.hoverLine {
    --color: #000;
    transition: background-size 0.2s ease;
    background-size: 0px 100%;
    background: top left / 0px 100% no-repeat linear-gradient(to bottom, transparent 0% calc(100% - 1px), var(--color) 100%);
}

.hoverLine.hL_white {
    --color: white;
}

.hoverLine:hover,
.hoverLine:focus {
    background-size: 100% 100%;
}

.subtitle {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.subtitle.st_left {
    align-items: flex-start;
}

.subtitle .st_1 {
    font-size: 5.8em;
    font-weight: lighter;
    color: var(--fair_l-1);
    line-height: 1;
    letter-spacing: 0.1em;
    margin: 0;
}

.subtitle .st_2 {
    font-size: 1.75em;
    font-weight: bold;
}


@media screen and (max-width: 1280px) {
    .subtitle {
        font-size: var(--clamp8_16);
    }

    .subtitle.st_left {
        align-items: center;
    }
}

.sp {
    display: none;
}

@media screen and (max-width: 1280px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
}

.disable_gray{
	filter: brightness(0.6);
    pointer-events: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    height: var(--headerHeight);
    padding: var(--xPadding);
    z-index: 1000;
	position: relative;
}

#header::before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	filter: none;
	transition: filter .3s;
	z-index: 1000;
	background: white;
	left: 0;
}

#header.dropShadow::before{
	filter: drop-shadow(0px 0px 4px #00000038);
}

#header .h_logo,
.mainimgLogo .h_logo{
    display: flex;
    align-items: center;
    gap: 1em;
    color: black;
    text-decoration: none;
    padding: 1em 0 1em 0em;
    width: 100%;
    height: 100%;
	z-index: 1001;
	position: relative;
}

#header .h_logo img,
.mainimgLogo .h_logo img{
    height: 100%;
}

#header .h_logo .title,
.mainimgLogo .h_logo .title{
    font-size: 1.6em;
    letter-spacing: 1.2;
}

#header .h_detail {
    display: flex;
    gap: 2em;
    align-items: flex-end;
    padding: 0 0 0.5em;
	z-index: 1001;
}

#header .h_detail .h_list {
    display: flex;
    gap: 2em;
}

#header .h_detail .h_list a {
    text-decoration: none;
    padding: 0.7em 1em 1.2em;
    display: block;
    color: black;
    position: relative;
}

#header .h_detail .h_list a::before {
    content: "";
    position: absolute;
    background: var(--fair_l-1);
    width: 100%;
    height: 7px;
    left: 0;
    bottom: 0;
    border-radius: 2000px;
    opacity: 0;
    transform: translateY(-5px);
    transition: transform 0.2s cubic-bezier(0, 0.9, 0.71, 1.51), opacity 0.5s;
}

#header .h_detail .h_list a:focus::before,
#header .h_detail .h_list a:hover::before {
    opacity: 1;
    transform: translateY(0);
}

#header .h_buttons {
    display: flex;
    gap: 0.5em;
    font-size: 1.1em;
}

#header .h_buttons a {
    margin-bottom: 7px;
    padding: 0.1em 1.6em;
    background: #444444;
    border-radius: 2000px;
    color: white;
    text-decoration: none;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s;
    /*kira用*/
    overflow: hidden;
    position: relative;
    border: 1px solid #444444;
}

#header .h_buttons a:focus,
#header .h_buttons a:hover {
    transform: scale(1.02);
}

#header .h_buttons .join {
    background-image: var(--fair-linear);
    border-color: white;
}

#header .h_buttons .hoverKira::before {
    content: "";
    position: absolute;
    left: -120%;
    width: 100%;
    background: white;
    height: 100%;
    opacity: 0.2;
    transform: skewX(-30deg);
    filter: blur(15px);
}

#header .h_buttons .hoverKira:focus::before,
#header .h_buttons .hoverKira:hover::before {
    animation: kira .5s;
}

@keyframes kira {
    100% {
        left: 100%;
    }
}

#header .h_buttons .contact {
    flex-direction: column;
}

#header .h_buttons .contact .contt_icon {
    font-size: 1.6em;
    line-height: 1;
}

#header .h_buttons .contact .contt_text {
    font-size: 0.65em;
}

@media screen and (max-width: 1280px) {
    #header {
        font-size: var(--clamp8_16);
    }
}

#header #hum {
    height: var(--headerHeight);
    width: auto;
    aspect-ratio: 1 / 1;
    padding: 2.1em 1em;
    z-index: 1003;
}

#header #hum .hum2 {
    width: 100%;
    height: 100%;
    position: relative;
}

#header #hum .hum2 span {
    border-top: 1px solid black;
    width: 100%;
    display: block;
    position: absolute;
    transition: transform .4s ease, top .4s ease, border-color .4s ease;
    transform: rotate(0);
}

#header #hum .hum2 span:nth-child(1) {
    top: 0%;
}

#header #hum .hum2 span:nth-child(2) {
    top: 100%;
}

#header #hum.active .hum2 span {
    border-color: white;
}

#header #hum.active .hum2 span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

#header #hum.active .hum2 span:nth-child(2) {
    top: 50%;
    transform: rotate(-45deg);
}

#humBG {
    position: fixed;
    z-index: 1002;
    width: 100%;
    height: 100%;
    left: 100%;
    background: var(--fair-linear);
    transition: 0.5s ease left;
    font-size: 16px;
    top: 0;
}

#humBG a,
#humBG p {
    color: white;
    text-decoration: none;
}

#humBG.active {
    left: 0;
}

#humBG .h_buttons {
    flex-direction: column;
    margin-top: 2.5em;
}

#humDetail {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: center;
    gap: 2.5em;
}

#humDetail .hum_list {
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 1em;
    align-items: center;

}

#humDetail .f_logo {
    max-width: 180px !important;
    margin: 0 auto;
    grid-template-areas:
        "logo_a"
        "logo_b"
        "logo_c" !important;
}


/*copy*/
footer #FooterPageTop {
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    width: 60px;
    color: black;
    text-decoration: none;
    letter-spacing: 0.125em;
    transition: transform .42s;
    transition-duration: 0.5s;
    display: inline-block;
    transform: translateY(10px);
}

footer #FooterPageTop:hover {
    transform: translateY(0);

}

/*copy*/
footer #FooterPageTop:after {
    width: 29px;
    height: 57px;
    width: 2.4em;
    height: 6em;
    display: block;
    content: "";
    margin: 3px auto 0 auto;
    background-image: url(/miefair2025/Templates/img/share/pagetop.gif);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: contain;
}

footer #FooterPageTop {
    mix-blend-mode: multiply;
    position: absolute;
    left: 14%;
    top: -50px;
}

@media screen and (max-width: 1280px) {
    footer #FooterPageTop {
        top: -62px;
        left: calc(50% - 3em);
    }
}

@media screen and (max-width: 720px) {
    footer #FooterPageTop {
        top: -62px;
        font-size: 1.3em;
    }
}

#footer {
    position: relative;
}

.svgBox {
    overflow: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}

.svgBox svg {
    position: absolute;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

#footer .svgBox {
    z-index: 0;
}

#footer .f_svg {
    --f_svg: #31B289;
    transform-origin: bottom;
}

@media screen and (max-width: 1280px) {
    #footer .f_svg {
        transform: scale(1.06) scaleX(2);
    }
}

#footer .f_detail {
    max-width: 1250px;
    width: 100%;
    margin: auto;
    color: white;
    padding-top: 4em;
}

#footer .f_detail .f_grid p,
#footer .f_detail .f_grid a {
    color: white;
    text-decoration: none;
}

#footer .f_grid {
    display: grid;
    grid-template-columns: minmax(0, 240px) 1fr minmax(0, 350px);
    grid-template-rows: 1fr auto auto;
    grid-template-areas:
        "a b b"
        "a c d"
        "a e e";
    padding: var(--xPadding);
    padding-top: 1em;
    padding-bottom: 2em;
    gap: 0 6em;

    position: relative;
}

#footer .f_grid .f_logo,
#humDetail .f_logo {
    grid-area: a;
    gap: 1em;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-areas:
        "logo_a"
        "logo_b"
        "logo_c";
    transition: transform .4s;
}


#footer .f_logo:hover,
#humDetail .f_logo:hover {
    transform: scale(1.025);
}

#footer .f_grid .f_logo img,
#humDetail .f_logo img {
    filter: var(--filterWhite);
}

#footer .f_grid .f_logo .f_logo1,
#humDetail .f_logo .f_logo1 {
    grid-area: logo_a;
    min-width: 45px;
    max-width: 110px;
    margin: 1.3em 0 2em;
}

#footer .f_grid .f_logo .f_logo2,
#humDetail .f_logo .f_logo2 {
    grid-area: logo_b;
    width: 100%;
    height: 100%;
    object-fit: contain;

}

#footer .f_grid .f_logo .f_logo_text,
#humDetail .f_logo .f_logo_text {
    grid-area: logo_c;
    font-size: 0.7em;
}

#footer .f_grid .f_text {
    grid-area: b;
}

#footer .f_grid .f_text .f_text01 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
}

#footer .f_grid .f_list {
    grid-area: c;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto 0;
    gap: 1.2em 1em;
    padding-left: 2em;
}

#footer .f_grid .f_list li {
    list-style: disc;
}

#footer .f_grid .f_contact {
    grid-area: d;
    gap: 0.3em;
    display: flex;
    flex-direction: column;
}

#footer .f_grid .f_contact .f_contactText {
    font-size: 1.5em;
    letter-spacing: 0.12em;
    text-align: center;
}

#footer .f_grid .f_contact .f_button {
    width: 100%;
    display: flex;
    border: 1px solid white;
    border-radius: 0.4em;
    font-size: 1.5em;
    padding: 0.6em 1em;
    justify-content: center;
    gap: 1em;
    align-items: center;
    transition: 0.2s background, 0.1s color;
    mix-blend-mode: screen;
    /*before用*/
    position: relative;
    overflow: hidden;
}

#footer .f_grid .f_contact .f_button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    background: white;
    left: -100%;
    transition: left .3s ease;
}

#footer .f_grid .f_contact .f_button:hover,
#footer .f_grid .f_contact .f_button:focus {
    /*background: white;*/
    color: black;
}

#footer .f_grid .f_contact .f_button:hover::before,
#footer .f_grid .f_contact .f_button:focus::before {
    left: 0;
}

#footer .f_grid .f_contact .f_button [class^="icon-"] {
    font-size: 1.5em;
    line-height: 1;
}

#footer .f_grid .f_copyright {
    grid-area: e;
    text-align: right;
    padding: 0 1em;
    font-size: 0.8em;
    margin-top: 0.5em;
}

@media screen and (max-width: 1280px) {
    #footer {
        font-size: var(--clamp8_16);
    }

    #footer .f_grid {
        grid-template-areas:
            "a b"
            "c c"
            "d d"
            "e e";
        grid-template-rows: auto;
        grid-template-columns: 3.4fr 5fr;
        gap: 0 3em;
        padding-bottom: 1em;
    }

    #footer .f_grid .f_logo,
    #humDetail .f_logo {
        max-width: 290px;
        grid-template-areas:
            "logo_a logo_b"
            "none logo_c";
    }

    #footer .f_grid .f_logo .f_logo1,
    #humDetail .f_logo .f_logo1 {
        width: clamp(45px, calc(6vw + 3em), 110px);
        margin: 0;
    }

    #footer .f_grid .f_list {
        margin: auto;
        padding: 3em 0 3em 4em;
        width: 100%;
        max-width: 260px;
    }

    #footer .f_grid .f_contact {
        margin: 0 auto;
        max-width: 500px;
        width: 100%;
    }

    #footer .f_grid .f_contact .f_button {
        font-size: 2em;
    }


    #footer .f_grid .f_copyright {
        text-align: center;
        margin-top: 4em;
    }
}

#front-page h1,
#front-page h2,
#front-page h3,
#front-page h4,
#front-page h5,
#front-page p,
#front-page ul,
#front-page li {
    margin: 0;
    list-style: none;
    padding: 0;
}

main .container {
    width: 100%;
    max-width: unset;
    padding: 0;
}
