body {
    font-size: 16px;
    font-family: "Noto Sans JP", serif;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #333;
}

.form-btn-submit {
    background: #fff;
}

.loadingbox {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #f79cc9;
    z-index: 9999;
    opacity: 1;
    transition: 0.5s;
}

.loadingbox .imgbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}

.loadingbox .imgbox img {
    animation: rotate 1s linear infinite;
    width: 100%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.loadingbox.off {
    animation: off 1s forwards;
}

@keyframes off {
    0% {
        opacity: 1;
    }

    99.99% {
        display: block;
    }

    100% {
        opacity: 0;
        display: none;
        z-index: -100;
    }
}

.about,
.prof,
.works,
.link,
.guide,
.mail {
    opacity: 0;
}

.animate {
    animation: up 0.8s forwards;
}

@keyframes up {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.pagetop {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    line-height: 48px;
    color: #fff;
    background: #333;
    border-radius: 48px;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
}

.pagetop.on {
    opacity: 1;
}

.pagetop:hover {
    box-shadow: 0px 0px 4px #333;
    color: #333;
    background: #fff;
}

.navbtn {
    display: none;
    width: 60px;
    height: 60px;
    background: #fff;
    box-shadow: 0px 0px 2px #333;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9998;
    cursor: pointer;
}

.navbtn div {
    width: 40px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbtn span {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background: #f6439b;
    transition: 0.2s;
}

.navbtn span:nth-last-of-type(1) {
    top: 0;
}

.navbtn span:nth-last-of-type(2) {
    top: 12px;
}

.navbtn span:nth-last-of-type(3) {
    top: 24px;
}

.navbtn span:nth-last-of-type(1).is-active {
    top: 12px;
    opacity: 0;
}

.navbtn span:nth-last-of-type(2).is-active {
    top: 12px;
}

.navbtn span:nth-last-of-type(3).is-active {
    top: 12px;
    opacity: 0;
}

/* PC */
#top_main {
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    position: relative;
}

#top_main .top_video {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#top_main .top_video iframe {
    width: 150vw;
    height: 150vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.top_dot {
    width: 100%;
    height: 100vh;
    position: relative;
    left: 0;
    top: 0;
    background: radial-gradient(#333 50%, transparent 50%);
    background-size: 4px 4px;
}

#top_main h1.catch {
    position: absolute;
    top: 50%;
    left: 2vw;
    transform: translateY(-50%);
    font-weight: 900;
    font-size: min(6vw, 60px);
    color: #333;
    line-height: 1;
    padding: 0.3em 0.5em;
    pointer-events: none;
    width: 33%;
}

#top_main h1.catch img {
    width: 100%;
}

#top_main .newsbox {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #fff;
    width: 480px;
    border-radius: 12px 12px 0 0;
}

