/* スマホサイトコーディング入門2回目：スマートフォンUIの特徴とCSSコーディング */
html, body {
  height: 100%;
}
body {
    color: #666;
    font-family: sans-serif;
    background:;
}


p#homebtn a{
	position:absolute;
	top:15px;
	left:10px;
	width:5rem;
	height:1.6rem;
	z-index:5000;
}
/* スマホサイトコーディング入門3回目：ファーストビューのUIを作る */
header {
    position: relative;
    background-position:center -20px;
    vertical-align: bottom;
    background-size:160% auto;
}
header h1 {
    display: none;
}
header p {
    position: absolute;
    top:40%;
    left: 0;
    right: 0;
    margin:auto;
    width:90%;
}

.btn {
	position: absolute;
	top:360px;
	right: 0;
	/*bottom: 14%;*/
    margin: auto;
	width: 100%;
	height: 2.8rem;
	line-height: 2.8rem;
}
.btn a {
    text-decoration: none;
    display: block;
    color:#9A4E4E;
}
.btn a:hover {
    background-color: rgba(255,255,255,.5);
}
/* スマホサイトコーディング入門4回目：メインコンテンツのUIを作る */
article {
    padding: 3%;
}
article section {
    margin-bottom: 1.4rem;
}
article h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #F75E40;
    margin-bottom: 0.6rem;
}
article section h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
article section figure {
    padding:1.4rem 3rem;
}
/*お問合わせフォーム*/
#contactUs {
    background-color: #6292B3;
    color: #fff;
    padding: 3%;
}
#contactUs p {
    margin-bottom: 0.6rem;
}
#contactUs h2 {
    color: #A4FF77;
}
#contactUs table {
    width: 96%;
    margin:0 auto;
}
#contactUs th {
    width: 35%; /* 5回目で修正 */
    text-align: right;
    font-size: 0.7rem;
    font-weight: normal;
    padding-top: 0.3rem;
}
#contactUs td {
    width: 65%; /* 5回目で修正 */
    padding-bottom: 0.5rem;
    vertical-align: top;
}
textarea {
    height: 10rem;
}
input[type="text"] {
    height: 1.5rem;
}
input[type="text"], textarea {
    width: 100%;
    box-sizing:border-box;
    border-style: none;
}


/*お問合わせフォームakiko*/

#formWrap {
	background-color: #6292B3;
    color: #fff;
	width:100%;
	margin:30px auto;
	color:#fff;
	line-height:120%;
	font-size:80%;
}

#formWrap h2 {
    color: #A4FF77;
}


table.formTable{
	width:90%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:5px;
}
table.formTable th{
	width:25%;
	font-weight:normal;
	background:;
	text-align:left;
}

td{
	border:1px solid #ccc;
	width: 65%; 
    padding-bottom: 0.5rem;
    vertical-align: top;
}

p{
 color:#630;
 line-height:1.5;
 width:80%;
 margin:0 auto;
}
p.right{
	text-align:right;
	line-height:1.0;
}

textarea {
    height: 10rem;
}

textarea {
    height: 10rem;
}
input[type="text"] {
    height: 1.5rem;
}
input[type="text"], textarea {
    width: 100%;
    box-sizing:border-box;
    border-style: none;
}




/*footer*/
/* （ライブコーディングなし）ここまで習得したスキルでかけるcssですので書いてみましょう */
footer {
    background-color: #0780C5;
    color: #fff;
    overflow: hidden;
    padding-top: 1rem;
	padding-left:1rem;
	width:120%;
	position:absolute;
	left:-10px;
}
footer section {
    padding:4%;
    width: 37%;
    margin-bottom: 0;
    float: left;
}
footer section h4 {
    color: #fff;
    margin-bottom: 1rem;
}
footer section li {
    line-height: 1.5rem;
}
footer section li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
}
footer small {
    display: block;
    padding: 1rem;
    font-size: 0.8rem;
    clear: both;
    text-align: center;
}

/* スマホサイトコーディング入門5回目 ユーザーが操作するUIを作る（ライブコーディングなし） */
img {
    width: 100%;
    height: auto;
}
p {
    font-size: 0.8rem;
    line-height: 1.7;
}
section {
    margin-bottom: 1.4rem;
}
h2 {
    text-align: center;
    font-size: 1.2rem;
    color: #F75E40;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* スマホサイトコーディング入門5回目　アクセスをasideに作る */
aside section {
  padding: 3%;
  margin-bottom: 0;
  text-align: center;
}
aside h3 {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.accessmap {
  position: relative;
  padding-bottom: 60%;
  height: 0;
  overflow: hidden;
  z-index: -1;
}
.accessmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: 0;
  height: 100%;
}
/* スマホサイトコーディング入門5回目　上に戻る */
#gototop {
  z-index: 20000;
  position: fixed;
  bottom: 2%;
  right:2%;
}
#gototop a {
  display: block;
  width: 4rem;
  height: 3rem;
  line-height: 3.4rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: orange;
  font-size: 2rem;
  text-decoration: none;
}
#gototop a:hover {
  background: rgba(255, 100, 50, 0.7);
}




