@charset "UTF-8";
/* CSS Document */

/*====================
 +base element
====================*/
/*全　体*/
body {
  margin: 0;
  padding: 0;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 2;
}

html {
	scroll-behavior: smooth;
}

.clear {
	clear:both;
}
.spd {
	padding-bottom: 20px;
}

a {
    color: black;
	text-decoration: none;
	transition: color 0.3s,background-color 0.3s;
}
a:hover {
    color: black;
	text-decoration: none;
}

p a {
    color: #333333;
	text-decoration: underline;
	transition: color 0.3s,background-color 0.3s;
}
p a:hover {
    color: #35865B;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 2rem;
}

h3, .h3 {
  font-size: 1.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

h5, .h5 {
  font-size: 1.25rem;
}

p,h6, .h6 {
  font-size: 1rem;
}
/*====================
 +#pagetop

#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
}
#pagetop a:hover {
	background: none;
	opacity:0.7;
}
====================*/

header {
	margin: auto;
	padding: 0;
	height: 100%;
}


/*====================
 +メニュー
====================*/
.menu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面の外に隠れている */
  width: 300px;
  height: 100%;
  background-color: #fff;
  color: #333;
  transition: right 0.5s ease; /* スライドインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
　display:fixed;
}

/* メニューが開いているとき */
.menu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: #333;
  margin: 8px 0;
  transition: 0.4s;
}


/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 80px;
}

.menu li {
  padding: 20px 0;
  border-bottom: 1px solid #444;
}

.menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

/*大　　枠*/
.container {
  width: 100%;
  margin: auto;
　display: block;
  position: relative;
  align-items: center;
}


/*コンテナ*/
h1 img {
	width: 280px;
}

.box {
  margin: auto;
  position: relative;
  width: 480px;
  height: 300px;
}
.slider-container {
  position: absolute;
  width: 480px;
  height: 300px;
  display: none;
}

/*画像*/
.slider-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  /*コンテナと同じ幅*/
  height: 100%; /*コンテナと同じ高さ*/
  object-fit: cover; /*比率を維持したままコンテナを埋めるように拡大縮小*/
}


/*ボタン*/
button {
  position: absolute;
  bottom: 140px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  font-size: 20px;
  font-weight:normal;
  background: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 1;
}

/*ボタンにマウスオンで黒色にする*/
button:hover {
  color: #000;
}

/*前へ戻るボタンの位置は左端*/
.previous-btn {
  left: -60px;
}

/*次へ進むボタンの位置は右端*/
.next-btn {
  right: -60px;
}


/*文　章*/
.text, .madori {
  margin: auto;
  position: relative;
  padding: 50px 0;
  width: 480px;
}

.madori img {
  margin: auto;
  position: relative;
  padding: 0;
  width: 100%;
}

.map {
  margin: auto;
  position: relative;
  padding: 0;
  width: 480px;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
/*アスペクト比（縦横比）を指定*/
}


.text p, .map p {
	padding-left: 1em;
	font-weight: 300;
}

/*シンプルボタン*/
.button a {
    background: #fff;
	border: 1px solid;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #000;
    transition: 0.3s ease-in-out;
    font-weight: 300;
}
.button a:hover {
    background: #000;
    color: #FFF;
}
.button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button a:hover:after {
    border-color: #FFF;
}

/*フォーム*/
table {
  border-top: 1px dotted #666666;
}
 
input[type="text"],
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}
 
 
input[type="text"],
textarea {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 300px;
  transition: 0.8s;
  border-radius: 0;
}
 
input[type="text"]:focus,
textarea:focus {
  background: #e4f3f5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
 
textarea[name="お問い合わせ内容"] {
  display: inline-block;
  width: 90%;
  height: 200px;
}
 
input::placeholder,
textarea::placeholder {
  color: #ccc;
}
 
::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}
 
::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
 
:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}
 
.form-table {
  width: 100%;
}
 
.form-table th,
.form-table td {
  border-bottom: 1px dotted #666666;
  padding: 20px 5px 20px 0;
}
 
.form-table th {
  background: #fff;
  position: relative;
  text-align: right;
  width: 130px;
  font-weight: normal;
}
input[type="submit"],
input[type="reset"] {
  font-size: 16px;
  padding: 10px 12px;
}


/*====================
 +フッター
====================*/
footer {
  margin-top: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
  background-color: #DEE8E3;
}

small {
	font: small-caps;
}


@media screen and (max-width: 480px){
	/* 480px以下に適用されるCSS（スマホ用） */

body {
 line-height: 2.5;
	}
	
/*コンテナ*/
h1 img {
	width: 200px;
}

.box {
  margin: auto;
  position: relative;
  width: 300px;
  height: 190px;
}
.slider-container {
  position: absolute;
  width: 300px;
  height: 190px;
}

/*ボタン*/
button {
  position: absolute;
  bottom: 85px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  font-size: 20px;
  font-weight:normal;
  background: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 1;
}

/*前へ戻るボタンの位置は左端*/
.previous-btn {
  left: -40px;
}

/*次へ進むボタンの位置は右端*/
.next-btn {
  right: -40px;
}
	
/*文　章*/
.text, .madori {
  margin: auto;
  position: relative;
  padding: 50px 0;
  width: 300px;
}

.map {
  margin: auto;
  position: relative;
  padding: 0;
  width: 300px;
}
/*フォーム*/	
.form-table th,
.form-table td {
  display: block;
  width: 100%;
}
.form-table th {
  border: none;
  text-align: left;
}
}

