/* STRUCTURE */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
	font-size: 1.0rem;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	color: #333333;
	background-image: url(../img/map_edo.jpg);
    background-position: 0 0;
    background-size: contain;
    box-shadow: inset 0 0 0 1000px rgba(255,255,255,.8);
}
h1,h2,h3 {
	color: #644d20;
	text-align: center;
}
h1,h2 {
	font-size: 2.0rem;
	margin: 20px 0 50px;
}
h1 {
	/*font-family: "Brush Script Std";*/
  font-family: 'Galada', cursive;
}
h3 {
	line-height: 2;
}
p {
	line-height: 2.5;
}
ul,li {
	padding: 0;
	margin: 0;
	list-style: none;
}
figure {
	margin: 0;
	padding: 0;
	text-align: center;
}
picture {
	display: inline-block;
}
main > section {
	width: 900px;
	padding: 40px 60px 80px;
	margin: 0 auto;
	background: #FFF;
}
main > section + section {
  margin-top: 30px;
  border-top: 5px solid #42869f;
  border-left: 15px solid #42869f;
  border-right: 15px solid #42869f;
  border-bottom: 5px solid #42869f;
}
img {
	max-width: 100%;
}
@media(max-width: 1024px) {
	main > section {
		width: 100%;
		padding: 40px 20px;
	}
}

.attention {
  display: inline-block;
  margin-left: 1.2em;
  line-height: 1.2em;
}
.attention::before {
  content: '※';
  margin-left: -1.2em;
  display: inline-block;
}

.mainmovie_wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

.mainmovie {
  margin: 0 auto 20px;
  width: 100%;
  max-width: 1000px;
  height: 500px;
}

.comparison {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

.comparison img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}

.youtube {
   width: 344px;
   height: 194px;
}

/* HEADER */
.tt-header {
	position: relative;
	height:100px; /* For IE */
	display:-webkit-box;
    display:-ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	-ms-flex-pack:justify;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
	background-image: url(../img/map_current.jpg);
	background-size: cover;
    background-position: 50% 50%;
	box-shadow: inset 0 0 0 1000px rgba(255,255,255,.5);
	text-align: center;
}
.tt-header-inner {
	position: relative;
	height: 600px;
	width: 100%;
	display: flex;
	-webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    background-image: url(../img/map_edo.jpg);
    background-size: cover;
    background-position: 50% 50%;
    box-shadow: inset 0 0 0 1000px rgba(255,255,255,.8);
}
.tt-header-inner h1 {
	width: 100%;
	height: 78px;
    padding: 20px;
    position: absolute;
    bottom: calc(50% - 39px);
    margin: auto;
    left: 0;
    right: 0;
    z-index: 10;
    transition-property: background-color, background, box-shadow, opacity, bottom;
  	transition-duration: 0.8s;
}
.tt-header-inner h1 img{
	width: 100%;
	transition-property: width;
  	transition-duration: 0.8s;
}
.tt-header-inner h1.tt-header-inner-fixed {
	bottom: calc(100% - 73px);
	height: 73px;
	padding: 15px;
    background: #f5f2ea !important;
    box-shadow: 0 3px 3px rgba(0,0,0,0.4) !important;
}
.tt-header-inner h1.tt-header-inner-fixed img {
	width: 55% !important;
}
.tt-header-fixed{
	overflow: hidden;
	width: 100%;
	height: 42px;
    padding: 14px 0 16px;
    position: fixed;
    top: 0;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 10;
    background: #f5f2ea !important;
    box-shadow: 0 3px 3px rgba(0,0,0,0.4) !important;
    transition-property: top;
  	transition-duration: 0.4s;
}
.tt-header-fixed.hidden {
	top: -42px;
}
.tt-header-fixed picture {
	width: 240px;
}


.tt-header-inner-h2 {
	opacity: 0;
	transition-property: opacity;
  	transition-duration: 0.4s;
}

.tt-header-inner-h2 {
  font-size: 1.8rem;
}
.tt-header-inner-h2 h2 {
  font-size: 3.5rem;
}

.tt-header-inner-h2-visible {
	opacity: 1;
	display: block;
}
.tt-header-scroll {
	position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    margin: auto;
}