/* スマホサイトコーディング入門6回目 ユーザーが操作するUIを作る:メニューなど */


#sns {
    z-index: 200;
    position: absolute;
    width: 10rem;
    top: 0.7rem;
    left: 40%;
    overflow: hidden;
}
#sns li {
    float: left;
    margin-right: 0.3rem;
}
#sns li a {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
}
#drawer ul {
  z-index: 300;
  width: 100%;
  position: fixed;
  top: 3.0rem;
  background-color: rgba(255,100,50,.2);
  cursor: pointer;
  margin-left: -100%;
  transition-property:all;
  transition-duration:1s;
}
#drawer li {
  background-color: rgba(255,100,50,.7);
  margin-bottom: 0.2rem;
}
#drawer li a {
    display: block;
    height: 3rem;
    line-height: 3rem;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    text-shadow:0.1rem 0.1rem 0 #BB1310;
}
header {
    margin-top: 2.6rem;
}
/* jQuery2回目　メニューを非表示にする */
#open {
  position: fixed;
  z-index: 400;
  top:0;
  right: 0;
  width: 2.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  display: block;
  text-align: center;
  background:#365188;
  color: #fff;
  font-size: 2rem;
  border:none;
  cursor: pointer;
}
#open:focus {
  outline: 0;
  border-color: orange;
}
#drawer .showMenue {
  margin-left: 0%;
}

/* 4回目アコーディオン */
img:hover {
  opacity: 0.5;
  cursor: pointer;
}
#room section p {
  display: none;
}
#room section p.ShowP {
  display: block;
}
#room section:hover {
  color: #ff5a46;
  transition: all .3s;
}
#room section img:hover {
  border-radius: 80%;
  transition: all .3s;
}
#room section p.ShowP {
  color:#333;
}
/*フォームの入力チェック*/
form table td span {
  display: block;
  font-size: 0.8rem;
  color: yellow;
  margin-top: 0.4rem;
  text-align: right;
}

/*------------------------------------------------------------
	NEWS
------------------------------------------------------------*/
.news {
	margin: 0 10px;
	padding-top: 20px;
	background: #fff url(../images/news_bg.png) repeat-x -2px 5px;
	-webkit-background-size: 15px 10px;
	background-size: 15px 10px;
	-webkit-transform: rotate(0);
	transform: rotate(0);
	position: relative;
}

.news:before,
.news:after {
	width: 120px;
	height: 10px;
	background: transparent;
	-webkit-transform: skew(-5deg) rotate(-5deg);
	-moz-transform: skew(-5deg) rotate(-5deg);
	transform: skew(-5deg) rotate(-5deg);
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	position: absolute;
	left: 10px;
	bottom: 6px;
	z-index: 1;
	content: "";
}

.news:after {
	left: auto;
	right: 10px;
	-webkit-transform: skew(5deg) rotate(5deg);
	-moz-transform: skew(5deg) rotate(5deg);
	transform: skew(5deg) rotate(5deg);
}

.news > .inner {
	padding-bottom: 10px;
	background: #fff;
	position: relative;
	z-index: 2;
}

.news > .inner:before {
	width: 32px;
	height: 34px;
	background: url(../images/sprite_icon.png) no-repeat -176px -26px;
	-webkit-background-size: 208px 70px;
	background-size: 208px 70px;
	display: block;
	position: absolute;
	top: -24px;
	left: 5px;
	content: "";
}

.news article,
.news .backNumber {
	display: block;
	border-bottom: 1px dotted rgba(81,54,26,0.25);
}

.news article > a,
.news .backNumber > a {
	padding: 15px 37px 15px 15px;
	display: block;
	position: relative;
	text-decoration: none;
}

.news .backNumber > a {
	color: #069;
	font-size: 16px;
}

.news article > a:before,
.news .backNumber > a:before {
	margin-top: -10px;
	width: 20px;
	height: 20px;
	background:url(../images/sprite_icon.png) no-repeat -20px 0;
	-webkit-background-size: 208px 70px;
	background-size: 208px 70px;
	position: absolute;
	top: 50%;
	right: 15px;
	display: block;
	content: "";
}

.news article header {
	margin-bottom: 8px;
}

.news article header .date {
	margin-bottom: 10px;
	position: relative;
	color: #513519;
	font-size: 12px;
}

.news article header .name {
	margin-bottom: 10px;
	position: relative;
	color:#39C;
	font-size: 14px;
}

.news article header .date .new {
	margin-left: 5px;
	position: absolute;
	top: -4px;
}

.news article header h1 {
	color: #069;
	font-size: 16px;
	font-weight: normal;
}

.news article p {
	color: #666;
	font-size: 14px;
}




.news1 {
	margin: 0 10px;
	padding-top: 20px;
	background: #fff url(../images/news_bg.png) repeat-x -2px 5px;
	-webkit-background-size: 15px 10px;
	background-size: 15px 10px;
	-webkit-transform: rotate(0);
	transform: rotate(0);
	position: relative;
}

