@charset "UTF-8";
@font-face {
  font-family: "Yu Gothic M";
  src: local("Yu Gothic Medium");
  font-display: swap;
}
@font-face {
  font-family: "Yu Gothic M";
  src: local("Yu Gothic Bold");
  font-weight: bold;
  font-display: swap;
}

/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Base 
- Typography
- Links
- Buttons
- Lists
- Code
- Tables
- Spacing
- Utilities
- sp-menu
*/
*{ box-sizing: border-box;}
img { display:block; width: 100%; }
figure { margin: 0;}
picture{ display: block;}
/* fade efect
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.fade {
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: transform 3s, opacity 3s, visibility 3s;
}
.is-fade {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Base
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --sans_serif: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  --primary-color:#034072;
  --secondary-color:#0962CB;
  --border-color :#BEDDDB;
  --bg-color :#E0F1F4;
  --bg-gradation: linear-gradient(45deg, #89CEE9, #0962CB 60%);
}
html {
  font-size: 62.5%;/*16px*/
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
} 
body {
  font-size: 1.5em;
  font-family: var(--sans_serif);
  font-weight:normal;
  line-height: 1.75;
  color: #333;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;/*Chrome,Safari*/
　-ms-text-size-adjust : 100%;/*EgdeMobile*/
　-moz-text-size-adjust: 100%;/*firefox*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

[class$=inner] {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) { [class$=inner] {padding: 0 30px;}}
@media (max-width: 480px) { [class$=inner] {padding: 0 20px;}}

.header{
  position: fixed;
  z-index: 2000;
  color: #FFF;
  width: 100%;
  font-family: 'Zen Old Mincho', serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
.header__inner {
  max-width: 1140px;
  margin:0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
  text-shadow: 1px 1px 2px var(--primary-color);
  box-sizing: border-box;
}  
.header__name {
  font-size: 2.2rem;
  line-height: 1.3;
}
  .change-color {
    background-color: rgba(255,255,255,0.5);
    color:var(--primary-color);
    transition: .3s;
  }
  .change-color .header__inner { color:var(--primary-color); text-shadow: none;}
  .change-color .header__inner a{ color:var(--primary-color);}
@media　print and (max-width: 1050px) {.header__name { font-size: 1.6rem;}}
.header__name .small {
  display: block;
  font-size: 1.4rem;
}
nav { margin-left: auto;}
.header__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.header__item { margin-left:1.5em; margin-bottom: 0; }
.header__item:last-of-type { width: 3em;}

/* News */
.news { margin: 120px auto;}
.news__inner { margin-bottom: 6em;}
.news__ttl { margin-bottom: 50px;}
.news__item {
  display: flex;
  max-width: 912px;
  width: 82.91%;
  line-height: 1.3;
  border-top: solid 1px #ccc;
  padding: 1em 0;
  margin: auto;
}
.news__item:last-of-type{ border-bottom: solid 1px #ccc;}
.news__item dt { width: 17em;}
.news__item dd { margin-left: 0;}
.news__item dd a { color: #333;}
.news .btn { margin-top: 50px;}
@media (max-width: 980px){
.news__item { flex-direction: column;}
.news__item dt {margin-bottom: .5em;}
}
@media (max-width: 786px) {.news__item { width: 100%;}}

footer {
  background:linear-gradient(45deg,#89cee9,#0962cb 25%);
  color: #FFF;
  text-shadow: 1px 1px 2px var(--primary-color);
  padding: 80px 0;
  font-weight: 500;
}
.footer__inner {
  max-width: 1140px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-shadow: 1px 1px 2px var(--primary-color);
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.footer__info { margin-right: auto;}
.footer__info p { margin-bottom: 0;}
.footer__nav { width: 20%;}
.footer__nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer__nav li { line-height: 1.2; margin-bottom: 1em;}
.footer__nav li:last-child { margin-bottom: 0;}
.footer__mail { width: 80px; margin-left: 2em;}
@media (max-width: 786px) {
.footer__inner {
  flex-direction: column;
  padding: 0 25px;
  }
.footer__info{ order: 3; margin: 30px auto 0;}
.footer__nav { order: 1; width: 8em; margin: auto;}
.footer__nav ul { text-align: center; flex-direction: column;}
.footer__mail{ order: 2; margin: 0 auto;}
}
.copy-right {
  color: #666;
  font-size: 1rem;
  text-align: center;
  line-height: 3;
  margin: 0 auto;
}
@media (max-width: 480px) {.header__inner { padding: 20px;}}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
p { margin-bottom: 0;}

h1, h2, h3, h4, h5 {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 1em;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

h1 {font-size: 3.6rem; margin-top: 0;}
h2 {font-size: 3.6rem;}
h3 {font-size: 2.8rem;}
h4 {font-size: 2.2rem;}
small, .txt_small {font-size: .875em;}
@media print and (max-width: 1050px) {
h1 {font-size: 3rem; margin-top: 0;}
h2 {font-size: 3rem;}
h3 {font-size: 2.4rem;}
h4 {font-size: 2rem;}
}
@media (max-width: 768px) {
body { font-size: 1.5rem;}
h1 {font-size: 2.8rem; margin-top: 0;}
h2 {font-size: 2.8rem;}
h3 {font-size: 2.2rem;}
h4 {font-size: 1.8rem;}
}
@media (max-width: 480px) {
body { font-size: 1.4rem;}
h1 {font-size: 2.6rem; margin-top: 0;}
h2 { font-size: 2.4rem;}
h3 { font-size: 2rem;}
h4 { font-size: 1.8rem;}
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a { color: #0FA0CE; text-decoration: none; transition: .5s;}
a:hover { opacity: .7; }
.footer__nav a,
.btn--primary a,
.btn--primary a:hover { color: #FFF;}
#page_top a{
 position: fixed;
 right: 0;
 bottom: 10px;
 color: var(--primary-color);
 font-family: 'Lato', sans-serif;
 font-size: .9em;
 -ms-writing-mode: tb-rl;
 writing-mode: vertical-rl;
 padding: 10px;
 z-index: 2;
}
#page_top a:before {
 content:'<--';
 display: inline;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.btn {
  display: inline-block;
  width: 253px;
  height: 45px;
  text-align: center;
  font-size: 1.5rem;/*15*/
  line-height: 45px;
  letter-spacing: .1rem;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 45px;
  cursor: pointer;
  box-sizing: border-box;
  background: var(--bg-gradation);
}
.btn.btn--primary {
  color: #FFF;
  border: 0;
  text-shadow: 1px 1px 2px var(--primary-color);
  padding: 0 30px;
}
.btn--secondry{
  background-color: #fff;
  border-radius: 45px;
  height: 39px;
  line-height: 39px;
  margin: 3px;
}
.btn.u-center {
  display: block;
  margin-left : auto;
  margin-right: auto;
}
.btn:hover { opacity: .7; transition: .3s; }
@media (max-width: 768px) {
  .btn { height: 40px; line-height: 40px;}
  .btn--secondry { height: 36px; line-height: 36px; margin: 2px;}
}
/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul { list-style:  none; padding-left: 0; margin-top: 0;}
li { margin-bottom: 1rem; }

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
  border-collapse: collapse;
  border-spacing: 0;
  border : 1px solid var(--border-color);
}
tr { padding: 0 12px;}
th,td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
table [class$="__head"] {
  background: var(--bg-color);
  font-weight: normal;
}
@media (max-width: 480px) {
table,tr { width: 100%;}
th,td { width: 100%;display: block; padding:10px 12px ;}
tr:last-child td:last-child { border-bottom:none;}
}
/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
blockquote,
dl,
figure,
table,
ul,
ol,
form { margin-bottom: 3rem; }

/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-l-blue { color: var(--secondary-color);}
.u-blue { color: var(--primary-color);}
.u-center { text-align: center;}
.u-mb { margin-bottom: 1em;}

/* sp-menu
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sp-open { display: none; }
.menu { margin-left: auto;}

@media (max-width: 1050px) {
 .sp-open {
  position: fixed;
  top: 20px;
  right : 20px;
  width : 42px;
  height: 42px;
  display: block;
  cursor : pointer;
  text-align: center;
  z-index: 3;
 }
 .sp-open span {
  position: absolute;
  left: 6px;
  width: 30px;
  height: 2px;
  display: block;
  background: var(--primary-color);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
 }
 .sp-open span:nth-child(1) { top: 10px;}
 .sp-open span:nth-child(2) { top: 20px;}
 .sp-open span:nth-child(3) { top: 30px;}
 /* スマホメニューを開いてる時のボタン */
 .sp-open.active span:nth-child(1) {
  top : 20px;
  left: 6px;
  background: var (--primary-color);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
 }
 .sp-open.active span:nth-child(2), .sp-open.active span:nth-child(3) {
  top : 20px;
  background: var(--primary-color);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
 }
 /* メニュー背景　*/
 nav.menu {
  position: fixed;
  top : 0;
  left: 0;
  width : 100%;
  height: 100%;
  display: none;
  background:rgba(9,98,203,0.9);
  text-align: center;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
  z-index: 2;
 }
 nav.menu ul {
  width: 100%;
  flex-direction: column;
  padding: 0;
  margin : auto;
 }
 nav.menu .header__item {
  width: 100%;
  color: #FFF;
  list-style-type: none;
  transition: .4s all;
  padding: 10px 0;
  margin : 0 auto;
 }
  
 nav.menu .header__item:last-child img {
  width : 60px;
  padding-bottom: 0;
  margin: auto;
 }
 nav.menu .header__item:hover {
  display: block;
  background: #FFF;
  color : var(--primary-color);
  cursor: pointer;
 }
   nav.menu .header__item:last-child:hover { background:none; }
 nav.menu .header__item a {
  display: block;
  padding: 1em 0;
 }
 /* クリックでjQueryで追加・削除 */
 nav.menu.active {
  display: flex;
  opacity: 1;
  animation: fadeInAnime .5s ease 0s,1 normal;
}
  @keyframes fadeInAnime {
    0% { opacity: 0; }
    100% { opacity: 1;}
  }
nav.menu.active .header__item a { color: #FFF; padding: 0;}
nav.menu.active .header__item a:hover { color: var(--primary-color);}
}

/* print
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@page {
  margin: 8mm;
  size: 210mm 297mm; /* A4縦サイズの場合 */
}
@media print {
  /* 全体設定 */
  body {
    -webkit-print-color-adjust: exact; /* 印刷時でも背景色や背景画像を表示 */
    width: 1100px!important; /* 印刷時の全ページ幅を統一 */
    zoom: 0.8; /* なるべく多くのブラウザで切れないようにするため */
  }
  .header, .header.change-color { position:absolute;}
  .main {
   margin-top: 0;
   margin-bottom: 70px;
  }
  #menu,
  #page_top a{ display: none;}
  .fade {
   transform: none;
   opacity: 1;
   visibility: inherit;
   transition: unset;
  }
  .fade.is-fadein {
   transform: none;
   opacity: 1;
   visibility:inherit;
  }  
  [class$=inner],.footer__inner {
    width: 1100px!important;
   }
 
}
