/* Base */
.pc {
    display: none;
}

.sp {
    display: block;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-size: 3vw;
    height: 100%;
    line-height: 1.7;
    display: block;
    letter-spacing: .01em;
    font-family:
    "游ゴシック体",
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Meiryo",
    sans-serif;
}
@media screen and (min-width:768px) {
    body {
        font-size: 16px;
    }
}

body.home {
    color: #fff;
    background-color: #000;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);

}

body.contents {
    color: #000;
    background-color: #d9d9cf;
    height: 100%;
    margin: 0;
}

ol,
ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a,
a img {
    overflow: hidden;
    color: #000;
    text-decoration: none;
    border: none;
}

.home a {
    color: #fff;
}

.txtshadow {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

.imgshadow {
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.9));
}

a:hover,
a:active {
    opacity: 1;
    border: none;
    outline: none;
    text-decoration: underline;
}

a:hover img,
a:active img {
    opacity: 1;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    touch-callout: none;
    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

/* home */
.home .wrap {
    overflow: hidden;
}

.home .wrap:after {
    transition: opacity 1.5s ease-out;
    opacity: 0;
    width: 100%;
}

.home.on .wrap:after {
    content: "";
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
}

/* TopPage */
.topsign {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 60vw;
    max-height: 25vh;

    opacity: 0;
    transition: opacity 1s ease-out;
}
.topsign img {
    display: block;

    max-height: 25vh;
    max-width: 60vw;
    width: auto;
    height: auto;
}
.topsign.on {
    opacity: 1;
}
@media screen and (min-width:768px) {
    .topsign {
        top: 71%;
        left: 57%;
        max-height: 18vh;
    }
    .topsign img {
        max-height: 18vh;
    }
}

.topmain {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    transition: opacity 1s ease-out;
}

.topname {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: min(65vw, 900px);
    max-height: 15vh;

    opacity: 0;
    transition: opacity 1s ease-out;
}
.topname img {
    display: block;

    max-height: 15vh;
    max-width: min(65vw, 900px);
    width: auto;
    height: auto;
}
.topname.on {
    opacity: 1;
}

.scrollNav {
    position: absolute;
    width: 50px;
    bottom: 3vh;
    opacity: 0;
    transition: opacity 1s ease-out;

    margin-right: min(calc(100vh * 0.216), 240px);

    right: max(
        0px,
        calc((100vw - (100vh * 16 / 9)) / 2)
    );
    max-height: 10vh;
}
.scrollNav.on {
    opacity: 1;
}
.scrollNav img{
    display: block;
    max-height: 10vh;
    max-width: 50px;
    width: auto;
    height: auto;
}

.topmsg {
    text-align: center;
    position: relative;
    left: 0;
    font-size: 1em;

    transform-origin: center center;
    transform: scale(0.8);
}
@media screen and (min-height:560px) {
    .topmsg {
        transform: scale(0.9);
    }
}
@media screen and (min-height:720px) {
    .topmsg {
        transform: scale(1);
    }
}
@media screen and (min-width:768px) {
    .topmsg {
        left: calc(100vh * 0.12);
        font-size: 16px;
    }
}
@media screen and (min-width:950px) {
    .topmsg {
        left: calc(100vh * 0.19);
        font-size: 16px;
    }
}
@media screen and (min-width:1300px) {
    .topmsg {
        left: calc(100vh * 0.26);
        font-size: 17px;
    }
}


.top_conts {
    display: flex;
    width: 70%;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}
@media screen and (min-width:768px) {
    .top_conts {
        width: 60%;
    }
    #cont02 {
        position:relative; right:4%;
    }
}

.topContactBtn {
    opacity: 1;
    transition: opacity 0.9s ease-in;
}
.topContactBtn.disable {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

/* 背景 */
.home .bg_photo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0;
}

.home.on .bg_photo {
    opacity: 1;
}

.bg_photo .bg_items {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.bg_photo .bg_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;

    transition:
    opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 1.2s;
}

.bg_photo .bg_item span {
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover;
    height: 100%;
    width: 100%;
}
.bg_photo .bg_item.current {
    opacity: 1;
}

/* Contents */
.contents_wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

div.content {
    position: relative;
    left: 15%;
    width: 70%;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    flex: 1;
}
@media screen and (min-width:768px) {
    div.content {
        left: 16%;
        width: 60%;
    }
}