.newsbox h2 {
    font-weight: 700;
    background: repeating-linear-gradient(-45deg, #f56ea5, #f56ea5 10px, #f980b1 10px, #f980b1 20px);
    line-height: 40px;
    padding-left: 24px;
    font-size: 20px;
    pointer-events: none;
    color: #fff;
    border-radius: 12px 12px 0 0;
    letter-spacing: 0.2em;
}

.newsbox dl {
    height: 160px;
    overflow-y: scroll;
    font-size: 14px;
    padding: 20px;
    box-sizing: border-box;
}

.newsbox dl .newscate {
    display: inline-block;
    margin-right: 12px;
    font-size: 12px;
    line-height: 20px;
    background: #ccc;
    width: 72px;
    color: #fff;
    text-align: center;
}

.cate_goods {
    background: #c81f1f !important;
}

.cate_info {
    background: #1f7ac8 !important;
}

.newsbox dl .newstext {
    padding-left: 1em;
}

.newsbox dl dd {
    margin-bottom: 1em;
}

nav {
    display: block;
    position: fixed;
    background: #fff;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 9998;
    box-shadow: 0px 0px 2px #ccc;
    transition: 0.5s;
}

nav.on {
    top: 0;
}

nav ul {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li a {
    line-height: 80px;
    margin-right: 28px;
    font-size: 14px;
    transition: 0.2s;
    font-weight: 900;
    color: #f6439b;
}

nav ul li a:hover {
    opacity: 0.75;
}

nav .nav_ttl {
    display: block;
    height: 50px;
    padding: 15px 0;
    margin-left: 24px;
    transition: 0.2s;
}

nav .nav_ttl:hover {
    opacity: 0.75;
}

nav .nav_ttl img {
    height: 50px;
}

main {
    background: url(../images/bg.jpg);
    background-size: contain;
    background-repeat: repeat-y;
    padding-bottom: 120px;
}

section h1 {
    text-align: center;
    padding: 80px 0 60px 0;
    height: 58px;
}

section h1 img {
    height: 100%;
}

section:not(.news) {
    width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    margin: 0 auto 120px;
    border-radius: 40px;
    box-shadow: 0px 0px 4px #fdb0d6;
    box-sizing: border-box;
    padding: 0 120px 120px;
}

.news {
    padding-bottom: 60px;
    background: #fff;
    margin-bottom: 120px;
}

.news ul {
    display: flex;
    justify-content: space-between;
    width: 40%;
    min-width: 600px;
    margin: 0 auto 20px;
}

.news ul.top_news {
    justify-content: center;
}

.news ul.top_news li:nth-of-type(1) {
    margin-right: 1em;
}

.news ul span {
    display: block;
}

.news ul li {
    width: 48%;
    padding: 12px 18px;
    box-sizing: border-box;
    box-shadow: 0px 0px 8px #ccc;
    border-radius: 12px;
}

.news .news_cate {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    background: #ccc;
    width: 72px;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5em;
}

.news .news_img {
    width: 100%;
    display: block;
    margin: 0 auto;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

.news .news_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: 0.1s;
    opacity: 1;
}

.news .news_img:hover img {
    width: 105%;
    opacity: 0.75;
}

.news .news_title {
    font-size: 14px;
    font-weight: bold;
    padding: 0.5em 0;
}

.news .news_date {
    font-size: 10px;
    text-align: right;
}

.news .news_btn {
    display: block;
    width: 200px;
    line-height: 60px;
    background: #f6439b;
    padding-left: 3em;
    box-sizing: border-box;
    margin: 0 auto;
    border-radius: 200px;
    color: #fff;
    transition: 0.2s;
    font-weight: 900;
}

.news .news_btn span {
    display: inline-block;
    transform: rotate(-90deg);
    margin-left: 0.5em;
    transition: 0.2s;
}

.news .news_btn:hover {
    opacity: 0.85;
}

.news .news_btn:hover span {
    margin-left: 1em;
}

.about_text {
    line-height: 2;
    margin-bottom: 60px;
}

.reco_text {
    width: 80%;
    background: #f79cc9;
    border-radius: 40px;
    text-align: center;
    font-weight: 900;
    margin: 0 auto;
    color: #fff;
    padding: 12px 0;
    position: relative;
    margin-bottom: 40px;
}

.reco_text p:nth-of-type(1) {
    font-size: 28px;
}

.reco_text p:nth-of-type(2) {
    font-size: 16px;
}

.reco_text .arrow {
    position: absolute;
    font-size: 40px;
    color: #f79cc9;
    bottom: -32px;
    left: 0;
    right: 0;
    margin: auto;
}

.reco_box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

.reco_box ul li {
    width: 100%;
}

.reco_box ul li iframe {
    width: 100%;
    aspect-ratio: 5/3;
}

.prof_nav {
    display: flex;
    margin-bottom: 60px;
}

.prof_nav li {
    cursor: pointer;
    transition: 0.2s;
}

.prof_nav li:hover {
    opacity: 0.75;
}

.prof_box {
    display: none;
}

.prof_box.active {
    display: flex;
    animation: prof 0.5s forwards;
}

@keyframes prof {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.prof_left,
.prof_right {
    width: 50%;
}

.prof_left img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

dl.prof_right {
    display: flex;
    flex-wrap: wrap;
    color: #f6439b;
    font-weight: 600;
}

dl.prof_right p {
    width: 100%;
    font-size: 20px;
    margin-bottom: 28px;
}

dl.prof_right dt {
    text-align: center;
}

dl.prof_right dt span {
    display: block;
    width: 120px;
    background: #f6439b;
    margin-right: 24px;
    color: #fff;
    font-weight: 600;
    line-height: 28px;
}

dl.prof_right dd {
    width: calc(100% - 144px);
    margin-bottom: 1em;
}

dl.prof_right dd span {
    display: inline-block;
}

.works h2 {
    font-weight: 900;
    font-size: 40px;
    color: #f6439b;
    border-bottom: 4px solid #f6439b;
    margin-bottom: 0.4em;
}

.works_year {
    display: none;
    margin-bottom: 60px;
}

.works_year.active {
    display: block;
}

.works dl {
    display: flex;
    flex-wrap: wrap;
}

.works_date {
    display: inline-block;
    width: 120px;
    font-size: 14px;
    color: #fff;
    background: #f6439b;
    text-align: center;
    font-weight: bold;
    padding: 8px 0;
    margin-bottom: 0.5em;
}

.works_ttl {
    width: calc(100% - 120px);
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 0.5em;
    padding: 8px 0 0 0.8em;
}

.link ul li {
    width: 100%;
    height: 60px;
    background: #f79cc9;
    margin-bottom: 0.4em;
}

.link ul li:last-of-type {
    background: transparent;
    text-align: center;
    font-weight: bold;
    padding: 20px 0;
}

.link ul li:last-of-type span {
    display: block;
    margin-bottom: 0.5em;
}

.link ul li a {
    position: relative;
    display: block;
    width: 100%;
    line-height: 60px;
    color: #fff;
    font-weight: 900;
    padding-left: 2em;
    overflow: hidden;
    box-sizing: border-box;
}

.link ul li a .link_text {
    position: relative;
    z-index: 2;
}

.link ul li a .block {
    position: absolute;
    top: 0;
    left: 0;
    width: 2.5%;
    height: 60px;
    background: #f6439b;
    z-index: 1;
    transition: 0.2s;
}

.link ul li a:hover .block {
    width: 100%;
}

.guide h2 {
    font-size: 24px;
    font-weight: 900;
    color: #f6439b;
    text-align: center;
    margin-bottom: 1em;
}

.guide p {
    margin-bottom: 0.5em;
}

.guide ul {
    margin-bottom: 60px;
}

.guide ul li {
    font-size: 14px;
    line-height: 2;
}

.mail .mail_flex {
    display: flex;
    width: 75%;
    margin: 0 auto 1em;
}

.mail .mail_flex p:first-of-type {
    width: 160px;
    font-size: 14px;
}

.mail .mail_flex p:last-of-type {
    width: calc(100% - 160px);
    font-size: 14px;
}

p.required::after {
    content: "必須";
    display: inline-block;
    padding: 0px 8px;
    line-height: 1.5;
    background: #f00;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}

.mail p input {
    width: 320px;
    line-height: 2;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.mail p textarea {
    width: 320px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.mail p input:focus,
.mail p textarea:focus {
    outline: 1px solid #f79cc9;
}

.mail input[type="submit"] {
    display: block;
    margin: 0 auto 24px;
    background: #f79cc9;
    color: #fff;
    width: 250px;
    border: 0;
    padding: 12px 0;
}

.mail .powered {
    text-align: center;
    font-size: 10px;
    display: none;
}

footer small {
    display: block;
    line-height: 80px;
    font-size: 12px;
    color: #333;
    text-align: center;
    pointer-events: none;
}

#news main {
    background: url(../images/bg.jpg);
    background-size: 100%;
    background-repeat: repeat-y;
}

#news main section {
    background: transparent;
}

#news .news ul {
    width: 900px;
    display: flex;
    flex-wrap: wrap;
}

#news .news ul::after {
    content: "";
    display: block;
    width: 32%;
}

#news .news ul li {
    width: 32%;
    margin-bottom: 1em;
    background: #fff;
}

#news .news ul li .news_title {
    padding: 0.5em 0 1em;
}

