@charset "utf-8";

@media print, screen and (min-width:481px) {

body {
 font-size: 17px;
  color: #191970;
  font-family :Helvetica,'Meiryo','メイリオ',sans-serif;
  background-color: #eee;
}
#container {
  margin: 4px auto 5px;
  width: 100%;
  max-width: 850px;
  background-color: #fff;
  border: 1px solid #777;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
header {
  width: 100%;
  height: 120px;
  background-image: url("../header-img/tt-common.png");
}
h1 {
  width: calc(100% - 50px);
  font-size: 45px;
  font-weight: bold;
  color: deeppink;
  text-align: right;
  padding: 65px 50px 0 0;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  letter-spacing: 5px;
}
h2 {
  width: calc(100% - 25px);
  font-size: 18px;
  font-weight: bold;
  color: #284b15;
  margin: 20px 0px 10px 25px;
}
nav {
  width: 100%;
  height: 40px;
  border-top: 3px solid blue;
  border-bottom: 1px solid black;
}
.menu1 {
  width: 80px;
  color: blue;
  margin: 10px 0 0 30px;
  border: 0px solid #000;
}
main {
  width: calc(100% - 70px);
  margin: 25px 30px 30px 40px;
  border: 0px solid #000;
}
#title2 {
  width:90%;
  margin: 0 auto;
  border-bottom: 3px solid #aaa;
}
.top_photo {
  width: 442px;
  margin: 0 auto 30px;
}
.top-img {
  width: 100%;
}
.text1 {
  width: calc(100% - 120px);
  margin: 20px 60px 30px 60px;
  line-height: 22px;
  text-indent: 17px;
}
.text2 {
  width: calc(100% - 70px);
  margin: 0 20px 0 50px;
  line-height: 22px;
  text-indent: 18px;
}
#end_img {
  width: 137px;
  margin: 20px auto 20px;
}
.photo {
  width: 90%;
  margin: 20px auto 0px;
}
.cmt {
  color:blue;
  font-size:14px;
  text-align:center;
  margin-top: 5px;
}
footer {
  height: 34px;
  padding-top: 20px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  background-color: #444;
}

}









/*　タブレット用 481px以上768pxまでのCSS　*/
@media screen and (min-width:481px) and (max-width:768px) {

body {
 font-size: 17px;
  color: #191970;
  font-family :Helvetica,'Meiryo','メイリオ',sans-serif;
  background-color: #eee;
}
#container {
  margin: 4px auto 10px;
  width: 100%;
  max-width: 768px;
  background-color: #fff;
  border-left: 1px solid #777;
  border-right:1px solid #777;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
header {
  width: 100%;
  height: 120px;
  background-image: url("../header-img/tt-common_768_120.png");
}
h1 {
  width: calc(100% - 20px);
  font-size: 38px;
  font-weight: bold;
  color: deeppink;
  text-align: right;
  padding: 65px 20px 0 0;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  letter-spacing: 5px;
}
h2 {
  width: calc(100% - 10px);
  font-size: 18px;
  font-weight: bold;
  color: #284b15;
  margin: 20px 0px 10px 10px;
}
nav {
  width: 100%;
  height: 40px;
  border-top: 3px solid blue;
  border-bottom: 1px solid black;
}
.menu1 {
  width: 80px;
  color: blue;
  margin: 10px 0 0 30px;
  border: 0px solid #000;
}
main {
  width: calc(100% - 40px);
  margin: 25px 20px 30px 20px;
  border: 0px solid #000;
}
#title2 {
  width:95%;
  margin: 0 auto;
  border-bottom: 3px solid #aaa;
}
.top_photo {
  width: 85%;
  margin: 0 auto 20px;
}
.top-img {
  width: 100%;
}
.text1 {
  width: calc(100% - 40px);
  margin: 20px 20px 30px 20px;
  line-height: 22px;
  text-indent: 17px;
}
.text2 {
  width: calc(100% - 40px);
  margin: 0 10px 0 30px;
  line-height: 22px;
  text-indent: 18px;
}
#end_img {
  width: 137px;
  margin: 20px auto 20px;
}
.photo {
  width: 90%;
  margin: 20px auto 0px;
}
.cmt {
  color:blue;
  font-size:14px;
  text-align:center;
  margin-top: 5px;
}
footer {
  height: 34px;
  padding-top: 20px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  background-color: #444;
}

}










/*　スマホ用のCSS　*/
@media screen and (max-width:480px) {

body {
 font-size:14px;
 color:#152197;
 font-family :Helvetica,'Meiryo','メイリオ',sans-serif;
 background-color: #eee;
}
#container {
  margin: 4px auto 5px;
  width: 100%;
  max-width: 480px;
  background-color: #fff;
  border-left: 1px solid #777;
  border-right:1px solid #777;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
header {
  width: 100%;
  height: 120px;
  background-image: url("../header-img/tt-common_768_120.png");
}
h1 {
  width: calc(100% - 10px);
  font-size: 28px;
  font-weight: bold;
  color: deeppink;
  text-align: right;
  padding: 75px 10px 0 0;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  letter-spacing: 5px;
}
h2 {
  width: calc(100% - 10px);
  font-size: 18px;
  font-weight: bold;
  color: #284b15;
  margin: 20px 0px 10px 10px;
}
nav {
  width: 100%;
  height: 40px;
  border-top: 3px solid blue;
  border-bottom: 1px solid black;
}
.menu1 {
  width: 80px;
  color: blue;
  margin: 10px 0 0 30px;
  border: 0px solid #000;
}
main {
  width: calc(100% - 10px);
  margin: 25px 5px 30px 5px;
  border: 0px solid #000;
}
#title2 {
  width:90%;
  margin: 0 auto;
  border-bottom: 3px solid #aaa;
}
.top_photo {
  width: 100%;
  margin: 0 auto 30px;
}
.top-img {
  width: 100%;
}
.text1 {
  width: calc(100% - 40px);
  margin: 20px 20px 30px 20px;
  line-height: 22px;
  text-indent: 17px;
}
.text2 {
  width: calc(100% - 30px);
  margin: 0 10px 0 20px;
  line-height: 22px;
  text-indent: 18px;
}
#end_img {
  width: 137px;
  margin: 10px auto 10px;
}
.photo {
  width: 90%;
  margin: 0 auto;
}
.cmt {
  color:blue;
  font-size:14px;
  text-align:center;
  margin-top: 5px;
}
footer {
  height: 34px;
  padding-top: 20px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  background-color: #444;
}

}
