/* CSS Document */
/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    /* スムーズスクロール */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
body {
    color: #303030;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}
body::before {
    background-image: url("../img/background2.png");
    background-image: no-repeat;
    background-image: center;
    background-size: cover;
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
}
/*
COMMON
================================================ */
.wrapper_original {}
.container-fluid {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: clip;
}
p {
    line-height: 1.7;
}
img {
    max-width: 100%;
}
a {
    text-decoration: none;
    color: #303030;
}
a:hover {
    text-decoration: none;
    color: #303030;
}
.fa-solid {
    color: #303030;
}
.fa_little {
    font-size: 0.8em;
}
.section-title {
    font-size: 1.7rem;
    font-weight: 400;
}
.title_en {
    font-size: 0.9rem;
    color: #AAA7A7;
    white-space: nowrap;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    margin-top: 0;
}
/*
HEADER
================================================ */
.jumbotron {
    max-width: 100%
}
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0;
    padding: 0 2%;
    padding-bottom: 0px;
    padding-top: 12px;
    height: 90px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: sticky;
    top: -30px; /* 60-90 = -30 */
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.7);
}
.header_wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding-bottom: 15px;
    height: 60px;
    align-items: baseline;
}
.main-nav {
    margin-bottom: 15px;
}
.header ul {
    display: flex;
}
.header ul li {
    font-size: 0.9rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    color: #4F4F4F;
    margin-bottom: 0;
    padding: 0 15px 0 15px;
    white-space: nowrap;
}
.header ul li:first-child {
    border: none;
}
.header ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: .2s;
    text-align: center;
}
.header ul li a span {
    font-size: 0.7rem;
    color: #AAA7A7;
}
.header ul li:nth-child(-n+5) a::after {
    position: absolute;
    top: -2px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #7F7D7D;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .8s;
}
.header ul li a:hover::after {
    transform: scale(1, 1);
}
.header ul li a:hover {
    opacity: 0.5;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 400;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: #4F4F4F;
    z-index: 1000;
    white-space: nowrap;
    padding-top: 1rem;
}
.fa-square-instagram {
    font-size: 1.6rem;
}
/*========= ヘッダーロゴ・ナビ表示のためのCSS ===============*/
.animation {
    visibility: hidden;
}
.fadeInDown {
    -webkit-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 3s;
    -ms-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    visibility: visible !important;
}
@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

/*
NEWS
================================================ */
.news-list-background {
    background: white;
    border-radius: 10px;
    max-width: 100%;
}
.news-list-box {
    width: 100%;
}
.news-list {
    list-style: none outside;
    margin: 0;
    padding: 0;
    width: 100%;
}
.news-list .item {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
}
.news-list .item:first-child {
    border-top: 1px solid #CCC;
}
.news-list .item .date {
    margin: 0;
    min-width: 120px;
    font-size: 16px;
    color: #999;
    padding: 0 20px 0 0;
}
.news-list .item .title {
    margin: 0;
}


.category span{
  background:#D5EEFF;
  color: #78BBE6;
  text-align: center;
  display: inline-block;
  padding: 7px 20px;
  font-size: 0.7rem;
  line-height: 1;
    border-radius: 5px;
   font-family: 'Zen Kaku Gothic New', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

@media screen and (max-width: 767px) {
    .news-list .item {
        flex-wrap: wrap;
    }
    .news-list .item .date {
        min-width: 100px;
    }
    .news-list .item .title {
        margin-top: 10px;
    }
}


/*FOOTER
================================================ */
.footer-wrapper {
    height: 250px;
    position: relative;
}
.foot-text {
    font-size: 1.8rem;
    color: #303030;
    font-family: "Zeyada", cursive;
    font-weight: 400;
    font-style: normal;
}
.foot-copyright {
    font-size: 0.7rem;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth"100;
    color: #303030;
    ;
}
.insta_btn {
    display: inline-block;
    text-align: center;
    color: #2e6ca5;
    font-size: 13px;
    text-decoration: none;
}
.insta_btn:hover { 
    color: #668ad8; 
    transition: .5s; 
}
.insta_btn .insta { 
    position: relative; 
    display: inline-block;
    width: 30px; 
    height: 30px; 
    background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
    background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; 
    overflow: hidden; 
    border-radius: 7px; 
}
.insta_btn .insta:before { 
    content: '';
    position: absolute; 
    top: 23px;
    left: -18px; 
    width: 60px; 
    height: 60px; 
    background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
    background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); 
}
.insta_btn .fa-instagram { 
    color: #FFF; 
    position: relative; 
    z-index: 2; 
    font-size: 25px; 
    line-height: 30px; 
}