.news1:before,
.news1:after {
	width: 120px;
	height: 10px;
	background: transparent;
	-webkit-transform: skew(-5deg) rotate(-5deg);
	-moz-transform: skew(-5deg) rotate(-5deg);
	transform: skew(-5deg) rotate(-5deg);
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	position: absolute;
	left: 10px;
	bottom: 6px;
	z-index: 1;
	content: "";
}

/* Swiperの影響をリセット（ヘッダーのoverflowが全体に影響する場合） */
body .news,
.news * {
overflow: visible !important; /* つぶれ防止 */
height: auto !important; /* 高さ自動調整 */
}

body .news1,
.news1 * {
overflow: visible !important; /* つぶれ防止 */
height: auto !important; /* 高さ自動調整 */
}

/* これを既存のCSSの一番下に追加 */
.news,
.news > .inner {
min-height: 200px !important; /* 高さ潰れ防止 */
overflow: visible !important;
}

.news article {
height: auto !important;
overflow: visible !important;
}

/* 念のためSwiperの影響を完全にシャットアウト */
.swiper ~ .news,
.news {
contain: none !important;
}


/* これを既存のCSSの一番下に追加 */
.news1,
.news1 > .inner {
min-height: 200px !important; /* 高さ潰れ防止 */
overflow: visible !important;
}

.news1 article {
height: auto !important;
overflow: visible !important;
}

/* 念のためSwiperの影響を完全にシャットアウト */
.swiper ~ .news1,
.news1{
contain: none !important;
}


/* ----- これを既存のNEWS CSSの一番下に追加 ----- */
.news article > a {
padding: 5px 37px 18px 15px !important; /* 上下パディングをしっかり確保 */
display: flex; /* 重要：flexで日付と本文を縦並び */
flex-direction: column; /* 縦に並べる */
}

.news article header {
order: -1; /* 日付を必ず上に持ってくる */
}

.news article p {
margin: 0;
line-height: 1.45;
}

/* ----- これを既存のNEWS CSSの一番下に追加 ----- */
.news1 article > a {
padding: 18px 37px 18px 15px !important; /* 上下パディングをしっかり確保 */
display: flex; /* 重要：flexで日付と本文を縦並び */
flex-direction: column; /* 縦に並べる */
}

.news1 article header {
margin-bottom: 6px; /* 日付と本文の間隔 */
order: -1; /* 日付を必ず上に持ってくる */
}

.news1 article p {
margin: 0;
line-height: 1.45;
}
/*------------------------------------------------------------
	MENU
------------------------------------------------------------*/

.menu {
	background: url(../images/menu_bg.png);
	-webkit-background-size: 299px 69px;
	background-size: 299px 69px;
}

.menu {
	margin: 0 10px;
	border: 1px solid rgba(255,255,255,0.5);
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.6);
	box-shadow: 0 0 3px rgba(0,0,0,0.6);
}

.menu li {
	border-bottom: 1px dotted rgba(255,255,255,0.5);
}

.menu li:last-child {
	border: none;
}

.menu a {
	padding: 11px 13px 11px 62px;
	display: block;
	position: relative;
	color: #B7ACA0;
	font-size: 12px;
	line-height: 1.1;
	text-decoration: none;
}

.menu a span {
	margin-bottom: 8px;
	display: block;
	color: #fff;
	font-size: 20px;
	text-shadow: 0 0 3px rgba(0,0,0,0.65);
}

.menu a:before {
	margin-top: -20px;
	width: 44px;
	height: 44px;
	background: url(../images/sprite_icon.png) no-repeat;
	-webkit-background-size: 208px 70px;
	background-size: 208px 70px;
	position: absolute;
	top: 50%;
	left: 13px;
	display: block;
	content: "";
}

.menu .concept a:before {
	background-position: 0 -27px;
}

.menu .shopList a:before {
	background-position: -44px -27px;
}

.menu .catalog a:before {
	background-position: -88px -27px;
}

.menu .onlineShop a:before {
	background-position: -132px -27px;
}


.menu a:after {
	margin-top: -10px;
	width: 20px;
	height: 20px;
	background: url(../images/sprite_icon.png) no-repeat -40px 0;
	-webkit-background-size: 208px 70px;
	background-size: 208px 70px;
	position: absolute;
	top: 50%;
	right: 14px;
	display: block;
	content: "";
}

.menu a[target=_blank]:after {
	margin-top: -13px;
	width: 26px;
	height: 26px;
	background: url(../images/sprite_icon.png) no-repeat -100px 0;
	-webkit-background-size: 208px 70px;
	background-size: 208px 70px;
	display: block;
	position: absolute;
	top: 50%;
	right: 12px;
	content: "";
}


img.non{
	opacity: 1;
}


.menu .kiki a:before {
}

.menu .kyuto a:before {
}

.menu .gaiyo a:before {
}














