@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);


body{
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2em;
  color: #333;
}


header{
	text-align: center;
	margin: 20px 0;
  padding: auto;
}

header img{
  width: 500px;
}

img{
  width: 350px;
  border-radius: 20px;
  margin: 20px 30px;
}

img.icon{
  width: 30px;
  border-radius: 0;
  margin: 0;
}

table th{
  font-weight: bold;
  padding: 0px 30px;
  text-align-last: justify;
}

table td{
  padding: 0px 30px;
  text-align: left;
}

iframe{
  margin: 20px 30px;
  /*width: 350px;
  height: 250px;*/
}

footer{
  background-color: #f7f7f7;
  text-align: center;
  padding: 20px 0;
}

footer a:hover{
  text-decoration: underline;
}

.page_link::before {
  display: inline-block;
  content: url(../image/arrow.png);
  background-size: contain;
  vertical-align: middle;
  transform: scale(0.7);
}

.top-news_list{
    padding: 20px 10px 20px 10px;
    margin-bottom: 20px;
    background-color: #f3f3f3;
}

.top-news_list li{
    padding-bottom: 10px;
}

.top-news_list li p{
    font-size: 1.5em;
}

.date {
  width: 140px;
  margin: 0;
  padding: 6px;
  font-size: 1.5em;
}

.category {
  width: 140px;
  margin: 0;
  padding: 6px 4px;
  font-size: 1.5em;
  color:#fff;
  text-align: center;
  background: #ff0000;
}

.title_box{
  padding: 20px 10px 20px 10px;
  background-color: #000080;
  text-align: center;
  margin-bottom: 30px;
}
.title_text{
 
 color: #fff;
 font-size: 2em;
 line-height: 3em;
}
.title_image img{
  width: 450px;
  border-radius: unset;
}

.subtitle_box{
  padding: 0 auto;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.5em;
}

.odd_box{
  padding:1em 2em 2em 2em;
  background-color:#0a3291;
  border: solid 2px white;
  margin-bottom: 30px;
}

.even_box{
  padding:1em 2em 2em 2em;
  background-color:#8c91c8;
  border: solid 2px white;
  margin-bottom: 30px;
}

.caption_box{
  text-align: center;
  position: relative;
  margin-top: 1em;
  padding: 1em 2em;
  border: 3px solid white;
  background-color: rgba(255,255,255,0.7);
}

.odd_box .caption_box .caption{
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.3em;
  padding: 5px 10px;
  margin: 0;
  background-color: #fff;
  transform: translateY(-50%) translateX(1em);
}

.even_box .caption_box .caption{
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.3em;
  padding: 5px 10px;
  margin: 0;
  background-color: #fff;
  transform: translateY(-50%) translateX(-1em);
}

.caption_box p{
    padding: 0px 10px;
}

.privacy_box h1 {
  position: relative;
  margin: 0 5em;
  padding: 1em 2em;
  text-align: center;
  display: block;
  font-size:1.56em;
  color: #fff;
}

.privacy_box h1:before,
.privacy_box h1:after {
  position: absolute;
  content: '';
}

.privacy_box h1:after {
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.privacy_box h1:before {
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.odd_box h1:first-letter,
.even_box h1:first-letter{
  font-size:120%;
}

.privacy_box{
  padding:1em 2em 2em 2em;
  background-color:#000080;
  border: solid 2px white;
  margin-bottom: 30px;
}

.privacy_box .caption_box{
  text-align: left;
  position: relative;
  margin-top: 1em;
  padding: 1em 2em;
  border: 3px solid #000080;
  background-color: #fff;
}

.privacy_box .caption_box .caption{
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.3em;
  padding: 5px 10px;
  margin: 0;
  border: 2px solid #000080;
  background-color: #fff;
  transform: translateY(-50%) translateX(1em);
}

.privacy_box{
  margin: 20px auto
}

.image_area{
  margin:0 auto;
}
.text_area{
 margin:30px auto;
 text-align: center;
}

#access{
  width: max-content;
  text-align: left;
}

.text_area table{
  margin: 0 auto;
}

.text_area ul{
    margin: 30px auto;
}

.text_area li.indent{
    padding-left: 4.5em;
    text-indent: -4.5em;
    list-style: none;
    text-align: left;
}

.inquiry_box {
    padding:  10px;             /* 余白指定 */
    display: block;              /* フレックスボックスにする */
    justify-content:space-around;
    margin: 30px auto;
    flex-wrap: wrap; 
}
 
.inquiry_item {
    padding: 20px;
    color:  #000;               /* 文字色 */
    margin:  10px;              /* 外側の余白 */
    border: solid;
    border-color: #000080;
    background-color: #fff;
}

.inquiry_title {
  border-bottom: solid 3px #000080;
  padding-bottom: 5px;
}

.inquiry_text{
    padding-top: 5px;
}


@media screen and (min-width:1024px) {
  /*PCcss*/

body .main-contents{
  padding:0% 10%;
}

  iframe{
    margin: 20px 30px;
  }

  .title_box{
    display: flex;
    flex-flow: row-reverse nowrap;
  }
  .title_text{
    width: 60%;
    margin: auto 30px;
  }

  .caption_box{
    display: flex;
  }
  .reverse{
    flex-flow: row-reverse nowrap;
  }
  .caption_box p{
    padding: 0px 10px;
  }
  
  .privacy_box .caption_box{
    display: block;
  }

  .image_area{
    margin: auto;
  }

  .text_area{
    width: 70%;
    margin: auto 30px;
    text-align: left;
  }

  .text_area table{
    margin: auto 0;
  }

  /*#access{
    margin-left: 0;
  }*/

  .inquiry_box {
    display: flex;
  }

  .inquiry_item {             
    width: 30%;
  }


}

@media print {
    body {
        width: 1024px;
    }
}