/* CONTENTS */
.tt-section-concept {
	width: 100% !important;
  background: linear-gradient(90deg, #f0ebdb, #ffffff, #f0ebdb);
background-size: 600% 600%;

-webkit-animation: sandwind 6s ease infinite;
-moz-animation: sandwind 6s ease infinite;
animation: sandwind 6s ease infinite;

@-webkit-keyframes sandwind {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes sandwind {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes sandwind {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

}
.tt-section-concept > div > p {
  max-width: 1000px;
  margin: 0 auto;
}
.tt-2col {
	display:-webkit-box;
    display:-ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-box-pack:justify;
    -ms-flex-pack:justify;
    -webkit-justify-content:space-between;
	justify-content: space-between;
	width: 100%;
}
.tt-2col > li {
	width: 49.9%;
  border-left: 1px solid #ccc;
}
.tt-2col > li:first-child {
  border-left: none;
}
.tt-2col-inner {
  padding-left: 30px;
}

.tbl_corseabout th {
  width: 6em;
  text-align: right;
}

#en .tbl_corseabout th {
  width: 9em;
  font-size: 0.6em;
}

.tt-2col > li:first-child .tt-2col-inner {
  padding: 0 30px 0 0;
}

.btn {
  position: relative;
  margin: 20px auto 0;
  width: 100%;
  height: 90px;
}
.btn a {
  position: absolute;
  right: 0;
  left: 0;
  font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
  display: block;
  margin: 0 auto;
  width: 600px;
  height: 90px;
  line-height: 90px;
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background-color: #ff9900;
  border-bottom: 4px solid #aa3333;
  text-shadow: 0 1px 0px rgba(0,0,0,1);
  border-radius: 5px;
}

.btn a:hover {
  top: 3px;
  border-bottom: 1px solid;
}

.tt-section-picture {
	width: 100%;
	padding: 0;
	height: 330px;
	background-image: url(../img/seeing_with_ipad.jpg);
    background-size: calc(100% + 80px);
    background-position: 50% 50%;
}

.tt-access-figure {
  display: table;
}
.tt-access-figure img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}
.tt-access-figure > * {
  display: table-cell;
  vertical-align: top;
}
.tt-access-figure picture {
  width: 440px;
}
.tt-access-figure figcaption {
  width: 230px;
  line-height: 2em;
  text-align: left;
}

.tt-map-figure img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}

.red::before {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.5em;
  background-color: #d00;
  border-radius: 2px;
}
.green::before {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.5em;
  background-color: #0b0;
  border-radius: 2px;
}

.tt-campaign-figure {
	margin: 40px 0;
}

.movie_gallery {
  margin-top: 50px;
}
.movie_gallery h3 {
  text-align: left;
}
.movie_gallery .youtube_full {
  width: 100%;
  height: 400px;
}
.contact {
  text-align: center;
}
.contact .inner {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 20px;
  border: 1px solid #f0ebdb;
  box-shadow: 0px 2px 13px rgba(0,0,0,0.5);
}
.contact h3 {
    margin: 0;
    background-color: #f0ebdb;
}

.telnum,.telnum a {
  color:red;
  font-size:2rem;
  text-decoration:none;
}
.contact-time-range {
    margin: 0;
    padding: 0;
    line-height: 1em;
    color: #666;
}

#cn .contact p, #en .contact p {
  padding: 20px 0 0;
}


.lang {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.lang ul {
  display: table;
}
.lang ul li {
  position: relative;
  display: table-cell;
  width: 90px;
  height: 24px;
}

.lang ul li span, .lang ul li a {
    margin: 0 0 0 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    padding: 3px 10px 2px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
}

.lang ul li a {
    background-color: #cc0000;
    border-bottom: solid 3px #a00;
}
.lang ul li span {
    background-color: #ccc;
    border-bottom: solid 1px #aaa;
}

.backtop {
  width: 160px;
  margin: 0 auto;
  padding: 20px 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  background-color: #333;
  border-bottom: 3px solid #000;
}

.btn-back {
  position: fixed;
  bottom: 65px;
  right: 5px;
  display: block;
  width: 50px;
  margin: 0 0 0 auto;
  margin-top: 40px;
  padding: 10px;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  text-decoration: none;
  border-bottom: 3px solid #000;
  border-radius: 3px;
  background-color: #333;
  /*opacity: 0.9;*/
}

@media(max-width: 1024px) {
  .lang ul li span, .lang ul li a {
    font-size: 12px;
  }
  .lang ul li {
    width: 70px;
    height: 20px;
  }
  .btn-back {
    display: none;
  }
  * {
    line-height: 1.2;
  }

  p {
    line-height: 1.4;
  }
  .tt-header-fixed {
    text-align: left;
  }
  .tt-header-fixed img {
    margin-left: 10px;
    width: 140px;
  }
  main {
    padding-top: 30px;
  }

  .contact span {
    line-height: 2em;
    font-size: 1.75em!important;
  }

  .contact .inner {
    width: 100%;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
  }

  .contact p {
    line-height: 2em;
  }
  .telnum,.telnum a {
    font-size: 1.5rem;
  }
  .contact-time-range {
    font-size: 0.9rem;
  }

  .youtube {
     width: 100%;
     height: auto;
  }
  .mainmovie {
    height: auto;
  }

  .tt-header-inner-h2 {
    font-size: 1rem;
  }
  .tt-header-inner-h2 h2 {
    font-size: 1.5rem;
  }
	.tt-section-picture {
		background-size: cover;
	}
	.tt-2col {
		display: block;
		width: 100%;
	}
	.tt-2col > li {
		width: 100%;
		display: block;
    border: none;
	}
  .tt-2col > li:first-child .tt-2col-inner {
    border-bottom: 1px solid #ccc;
  }
  .tt-2col-inner {
    padding: 0!important;
  }
  .btn a {
    width: 90%;
  }
  #en .btn a {
    width: 90%;
    font-size: 1.2em;
  }
  .tt-access-figure {
    display: inline-block;
  }
  .tt-access-figure > * {
    display: inline-block;
  }
  .tt-access-figure picture {
    width: auto;
  }

  .movie_gallery .youtube_full {
    width: 100%;
    height: auto;
  }
  .tt-footer img {
    width: 200px;
  }
}

/* FOOTER */
.tt-footer {
	margin-top: 50px;
	padding: 10px;
	background: #644d20;
	text-align: center;
}

/* FOR JS */
.js-hide {
	opacity: 0;
	transform: translate(0, 60px);
    -webkit-transform: translate(0, 60px);
    transition: .8s;
}

.js-hide-picture {
	opacity: 0;
	transition: opacity .8s linear 0;
}
.js-fadeIn {
	opacity: 1;
}

.js-fadeInUp {
	opacity: 1;
	transform: translate(0, 0px);
    -webkit-transform: translate(0, 0px);
    transition: .8s;
}