.pgtitle {
    width: 100%;
    border-style: none none solid;
    border-width: .05em;
    font-size: 2.5em;
    font-weight: bold;
    align-items: flex-end;
}

/* PROFILE */
.profpic {
    max-width: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.profpic img {
    display: block;

    width: auto;    
    height: auto;

    max-width: none; 
    max-height: none;

    object-fit: contain;
}

.prof_wrap {
    margin-left: 1.5%;
    
}

.prof-name-sp {
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
    margin-top: 0.5em;
    margin-bottom: 0.8em;
    
    line-height: 1.4;
}
.proftxt-sp {
    display: grid;
    grid-template-columns: 6em 1fr;
    row-gap: 0.28em;
    font-size: 0.8em;
}

/* NEWS */
.infotypes {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 1em 0;
}

.infotypes img {
    height: 1.1em;
    width: auto;
    display: block;
}

.nwlist {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

@media screen and (min-width:768px) {
    .infotypes {
        gap: 25px;
        padding: 2em 0;
    }
}

.nwitem {
    display: flex;
    width: 100%;
    gap: 10px;
    font-feature-settings: "palt";
}

.nwday {
    flex-shrink: 0;
    width: 28.5%;
    border-style: solid;
    border-width: 0 0.3em 0 0;
}

.nwitem.nw_ry .nwday {
    border-color: #cc4b4c;
}

.nwtitle {
    width: auto;
}

@media screen and (min-width:768px) {
    .nwday {
        width: 100px;
        border-width: 0 5px 0 0;
    }
}

.postdetail .nwtitle {
    font-weight: bold;
}

.subinfo{
    font-size: 0.9em;
}

/* NEWS for Top */
.topblack {
    display: flex;
    flex-direction: column;
    color: #000;
    text-shadow: none;
}

.topblack a {
    color: #000;
    text-shadow: none;
}

.postdetail {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.pager {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5em;
}

/* CONTACT */
.contactBtn {
    margin: 0 auto;
    border: 2px;
    border-style: solid;
    border-radius: 10px;
    display: inline-block;
    width: 5.5em;
    white-space: nowrap;
    font-size: 2em;
    text-align: center;
}
@media screen and (min-width:768px) {
    .contactBtn {
        width: 330px;
    }
}

div.contactsheet {
    display: flex;
    flex-direction: column;
    padding: 24px 30px;
    border-radius: 12px;
    width: 100%;
    margin: 20px auto;
    border: 1px solid #333;
}
@media screen and (min-width:768px) {
    div.contactsheet {
        width: 75%;
    }
}

label {
    display: block;
    margin-bottom: 5px;
    color: #111;
    font-size: 15px;
}

.confirmlabel {
    width: 100%;
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 7px;
}

.confirmlabel pre {
    margin: 5px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

input[type="text"],
input[type="email"],
select,
textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #999;
    border-radius: 6px;
    background: #d9d9cf;
    font-size: 15px;
    margin-bottom: 18px;
    transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #999;
    background: #d9d9cf;
}

.chk input {
    display: none;
}
.chk span {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
}
.chk input:checked+span {
    background: #333;
    border-color: #333;
}
.chk input:checked+span::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contactsheet button {
    background: #333;
    color: #fff;
    padding: 10px 26px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
}
.contactsheet button.backbtn {
    background: #666;
}
.contactsheet button:hover {
    background: #000;
}
.contactsheet button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

textarea {
    resize: none;
}

/* footer */
footer {
    margin-top: auto;
}
.footmenu {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 40px 5px 10px 5px;
    font-size:0.7em;
}
@media screen and (min-width:768px) {
    .footmenu {
        font-size: 0.75em;
    }

    .home .footmenu{
        padding-left: max(
            15px,
            calc((100vw - (100vh * 16 / 9)) / 2)
        );
    }
}
.contents .footmenu {
    margin-left: 5px;
}

/* header: Fixed Menu PC */
.home.on .wrap:after {
    display: none;
}

.fixed_nav {
    position: fixed;
    top: 0;
    right: max(
        0px,
        calc((100vw - (100vh * 16 / 9)) / 2)
    );
    width: min(calc(100vh * 0.216), 170px);
    height: 100%;
    z-index: 10;
    padding-top: 80px;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    overflow: unset;

    transform-origin: top right;
    transform: scale(0.8);
}
@media screen and (min-height:560px) {
    .fixed_nav {
        padding-top: 120px;
        transform: scale(0.9);
    }
}
@media screen and (min-height:720px) {
    .fixed_nav {
        padding-top: 160px;
        transform: scale(1);
    }
}

.contents .fixed_nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(15%, 170px);
    height: 100%;
    z-index: 10;
    padding-top: 160px;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    overflow: unset;
}


.nav_itm {
    line-height: 1;
    margin-bottom: 1.35em;
}

.home .fixed_nav.on.black a {
    color: #000;
    text-shadow: none;
}

img.icon {
    width: 1.2em;
    height: auto;
    margin: 3px 0;
    flex-shrink: 0;
    margin-left: 0.03em;
}
img.icon_x {
    width: 1.08em;
    margin-left: 0.09em;
}
img.icon_yt {
    width: 1.26em;
    margin-left: 0;
}

.home img.icon.black {
    display: none;
}

.home img.icon.white {
    display: block;
}

.home .fixed_nav.on.black img.icon.black {
    display: block;
}

.home .fixed_nav.on.black img.icon.white {
    display: none;
}

.contents img.icon.black {
    display: block;
}

.contents img.icon.white {
    display: none;
}

.nav_icons{
    display: flex;
    flex-direction: column;
}
.nav_icon_itm{
    margin-bottom: 0.9em;
}


a.iconTip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    text-decoration: none;
}
.iconTip_tx {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;

    transform: translateX(-6px);
    transition:
        max-width .22s ease,
        opacity .18s ease,
        transform .22s ease;

    padding: 6px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0);
    color: #fff;
    font-size: 0.8em;
    line-height: 1;
}
.iconTip:hover .iconTip_tx,
.iconTip:focus-visible .iconTip_tx,
.sp-menu .iconTip .iconTip_tx {
    max-width: 14em;
    opacity: 1;
    transform: translateX(0);
}
@media screen and (min-width:768px) {
    .iconTip_tx {
        font-size: 12px;
    }
}

