@charset "utf-8";
.clearfix::after {
  display: block;
  content: "";
  clear: both;
}

/*　パソコン用のCSS　*/
@media print, screen and (min-width:768px) {
body {
  margin: 0px;
  background-color: #eee;
  font-family :Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size:16px;
  color:#152197;
}
#container {
  max-width: 850px;
  margin: 5px auto 5px;
  background-color: #fff;
  border: 1px solid #777;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
header {
  height: 120px;
  background-image: url("../../header-img/tt-common.png");
}
header h1 {
  font-size: 42px;
  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: 8px;
}
nav {
  color: blue;
  margin: 0px 0px 0px 0px;
  padding: 10px 0px 7px 30px;
  border-top: 3px solid blue;
  border-bottom: 1px solid black;
  font-size: 17px;
}
main {
  width: calc(100% - 40px);
  padding: 25px 10px 30px 30px;
}
h2 {
  font-size: 20px;
  font-weight: bold;
  color: #284b15;
  margin: 0px 0px 16px 20px;
  border: 0px solid #a88531;
  padding: 5px 0 2px 4px;
}
#box1 {
  width: 80%;
  margin: 10px auto 40px;
  font-size: 17px;
  line-height: 24px;
  padding: 20px 20px 20px 20px;
  border: 1px solid #0084ea;
  border-radius: 10px;
}
.subtitle {
  margin: 0;
  font-size: 18px;
  color: #152197;
  line-height: 24px;
  vertical-align: middle;
}
.subtitle::before {
  content: "●";
  font-size: 20px;
  font-family: MSゴシック;
  color: blue;
  font-weight: bold;
  vertical-align: middle;
}
.text1 {
  margin: 0;
  font-size: 18px;
  color: #152197;
  text-indent: 17px;
  line-height: 24px;
}
.text2 {
  width: calc(100% - 74px);
  margin: 10px 20px 0 44px;
  font-size: 18px;
  color: #152197;
  text-indent: -34px;
  line-height: 24px;
}
#box-img {
  width: 100%;
  max-width: 728px;
  margin: 20px auto 0;
  font-size: 15px;
  display: grid;
  grid-auto-rows: minmax(150px,auto);
  grid-template-columns: 236px 236px 236px;
  grid-column-gap: 10px;
  grid-row-gap: 20px;
  border: 0px solid #000;
}
#box-photo1 {
  text-align: center;
}
#box-photo2 {
  text-align: center;
}
#box-photo3 {
  text-align: center;
}
.photo_com {
  margin-top: 3px;
}
footer {
  width: 100%;
  height: 34px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.3em;
  text-align: center;
  padding-top: 20px;
  background-color: #444;
}

}











/*　タブレット用 481px以上768pxまでのCSS　*/

@media screen and (min-width:481px) and (max-width:768px) {

body {
  margin: 0px;
  background-color: #eee;
  font-family :Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size:16px;
  color:#152197;
}
#container {
  margin: 5px auto 5px;
  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 {
  height: 120px;
  background-image: url("../../header-img/tt-common_768_120.png");
}
header h1 {
  font-size: 38px;
  font-weight: bold;
  color: deeppink;
  text-align: right;
  padding: 70px 30px 0 0;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  letter-spacing: 7px;
}
nav {
  color: blue;
  margin: 0px 0px 0px 0px;
  padding: 10px 0px 7px 30px;
  border-top: 3px solid blue;
  border-bottom: 1px solid black;
  font-size: 17px;
}
main {
  width: 100%;
  padding: 25px 0px 30px 0px;
}
h2 {
  font-size: 20px;
  font-weight: bold;
  color: #284b15;
  margin: 0px 0px 16px 20px;
  border: 0px solid #a88531;
  padding: 5px 0 2px 4px;
}
#box1 {
  width: 80%;
  margin: 10px auto 40px;
  font-size: 17px;
  line-height: 24px;
  padding: 20px 20px 20px 20px;
  border: 1px solid #0084ea;
  border-radius: 10px;
}
.subtitle {
  margin: 0 20px 0 20px;
  font-size: 18px;
  color: #152197;
  line-height: 24px;
  vertical-align: middle;
}
.subtitle::before {
  content: "●";
  font-size: 20px;
  font-family: MSゴシック;
  color: blue;
  font-weight: bold;
  vertical-align: middle;
}
.text1 {
  margin: 0;
  font-size: 18px;
  color: #152197;
  text-indent: 17px;
  line-height: 24px;
}
.text2 {
  width: calc(100% - 84px);
  margin: 10px 20px 0 64px;
  font-size: 18px;
  color: #152197;
  text-indent: -34px;
  line-height: 24px;
}
#box-img {
  width: 100%;
  margin: 20px auto 0;
  font-size: 15px;
  display: grid;
  grid-auto-rows: 170px;
  grid-template-columns: repeat(auto-fit, 236px);
  justify-content: center;
  grid-column-gap: 1%;
  grid-row-gap: 20px;
}
#box-photo1 {
  text-align: center;
}
#box-photo2 {
  text-align: center;
}
#box-photo3 {
  text-align: center;
}
.photo_com {
  margin-top: 3px;
}
footer {
  width: 100%;
  height: 34px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.3em;
  text-align: center;
  padding-top: 20px;
  background-color: #444;
}
}









