﻿@charset "utf-8";

/*--------------------------------------

  event.css

---------------------------------------*/
/*BIRTHDAY*/
#birthday .cast_list {
    width: 100%;
    margin-top: 60px;
    text-align: center;
}
#birthday .cast_list li {
    position: relative;
    display: inline-block;
    width: 22%;
    margin-right: 4%;
    margin-top: 40px;
    margin-bottom: 40px;
}
#birthday .cast_list li a {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
}
#birthday .cast_list li a::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -30%;
    display: block;
    width: 160%;
    height: 120px;
    background: url(../img/event/bd_top.png) no-repeat center center;
    background-size: contain;
    z-index: 1;
    transition: .2s all ease-in-out;
}
#birthday .cast_list li a:hover::before {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
#birthday .cast_list li a::after {
    content: "";
    position: absolute;
    top: 100px;
    left: -20%;
    display: block;
    width: 140%;
    height: 120px;
    background: url(../img/event/bd_btm.png) no-repeat center center;
    background-size: contain;
}
#birthday .cast_list li a .img_cut {
    display: block;
    overflow: hidden;
    border-radius: 100px;
}
#birthday .cast_list li a:hover .img_cut {
    border-radius: 100px;
}
#birthday .cast_list li a img {
    width: 100%;
    height: 200px;
}
#birthday .cast_list li a + .girl_info {
    padding-top: 24px;
    display: block;
    height: 80px;
    line-height: 1.4;
    font-size: 1.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
}
#birthday .cast_list li a:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
#birthday .cast_list li:nth-of-type(4n) {
    margin-right: 0;
}
@media screen and (max-width:960px) {
#birthday .cast_list li {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 20px;
}
#birthday .cast_list li a,
#birthday .cast_list li a img {
    width: 100%;
    height: 180px;
}
#birthday .cast_list li a::after {
    top: 80px;
}
#birthday .cast_list li:nth-of-type(4n) {
    margin-right: 5%;
}
#birthday .cast_list li:nth-of-type(3n) {
    margin-right: 0;
}
#birthday .cast_list li a::after {
    left: -15%;
    width: 130%;
    height: 110px;
    top: 90px;
}
}
@media screen and (max-width:640px) {
#birthday .cast_list {
    margin-top: 80px;
}
#birthday .cast_list li {
    width: 32%;
    margin-right: 2%;
}
#birthday .cast_list li:nth-of-type(4n) {
    margin-right: 2%;
}
#birthday .cast_list li:nth-of-type(3n) {
    margin-right: 0;
}
#birthday .cast_list li a::after {
    left: -10%;
    width: 120%;
    height: 90px;
    top: 100px;
}
}
@media screen and (max-width:480px) {
#birthday .cast_list {
    margin-top: 30px;
}
#birthday .cast_list li {
    width: 48%;
    margin-right: 2%;
}
#birthday .cast_list li:nth-of-type(4n) {
    margin-right: 0;
}
#birthday .cast_list li:nth-of-type(3n) {
    margin-right: 0;
}
#birthday .cast_list li:nth-of-type(2n) {
    margin-right: 0;
}
#birthday .cast_list li a .img_cut {
    border-radius: 40px;
}
#birthday .cast_list li a:hover .img_cut {
    border-radius: 40px;
}
#birthday .cast_list li a,
#birthday .cast_list li a img {
    width: 100%;
    height: 180px;
}
#birthday .cast_list li a::before {
    top: -50px;
    left: -20%;
    width: 140%;
}
#birthday .cast_list li a::after {
    left: -5%;
    width: 110%;
    height: 110px;
    top: 100px;
}
#birthday .cast_list li a + .girl_info {
    padding-top: 20px;
    height: 60px;
    line-height: 1.4;
    font-size: 1.4rem;}
}