/*
NEWS
================================================ */
#news_page .header {
    height: 60px;
    top: 0px; /* 60-60 = 0 */
    margin-top: 0;
    padding-top: 0;
    background: rgba(255, 255, 255, 1);
    transition: none;
}
#news_page .header_wrapper {
    justify-content: space-between;
    margin-bottom: 10px;
    text-align: center;
}

#news_page information .wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
}

#information article {
    margin-bottom: 40px;
    padding: 40px 40px 35px;
    text-align: left;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #CCC;
}
#information article a:hover {
    opacity: 0.5;
}

#information article .text_date {
    font-size: 0.85rem;
}
#information article h2 {
    margin-bottom: 30px;
    padding-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.8em;
    border-bottom: 1px solid #CCC;
}
#information article .text_content {
    line-height: 2.0em;
    font-size: 0.85rem;
}
/*
SMART PHONE
================================================ */
/*HUMBERGER MENU*/
.drawer__button {
    position: relative;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 3rem 1.7rem; /* メニュー位置設定 */
    z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
}
/* ハンバーガーボタン内の線 */
.drawer__button > span {
    display: block;
    position: absolute;
    top: 40%;
    left: 50%;
    width: 2rem;
    height: 2px;
    background-color: #4F4F4F;
    transform: translateX(-50%);
}
.drawer__button > span:first-child {
    transform: translate(-50%, calc(-50% - 0.5rem));
    transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
    transform: translate(-50%, calc(-50% + 0.5rem));
    transition: transform 0.3s ease;
}
/* 展開時のデザイン */
.drawer__button.active > span:first-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.drawer__button.active > span:nth-child(2) {
    opacity: 0;
}
.drawer__button.active > span:last-child {
    transform: translate(-50%, -50%) rotate(45deg);
}
/* メニューのデザイン */
.drawer__nav {
    position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.drawer__nav.active {
    opacity: 1;
    visibility: visible;
}
.drawer__nav__inner {
    position: relative;
    width: 80%;
    height: 100%;
    background-color: #ffffff;
    padding: 4rem 1.5rem 1rem;
    margin: 0 0 0 auto;
    overflow: scroll;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.drawer__nav.active .drawer__nav__inner {
    transform: translateX(0);
}
.drawer__nav__menu {
    list-style: none;
    padding-left: 0;
}
.drawer__nav__link {
    display: block;
    color: #4F4F4F;
    text-decoration: none;
    padding: 1rem 1rem;
    border-bottom: none;
    writing-mode: vertical-rl;
}
/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
    height: 100%;
    overflow: hidden;
}
@media screen and (max-width: 789px) {
    body {
        font-size: 0.9rem;
    }
    /*HEADER*/
    .header {
        padding-top: 0px;
        height: 60px;
        top: -10px; /* 50-60 = -10 */
    }
    .nav {
        display: none;
    }
    .header_wrapper {
        justify-content: space-between;
        margin-bottom: 10px;
        text-align: center;
    }
    .logo {
        font-size: 1.2rem;
    }
    .hero_title {
        border-top: 2px solid;
        margin-top: 90px;
        font-size: 58px;
        line-height: 60px;
        color: #4F4F4F;
    }

    .fa-chevron-down {
        color: #4F4F4F;
    }
    .fa-solid {
        color: #4F4F4F;
    }
    .text_box {
        position: absolute;
        -webkit-transform: translate(-39%, -50%);
        transform: translate(-39%, -50%);
    }
    ::-webkit-full-page-media, :future, :root .text_box {
        left: 20%;
        top: 38%;
    }
    ::-webkit-full-page-media, :future, :root .hero {
        background-attachment: scroll; /* 動く */
        background-image: url("../img/hero-sp.jpg");
    }
    .hero {
        width: 90%;
    }
    .hero＿space {
        width: 10%;
    }
    .catch_text {
        font-size: 1.1rem;
    }
    
    .img_center {
    top: 20px;
}
    .copyright {
    top: 11%;
}

    .block-four {
        height: 140vh;
    }
    .page4{
        padding-top: 10%;
        height: 140vh;
                
    }
    .about_us {
        position: absolute;
        top: 15%;
    }
    .block-five {
        padding-bottom: 10%;
    }
    .activitiy_img_container {
        position: relative;
        width: auto;
        max-width: 100%;
        height: 200px;
        margin-bottom: 15%;
    }
    .activitiy_img {
        top: 30%;
        left: 0;
        right: 0;
        position: absolute;
        height: 90%;
        object-fit: cover;
        width: 100%;
        opacity: 0;
        animation: change-img-anim 50s infinite;
        border-radius: 3px;
        filter: contrast(100%);
    }
    table {
        font-size: 0.8rem;
    }
    table th {
        padding: 18px;
    }
    table td {
        padding: 18px;
    }
}
@media screen and (min-width: 790px) {
    .hamburger-menu {
        display: none;
    }
}