/*　スマホ用のCSS　*/
@media screen and (max-width:480px) {
body {
  margin: 0px;
  background-color: #f7f5e5;
  font-family :Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size:16px;
  color:#152197;
}
#container {
  max-width: 480px;
  margin: 5px auto 5px;
  background-color: #fff;
  border: 1px solid #777;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
header {
  height: 120px;
  background-image: url("../../header-img/tt-common_768_120.png");
}
header h1 {
  font-size: 32px;
  font-weight: bold;
  color: deeppink;
  text-align: right;
  padding: 70px 10px 0 0;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  letter-spacing: 5px;
}
nav {
  color: blue;
  margin: 0px 0px 0px 0px;
  padding: 10px 0px 7px 30px;
  border-top: 3px solid blue;
  border-bottom: 1px solid black;
  font-size: 17px;
}
main {
  width: calc (100% - 30px);
  padding: 25px 10px 30px 20px;
}
h2 {
  font-size: 20px;
  font-weight: bold;
  color: #284b15;
  margin: 0px 0px 16px 10px;
  border: 0px solid #a88531;
  padding: 5px 0 2px 4px;
}
#box1 {
  width: 90%;
  margin: 10px auto 30px;
  font-size: 17px;
  line-height: 24px;
  padding: 10px 10px 10px 10px;
  border: 1px solid #0084ea;
  border-radius: 10px;
}
h3 {
  font-size: 18px;
  font-weight: bold;
  color: #284b15;
  width: 100%;
  margin: 0px 0px 16px 0px;
  border: 0px solid #a88531;
  padding: 5px 0 2px 4px;
}
.subtitle {
  margin: 0 0 0 0px;
  font-size: 18px;
  color: #152197;
  line-height: 24px;
  vertical-align: middle;
}
.subtitle::before {
  content: "●";
  font-size: 20px;
  font-family: MSゴシック;
  color: blue;
  font-weight: bold;
  vertical-align: middle;
}
.text1 {
  margin: 0;
  font-size: 17px;
  color: #152197;
  text-indent: 17px;
  line-height: 24px;
}
.text2 {
  width: calc(100% - 64px);
  margin: 8px 20px 0 44px;
  font-size: 17px;
  color: #152197;
  text-indent: -34px;
  line-height: 24px;
}
#box-img {
  width: 100%;
  margin: 20px auto 0;
  font-size: 15px;
  display: grid;
  grid-auto-rows: 180px;
  grid-template-columns: 236px;
  justify-content: center;
  grid-row-gap: 20px;
}
#box-photo1 {
  text-align: center;
}
#box-photo2 {
  text-align: center;
}
#box-photo3 {
  text-align: center;
}
.photo_com {
  margin-top: 2px;
}
footer {
  width: 100%;
  height: 34px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  padding-top: 20px;
  background-color: #444;
}
}