#news .news ul li .news_text {
    font-size: 12px;
}

#news .back {
    display: block;
    width: 200px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    background: #f6439b;
    border-radius: 60px;
    margin: 0 auto;
    transition: 0.2s;
    border: 2px solid #fff;
    font-weight: 900;
}

#news .back:hover {
    opacity: 0.85;
}

#news section.news {
    margin-bottom: 0;
    padding-bottom: 0;
}

@media screen and (max-width:1000px) {
    .navbtn {
        display: block;
    }

    nav {
        width: 100vw;
        height: 100vh;
        overflow-y: scroll;
        background: rgba(0, 0, 0, 0.85);
        text-align: center;
        z-index: 9997;
        top: 0;
        left: auto;
        right: 100vw;
    }

    nav.is-active {
        right: 0;
    }

    nav .nav_ttl {
        height: auto;
        padding: 20px 0;
        margin: 0;
    }

    nav ul {
        display: block;
        position: relative;
    }

    nav ul li a {
        display: block;
        line-height: 60px;
        margin-right: 0;
    }

    #top_main .newsbox {
        width: 95%;
        max-width: 600px;
        z-index: 2;
        position: relative;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: 172px;
    }

    .news {
        margin-bottom: min(16vw, 120px);
    }

    .newsbox dl {
        height: 120px;
    }

    #top_main h1.catch {
        min-width: 260px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    section {
        font-size: 14px;
    }

    section h1 {
        height: auto;
        width: 95%;
        margin: 0 auto;
    }

    section h1 img {
        height: auto;
        width: 100%;
    }

    section:not(.news) {
        width: 90%;
        padding: 0 8vw 12vw;
        margin: 0 auto min(16vw, 120px);
        border-radius: 20px;
    }

    section h1 {
        padding: min(12vw, 80px) 0 min(8vw, 60px) 0;
    }

    .news ul {
        width: 90%;
        min-width: inherit;
        max-width: 700px;
    }

    .reco_box ul {
        display: block;
    }

    .reco_box ul li {
        width: 100%;
    }

    .reco_text p:nth-of-type(1) {
        font-size: 20px;
    }

    .prof_nav {
        margin-bottom: min(6vw, 60px);
    }

    .prof_nav li {
        width: 33%;
        max-width: 120px;
    }

    .prof_nav li img {
        width: 100%;
    }

    .prof_box.active {
        display: block;
    }

    .prof_left,
    .prof_right {
        width: 100%;
    }

    dl.prof_right dt span {
        width: 100px;
        margin-right: 18px;
    }

    dl.prof_right dd {
        width: calc(100% - 118px);
    }

    .works dl {
        align-content: flex-start;
    }

    .works_date {
        line-height: 24px;
        font-size: 12px;
        width: auto;
        padding: 4px 12px;
    }

    .works_ttl {
        font-size: 12px;
        width: calc(100% - 92px);
    }

    .works h2 {
        font-size: 32px;
        margin-bottom: 0.25em;
    }

    #news .news ul {
        width: 90%;
    }

    #news .news ul li {
        width: 90%;
        max-width: 320px;
        margin: 1em auto;
    }

    .guide h2 {
        font-size: 20px;
    }

    .guide ul li {
        font-size: 12px;
    }

    .mail .mail_flex {
        display: block;
    }

    .mail p input,
    .mail p textarea {
        width: 100%;
    }

    .mail .mail_flex p:last-of-type {
        width: 100%;
    }

    .mail input[type="submit"] {
        width: 75%;
        max-width: 240px;
    }

}

/* video control */
@media screen and (max-width:1100px) {
    #top_main .top_video iframe {
        width: 180vw;
    }
}

@media screen and (max-width:1000px) {
    #top_main {
        min-height: 600px;
        height: 600px;
    }

    #top_main .top_video {
        height: 600px;
    }

    #top_main .top_video iframe {
        width: 200vw;
    }
}

@media screen and (max-width:600px) {
    #top_main .top_video iframe {
        width: 300vw;
    }
}

@media screen and (max-width:375px) {
    #top_main .top_video iframe {
        width: 400vw;
    }
}

@media screen and (max-width:275px) {
    #top_main .top_video iframe {
        width: 800vw;
    }
}
