@charset "utf-8";

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html -------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
:focus {
  outline: 0;
}

ol, ul {
  list-style: none;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  font-weight: normal;
  text-align: left;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}
blockquote, q {
  quotes: "" "";
}
a img {
  border: 0;
}
figure {
  margin: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
/* -------------------------------------------------------------- */

body {
  color: #333;
  font: 12px verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  line-height: 1.5;
  background: #f8f4f1;
  -webkit-text-size-adjust: none;
}

html {
  background: #ff7f50;
}

/* リンク設定 ------------------------------------------------------------*/
a {
  color: #FF6347;
  text-decoration: none;
}
a:hover {
  color: #D14A34;
}
a:active, a:focus {
  outline: 0;
}

/* 全体 ------------------------------------------------------------*/
#wrapper {
  margin: 0 auto;
  padding: 0 1%;
  width: 98%;
  position: relative;
}

.inner {
  margin: 0 auto;
  width: 100%;
}

/************* /* ヘッダー *************/
#header {
  padding: 10px 0 15px;
  overflow: hidden;
  background: #e0ffff;
  border-bottom: 2px solid #e0ff33;
  animation: fadeIn 2s;
  position: relative;
}

* html #header {
  height: 1%;
}

#header h1 {
  font-size: 20px;
  font-weight: normal;
  color: #fff;
}

/************* /* ロゴ *************/
#header .logo {
  float: left;
  padding: 20px 0 0;
}

.logo a {
  font-size: 25px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  animation: slideInleft 2s;
}

.logo span {
  font-size: 15px;
  font-weight: normal;
}

/************************** /* トップナビゲーション **************************/
ul#topnav {
  float: right;
  overflow: hidden;
  animation: slideInRight 2s;
}

* html ul#topnav {
  height: 1%;
}

ul#topnav li {
  float: left;
  margin: 0 5px;
  text-align: center;
}

ul#topnav a {
  font-size: 13px;
  display: block;
  padding: 20px 10px;
  color: #000;
  transition: background 0.3s ease-in-out;
}

ul#topnav span {
  color: #cdcdcd;
  font-size: 10px;
}

ul#topnav li.active a, ul#topnav a:hover {
  background: #D14A34;
  border-radius: 5px;
}

/************************** /* 縦長のポスター画像を横に3枚並べるセクション **************************/
.poster-wrapper {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  animation: fadeIn 2s;
}

.poster {
  width: 30%;
  padding-top: 45%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  animation: floatUp 2s ease-in-out;
}

.poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.poster:hover {
  transform: scale(1.05);
}

.poster:hover img {
  transform: scale(1.1);
}

/************* メイン コンテンツ *************/
section.content {
  padding: 19px;
  margin-bottom: 20px;
  border: 1px solid #ebebeb;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  font-size: 14px;
  animation: fadeInUp 2s;
}

* html section.content {
  height: 1%;
}

section.content p {
  margin-bottom: 5px;
}

h3.heading {
  padding-left: 7px;
  margin-bottom: 10px;
  font-size: 16px;
  border-left: 5px solid #FF6347;
  color: #FF6347;
}

section.content img {
  max-width: 90%;
  height: auto;
}

.alignleft {
  float: left;
  clear: left;
  margin: 3px 10px 10px 0;
}

.alignright {
  float: right;
  clear: right;
  margin: 3px 0 10px 10px;
}

img.frame, #gallery img {
  border: 4px solid #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/************* テーブル *************/
table.table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px auto;
}

table.table th, table.table td {
  padding: 5px;
  border: 1px solid #D14A34;
}

table.table th {
  text-align: right;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #fff;
  background: #FF6347;
  border-left: #D14A34 5px solid
}

table.table td {
  border-left: #D14A34 3px double
}

/************* サブコンテンツ *************/
#sub ul {
  padding: 10px;
}

#sub li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ebebeb;
}

#sub li:last-child {
  border: 0;
  margin-bottom: 0;
}

#sub li a {
  display: block;
}

#sub ul.list {
  padding-bottom: 7px;
}

#sub ul.list li {
  clear: both;
  margin-bottom: 5px;
  padding: 5px 0;
  overflow: hidden;
}

* html #sub ul.list li {
  height: 1%;
}

#sub ul.list li img {
  float: left;
  margin-right: 10px;
}

#sub ul.list li {
  font-size: 12px;
  line-height: 1.35;
}

/************* /* フッター *************/
#footer {
  clear: both;
  padding: 2px 0;
  overflow: hidden;
  background: #e0ffff;
  border-top: 1px solid #D14A34;
  animation: fadeIn 2s;
}

* html #footer {
  height: 1%;
}

.tel strong {
  font-size: 20px;
  font-weight: bold;
}

#footer a {
  color: #fff;
}
#footer a:hover {
  color: #ccc;
}

#footer .copyright {
  font-size: 11px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floatUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*************
サブコンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

* html #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin-right:10px;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}

/*************
/* フッター
*************/
#footer{
clear:both;
padding:2px 0;
overflow:hidden;
background:#e0ffff;
border-top:1px solid #D14A34;
}

* html #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#footer .copyright{font-size:11px;}



/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:220px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{
	width:300px;
	}
	
	/* ギャラリー グリッド(4カラム) */
	#gallery{
	width:920px;
	}
	
  #gallery .grid{
	width:210px;
	}	
}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	#header h1{padding:0 0 5px 10px;}
	#header .logo{padding-left:10px;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid{
	float:none;
	width:100%;
	text-align:center;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


/* iPad 縦 */
@media only screen and (max-width:767px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:left;
	text-align:center;
	padding:10px 5px 20px;
	}

  .hamburger-menu {
    position: absolute; /* または fixed */
    top: 20px; /* 上からの距離を指定 */
    right: 0; /* 右端に配置 */
    z-index: 10; /* ポスター画像よりも高い値に設定 */
}

  .hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
  }

	ul#topnav{
	display: none;
	width: 100%;
	}

	ul#topnav li{
	width: 100%;
	margin: 0;
	border-top: 1px solid #292d48;
	border-right: 1px dashed #292d48;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	}

	ul#topnav li.active a, ul#topnav a:hover{border-radius: 0;}
	
	#sub ul.list{padding: 10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom: 10px;
	margin-bottom: 8px;
	}

  /* 電話番号とFAXを著作権情報の下に移動 */
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tel {
    order: 2;
    text-align: center;
  }

  .copyright {
    order: 1;
    text-align: center;
  }
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:20px auto 10px;
	}
	
	.grid p,#sub .grid li{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}

  .hamburger-menu {
    display: none;
  }

  ul#topnav {
    display: flex;
    width: 100%;
  }

  .hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
  }
}

