﻿/*
Theme Name: Nishinomiya Ice Hockey Club 2019 WP
Author: Cherubim Network
Descrition: 西宮アイスホッケークラブ Webサイト
Version: 1.0
Text Domain: n-ihc201908
*/

@charset "UTF-8";

/* 共通部分 */
html {
    font-size: 100%;
}
body {
    font-family:  "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro M3", sans-serif;
    line-height: 1.7;
    color: #432;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
ul {
    list-style: none;
}

/* スライドシャッター部分 */


.shutter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3a02a5;
  z-index: 9999;
  -webkit-animation: byeShutter 1.5s forwards;
          animation: byeShutter 1.5s forwards;
}
.shutter::before, .shutter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
.shutter::before {
  background-color: #864BF2;
  width: 0;
  height: 1px;
  -webkit-animation: shutterOpen1 1.5s forwards;
          animation: shutterOpen1 1.5s forwards;
}
.shutter::after {
  width: 120%;
  height: 0;
  margin-left: -10%;
  background-color: #f3f3f3;
  -webkit-animation: shutterOpen2 1.5s forwards;
          animation: shutterOpen2 1.5s forwards;
}

.content {
  -webkit-animation: contentScale 1.5s forwards;
          animation: contentScale 1.5s forwards;
}

@-webkit-keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@-webkit-keyframes shutterOpen1 {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes shutterOpen1 {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@-webkit-keyframes shutterOpen2 {
  60% {
    width: 120%;
    height: 0;
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
  90% {
    width: 120%;
    height: 100%;
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
  100% {
    width: 120%;
    height: 100%;
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
}
@keyframes shutterOpen2 {
  60% {
    width: 120%;
    height: 0;
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
  90% {
    width: 120%;
    height: 100%;
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
  100% {
    width: 120%;
    height: 100%;
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
}
@-webkit-keyframes contentScale {
  70% {
    -webkit-transform: perspective(800px) scale(0.9) rotateX(15deg);
            transform: perspective(800px) scale(0.9) rotateX(15deg);
  }
  100% {
    -webkit-transform: perspective(800px) scale(1) rotateX(0);
            transform: perspective(800px) scale(1) rotateX(0);
  }
}
@keyframes contentScale {
  70% {
    -webkit-transform: perspective(800px) scale(0.9) rotateX(15deg);
            transform: perspective(800px) scale(0.9) rotateX(15deg);
  }
  100% {
    -webkit-transform: perspective(800px) scale(1) rotateX(0);
            transform: perspective(800px) scale(1) rotateX(0);
  }
}




/* コンテンツ部分 */

.whole-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;   
    background-image:url("images/backside.png");
    background-repeat: repeat;
    background-position: top;

}
.common-wrapper {
    max-width: 1096px;
    margin: 0 auto;
    background-color: white;
}

#main-nav{
    display:flex;
    position: relative;
    
}
#main-nav li {
    width: 183px;
    background-color: #1f0159;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    border-bottom: 1px solid gray;

}
#main-nav li:last-child {
    border-right: 1px solid gray;
}

#main-nav li a {
    padding: 30px 0 25px 0;
    text-align: center;
    font-weight: bold;
    color:#ccc;
    display: block;
}

#main-nav li a:hover,
#main-nav li.current_page_item a,
#main-nav li.current-menu-item a{
    color: #fff;
    background-color: #3a02a5;
}

@keyframes SlideInLogo {
    0% {
        opacity: 0;
        transform: translateX(+200vw);
    }
    60% {
        opacity: 0.5;
        transform: translateX(+200vw);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.top-page-image {
    background-image: url("images/top3rd.png");
    background-repeat: repeat;
    background-size: 100vw;
    background-position: bottom;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    border-bottom: 2px solid gray;
}
.top-page-image img{
    animation-duration: 2.0s;
    animation-name: SlideInLogo;
    animation-iteration-count: initial;
}

.page-image {
    background-image: url("images/top3rd.png");
    background-repeat: repeat;
    background-size: 100vw;
    background-position: bottom;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    border-bottom: 2px solid gray;
}


.top-logo {
    max-width: 38%;
}

.logo {
    max-width: 20%;
}


.main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    background-color: #fff;
    padding-bottom: 50px;
}
.wrapper {
    max-width: 1096px;
    margin: 0 auto;
    padding: 0 0;
}
.side-content {
    width: 33.3%;
    order: 1;
    margin: 0 auto;
}

.home-content {
    width: 66.7%;
    order: 2;
}

.single-content {
    width: 90%;
    margin: 0 auto;
}

/* スライドショーエリア */
.slideshow-area {
    width: 100%;
    height: 450px;
    background-color: #999;
    border: 1px solid #aaa;
}

.top-newsItem {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #aaa;

}

.top-newsItem:last-child {
    border-bottom: 1px solid #aaa;
}

.top-newsTitle,
.newsTitle {
    font-size: 1.5rem;
    background-image: url("images/pack.png");
    padding-left: 30px;
    margin-top: 20px;
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: left center;
    
}

.top-newsBody {
    margin: 1rem 0;
}
.newsBody {
    margin: 1.5rem auto;
    width: 90%;
}

.screen-reader-text {
    display: none;
}
/* トップの新着情報 */
.top-newsinfo-list {
    margin: 20px 25px 20px 25px;
}

.top-newsinfo-title {
    color:#1f0159;
    font-weight:  bold;
    margin-bottom: 15px;
    font-size: 1.5rem;
   
}


/* トップ左側 */
.side-content .support-enterprise,
.side-content .widget_metaslider_widget {
    margin: 0 0 0 0;
    width: 100%;
    line-height: 3rem;
    background-color: #d2ccde;
    border: 2px solid #555;

}

.side-content .support-enterprise .support-enterprise-header,
.side-content .widget_metaslider_widget  .widgettitle {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.support-enterprise-slideshow-contents {
    width: 100%;
    line-height: 200px;
    text-align: center;
    background-color: white;
    

}

/* サポート企業・その他Webサイトへのリンク */
.side-content .support-link .support-link-head a{
    margin: 0 0 0 0;
    padding: 20px 0 20px 0;
    font-size: 1.3rem;
    width: 100%;
    background-color: #d2ccde;
    border: 2px solid #555;
    border-top: none;
    border-bottom: none;
    color:#3a02a5;
    font-weight: bold;
    text-align: center;
    font-weight: bold;
    display: block;
    /* -webkit-text-stroke: 1px #fff; */
    text-shadow: 1px 1px 0 #fff, 
                -1px -1px 0 #fff,
                -1px 1px 0 #fff,
                1px -1px 0 #fff,
                0px 1px 0 #fff,
                0px -1px 0 #fff,
                -1px 0 0 #fff,
                1px 0  0 #fff;
    background-image: url("images/nisinomiyalink.png");
    background-position: top;


}

/* ジュニアチームメンバー募集！！ */
.side-content  .team-entry {
    margin: 0 0 0 0;
    width: 100%;

    border: 2px solid #555;

}
.side-content  .team-entry .team-entry-head{
    font-size: 1.3rem;
    text-align: center;
    font-weight: bold;
    background-color: #d2ccde;
}

.team-entry-body {
    background-color: #fff;
}


.team-entry-button a{
    padding: 20px 0 20px 0;
    font-size: 1.3rem;
    width: 95%;
    margin: 5px auto;

    border: 2px solid #555;
    border-radius: 1rem;

    background-image: url("images/nisinomiyalink.png");
    background-position: center;
    
    font-weight: bold;
    color:#3a02a5;
    font-weight: bold;
    text-align: center;
    font-weight: bold;
    display: block;
    /* -webkit-text-stroke: 1px #fff; */
    text-shadow: 1px 1px 0 #fff, 
                -1px -1px 0 #fff,
                -1px 1px 0 #fff,
                1px -1px 0 #fff,
                0px 1px 0 #fff,
                0px -1px 0 #fff,
                -1px 0 0 #fff,
                1px 0  0 #fff;

}

/* placeholder */
::placeholder {
  color: #CCCCCC;
}

/* contact form*/

/* footer */
.page-footer {
    width: 100%;
    background-color: #1f0159;
}

.copyright {
    color: #fff;
    text-align: center;
    padding: 10px;
}


/* Mobile */
@media (max-width: 600px) {

    .main {
        flex-direction: column;
        align-items: center;
    }
    .side-content {
        width: 100%;
        order: 2;
        margin: 0 auto;
    }
    
    .home-content {
        width: 100%;
        order: 1;
    }
    #main-nav {
        display: grid;
        gap: 1px;
        grid-template-columns: 1fr 1fr;
        background-color: gray;
    }
    #main-nav li {
        margin: 0;
        width:100%;
        border:none;
    }
    #main-nav li a {
        padding: 10px 0 10px 0;
        text-align: center;
        font-weight: bold;
        color:#ccc;
        display: block;
    }
    .top-logo {
        max-width: 33%;
    }
}
/* Small PC */
@media (min-width: 600px)and (max-width: 1096px) {
    .top-page-image {
        background-size: 100%;
        background-position: bottom;
        width: 100%;
    }
}










/* google calender */
.gc_wrapper {
  max-width: 1000px; 
  min-width: 300px; 
  margin: 2.0833% auto;
}
 
.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.responsive-iframe-container iframe,   
.responsive-iframe-container object,  
.responsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 
@media (max-width: 600px) {
    .big-container {
        display: none;
    }
    .small-container {
       padding-bottom: 200%;   /* 高さ */
    }
}
@media (min-width: 600px) {
    .small-container {
        display: none;
    }
}