/*EVENT*/
#event h3 {
    margin-bottom: 10px;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 2px;
}
#event h3 i {
    font-size: 1.6rem;
}
#event p.prev_next {
    width: 98%;
    margin: 0 auto 5px auto;
}
#event p.prev {
    text-align:left;
}
#event p.next {
    text-align:right;
}
/*カレンダー表示*/
#event .cal {
    width: 98%;
    margin: 0 auto 60px auto;
    table-layout: fixed;
    /*border-collapse: separate;
    border-spacing: 2px;*/
    background: #fff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}
#event .cal th,
#event .cal td {
    width: 14%;
}
#event .cal th {
    background: #999;
    color: #fff;
}
#event .cal th:nth-child(1) {
}
#event .cal th:nth-child(7n) {
}
#event .cal th.sun {
    background: #ff827a;
}
#event .cal th.sat {
    background: #26afea;
}
#event .cal .day td {
    height: 100px;
    padding: 6px 6px 6px 6px;
    border-right: solid 1px #dcdcdc;
    border-bottom: solid 1px #dcdcdc;
    vertical-align: top;
    color: #666;
    font-weight: bold;
}
#event .cal .day td:nth-child(7n) {
    border-right: none;
}
#event .cal .day:nth-last-child(1) td {
    border-bottom: none;
}
#event .cal .day:nth-last-child(1) td:nth-child(1) {
    border-radius: 0 0 0 5px;
}
#event .cal .day:nth-last-child(1) td:nth-child(7n) {
    border-radius: 0 0 5px 0;
}
#event .cal .day td.sun {
    background: #ffeae9;
    color: #ff827a;
}
#event .cal .day td.sat {
    background: #dcf4ff;
    color: #30baf2;
}
#event .cal .day td.today {
    background: #fffdd4;
}
#event .cal .day a {
    display: block;
    margin-bottom: 6px;
    color: #666;
    text-decoration: underline;
    font-size: 1.2rem;
    font-weight: normal;
}
@media screen and (max-width:960px) {
#event .cal .day a {
    font-size: 1rem;
    line-height: 1.2;
}
}
@media screen and (max-width:480px) {
#event .cal {
    position: relative;
    left: -5%;
    width: 110%;
}
#event .cal th {
    font-size: 1.2rem;
}
#event .cal .day td {
    height: 60px;
    padding: 2px;
}
#event .cal .day td  b {
    font-size: 1.2rem;
}
#event .cal .day a {
    display: block;
    height: 3.6rem;
    text-decoration: none;
    border: solid 1px #ccc;
    background: #fff;
    overflow: hidden;
}
}
#event .cal .day td a:hover {
    text-decoration: none;
}
/*リスト表示*/
#event .event_list {
    width: 80%;
    margin: 0 auto;
    font-size: 1.8rem;
}
#event .event_list li {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 16px;
}
@media screen and (max-width:960px) {
#event .event_list {
    width: 100%;
}
#event .event_list li {
    font-size: 1.6rem;
}
}
#event .event_list li:nth-last-of-type(1) {
    margin-bottom: 0;
}
#event .event_list li strong {
    display: table-cell;
    width: 130px;
    padding-right: 10px;
    border-right: solid 1px rgba(100, 100, 100, .2);
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}
#event .event_list li .detail {
    display: table-cell;
    max-width: 638px;
    padding-left: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.5rem;
    vertical-align: middle;
}
#event .event_list .sun strong {
    color: #ff827a;
}
#event .event_list .sat strong {
    color: #26afea;
}
@media screen and (max-width:480px) {
#event .event_list li {
    font-size: 1.4rem;
}
#event .event_list li strong {
    width: 100px;
}
#event .event_list li a {
    max-width: 320px;
}
}
/*モーダル中身*/
.contents h4 {
    margin: 10px 0;
    padding: 4px 10px;
    background: #ccebef;
    color: #332c2a;
    font-size: 1.6rem;
} 
.contents img {
    max-width: 100%;
}