.home .fixed_nav {
    transition: opacity 1s ease-out;
    opacity: 0;
}
.home .fixed_nav.on {
    opacity: 1;
}

.fixed_title {
    position: fixed;
    display: block;
    top: 15px;
    left: 15px;
    z-index: 10;
    width: 25%;
    height: auto;
}

.home .fixed_title {
    transition: opacity 1s ease-out;
    opacity: 0;
}

.home .fixed_title.on {
    opacity: 1;
}

.fixed_title img {
    width: 100%;
    height: auto;
}

@media screen and (min-width:768px) {
    .fixed_title{
        width: 140px;
    }

    .home .fixed_title {
        left: max(
            15px,
            calc((100vw - (100vh * 16 / 9)) / 2)
        );
    }
}
.contents .fixed_title {
    margin-left: 5px;
}


.home .fixed_title.on img.black {
    display: none;
}

.home .fixed_title.on img.white {
    display: block;
}

.home .fixed_title.on.black img.black {
    display: block;
}

.home .fixed_title.on.black img.white {
    display: none;
}

.contents .fixed_title img.white {
    display: none;
}

/* header: Fixed Menu SP */
.menu-btn {
    width: 32px;
    height: 24px;
    position: fixed;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    transition: 0.3s;
}

.menu-btn span:nth-child(1) {
    top: 0;
}
.menu-btn span:nth-child(2) {
    top: 10px;
}
.menu-btn span:nth-child(3) {
    bottom: 0;
}

.menu-btn.is-open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    background: #fff;
}

.menu-btn.is-open span:nth-child(2) {
    opacity: 0;
    background: #fff;
}

.menu-btn.is-open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
    background: #fff;
}

.sp-menu {
    position: fixed;
    width: 30%;
    height: 100%;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 0.7em;
    font-size: 1em;
}

.sp-menu a {
    color: #fff;
}

.sp-menu.is-open {
    transform: translateX(0);
}

/* inview */
.fade {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}
.fade.in {
    opacity: 1;
    transition: opacity 0.9s ease-in;
}

/* PC-SP 制御 */
@media screen and (min-width:768px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }
}

.test {
    background-color: rgba(77, 211, 221, 0.2);
}

.hitDetect {
    height: 95vh;
    width: 100%;
    position: fixed;
    top: 0;
    pointer-events: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}