/* IMPORT CSS */
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 2px;
}
.mainimg-sp {
    display: none;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
.shop-button {
    padding: 1rem;
    border: 2px solid #000;
}
.goods-button {
    padding: 1rem;
    border: 2px solid #000;
}
.details-button {
    padding: 1rem;
    border: 2px solid #aaa;
    margin-bottom: 10px;
    background-color: #fafafa;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}
a {
    display: block;
}
a:hover {
    opacity: 0.6;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}
#navi {
    display: block !important;
}
.br-sp {
    display: none;
}
}


/* スマホ版　幅768px以下の表示----*/
@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 10px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.header-box {
    display: none;
}   
.mainimg {
    display: none;
}
.mainimg-sp{
     display: block;
}
.catch .header-box {
     display: block;
} 
.catch {
    padding: 3rem 2rem;
}
.catch .event-title {
    font-size: 70%;
}
.catch h3 .event-title {
    padding: 0 0 0 0;
}
.br-sp {
    display: block;
}
}


/*ロゴ
-------------------------------------*/
/* ヘッダーロゴ */
.headlogo {
    width: 160px;
}
/* フッターロゴ */
.footlogo {
    width: 200px;
}


/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}
.secondary img{
    width:100%;
    height:100px;
    object-fit: cover;
    object-position:50% 100%;
}

/* スマホ版　幅768px以下の表示----*/
@media screen and (max-width: 768px){
.mainimg-sp img {
    width: 100vw;
}
.secondary-sp img{
    width:100%;
    height:100px;
    object-fit: cover;
    object-position:50% 100%;
}
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 2rem 0 0 0;
}
section {
	margin: 0;
	padding: 6rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}
.icon {
    display: flex;
    flex-direction: row;
}
.icon img {
    padding: 3rem 1rem;
    width: 80%;
}
.catch .icon {
    display: flex;
    justify-content: center;
    padding: 3rem;
}
.icon img :hover {
    opacity: 0.7;
}
.emphasis{
    color: red;
    font-size: 90%;
}
.link{
    font-size: 90%;
}
.link a:hover {
    text-decoration: underline;
}
.note{
    font-size: 80%;
}


/* スマホ版　幅768px以下の表示----*/
@media screen and (max-width: 768px){

.goods-button {
    padding: 1rem;
    border: 2px solid #000;
    margin-bottom: 10px;
}
.details-button {
    display: flex;
    justify-content: center;
    width: 220px;
    margin: auto;
    border-color: #000;
    margin-bottom: 2rem;
}
.privacy {
    padding: 3rem 2rem;
}
.privacy p {
    margin: 0 2rem;
}
.home-event {
    margin: 0 2rem;
}
.home-product {
    margin: 0 2rem;
}
}


/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    padding: 3rem 15% 1rem 15%;
}
.catch h2 {
    padding-bottom: 1rem;
    line-height: 1.5;
}
.catch h3 {
    padding: 1rem 0;
}
.catch p {
    line-height: 3.8rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}


/*　イベント情報ページ
-------------------------------------*/
.event-info {
    display: flex;
    flex-direction: row;
    padding: 0rem 10%;
}
.event-info2 {
    display: flex;
    flex-direction: row;
    padding: 0rem 17%;
}
.event-poster {
    margin: 60px 30px;
}
.title-img {
    width: 40%;
    margin: auto;
    padding: 1rem 0 2rem 0;
}
.name-area {
    display: flex;
    flex-direction: column;
    width: 60%;
}
.name-area2 {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.name-title {
    margin: 50px 0 10px 5px;
}
.name-title span {
    font-size: large;
}
.name-title2 {
    margin: 50px 0 30px 5px;
    text-align: center;
}
.name-title2 span {
    font-size: large;
}
.name-group {
    display: flex;
    flex-direction: row;
}
.name-list {
    width: 33.3%;
    word-break: break-all;
    padding: 10px;
    display: inline;
}
.name-list2 {
    width: 33.3%;
    word-break: break-all;
    padding: 10px 0 0 40px;
    display: inline;
}
.name-list p {
    font-size: small;
    margin-bottom: 2px;
}
.name-list2 p {
    font-size: small;
    margin-bottom: 2px;
}
.map {
    margin : 0px;
    padding: 0px;
}
.map-title {
    text-align: center;
}
.map-title p {
    font-size: 80%;
    margin: 0;
    padding: 1rem 0 0 0;
}
.small {
    font-size: 70%;
}
.correct span {
    text-decoration: line-through;
}

/* スマホ版　幅768px以下の表示----*/
@media screen and (max-width: 768px){

.event-info {
    flex-direction: column;
    padding: 0rem 5%;
}
.event-info2 {
    flex-direction: column;
    padding: 0rem 5%;
}
.event-poster {
    width: 100%;
    margin: 0px;
        text-align: center;
}
.title-img {
    width: 90%;
}
.name-title {
    margin: 30px 0 5px 0;
    text-align: center;
}
.name-title2 {
    margin: 30px 0 15px 0;
}
.name-group {
    margin-bottom: 20px;
}
.name-list2 {
    padding: 10px 0 0 10px;
}
}


/*　イベント情報ページ
-------------------------------------*/
.formframe{
    width: 100%;
    height: 1450px;
    frameborder: 0;
    marginheight: 0;
    marginwidth: 0;
}



/*プライバシーポリシー
-------------------------------------*/
.privacy {
    text-align: center;
    padding: 3rem 15%;
}
.privacy p {
    text-align: left;
    margin-left: 2rem;
}
.privacy a {
    text-decoration: underline;
}
.privacy h4 {
    text-align: left;
}


/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}


/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}
.attention {
    display: block;
    padding: 0rem 4rem;
    color: red;
    font-size: 90%;
    text-align: center;
}

/* スマホ版　幅768px以下の表示----*/
@media screen and (max-width: 768px){

.table th {
    width: 100%;
    display: block;
}   
.table td {
    display: block;
}
.attention {
    display: block;
    padding: 0rem 4rem;
    color: red;
    font-size: 90%;
    text-align: center;
}
}


/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 8rem 0;
    font-size: 90%;
}

/* スマホ版　幅768px以下の表示----*/
@media screen and (max-width: 768px){

footer {
    font-size: 100%;
}
.event-foot {
    text-align: center;
}
.event-foot .footlogo {
        margin: auto;
}
.event-foot .icon {
    display: flex;
    justify-content: center;
}
}


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
    color: #fff;
    text-decoration: none;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}


/* 幅768px以下の表示・非表示*/

.secondary-sp {
    display: none;
}
.catch .header-box {
    display: none;
}


