@charset "UTF-8";
html {
  font-family: "Noto Sans JP", sans-serif;
  color: #082b48;
}

.container {
  width: 90%;
  max-width: 1200px; /* 画面表示の最大幅 */
  margin: 0 auto;
  position: relative; /* 全てのcontainerクラスの absolute と set */
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

/* スマホのみ適用 */
@media screen and (min-width: 768px) {
  /*横幅が761px以上になったら適用*/
  .sp {
    display: none;
  }
}
/* PCのみ適用 */
@media screen and (max-width: 768px) {
  /*横幅が76px以下になったら適用*/
  .pc {
    display: none;
  }
}
header {
  padding: 12px 100px 0;
  height: 90px;
}
header .container {
  padding: 0 50px;
}
header img {
  width: 80px;
  padding: 5px 0;
}

.header_menu li {
  margin-left: 40px;
}
.header_menu li a {
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 14px;
  color: #082b48;
  display: block;
  position: relative;
}
.header_menu li a::before {
  content: "";
  width: 0;
  left: 40%;
  bottom: 0;
  transition: all 0.2s ease;
  border-bottom: 3px solid #e81919;
  position: absolute;
  display: block;
}
.header_menu li a:hover:before {
  width: 40%;
  border-bottom: 3px solid #e81919;
}
.header_menu li a::after {
  content: "";
  width: 0;
  right: 40%;
  bottom: 0;
  transition: all 0.2s ease;
  border-bottom: 3px solid #e81919;
  position: absolute;
  display: block;
}
.header_menu li a:hover:after {
  width: 40%;
  border-bottom: 3px solid #e81919;
}

/* レスポンシブ */
@media only screen and (max-width: 768px) {
  .drawer-icon {
    display: block;
    position: fixed;
    top: 20px;
    right: 16px;
    z-index: 300;
    transition: transform 0.5s ease 0s;
    padding: 7px 7px 16px 7px;
  }
  .drawer-icon.is-active {
    transform: translateX(-216px);
    background: transparent;
  }
  .drawer-icon.is-active .drawer-icon_bar1 {
    transform: rotate(-45deg);
    top: 8px;
    background: #fff;
  }
  .drawer-icon.is-active .drawer-icon_bar2 {
    display: none;
  }
  .drawer-icon.is-active .drawer-icon_bar3 {
    transform: rotate(45deg);
    top: 8px;
    background: #fff;
  }
  .drawer-icon.is-active .drawer-icon_bar4 {
    display: none;
  }
  .drawer-icon_bars {
    width: 22px;
    height: 20px;
    display: block;
    position: relative;
  }
  .drawer-icon_bar1,
  .drawer-icon_bar2,
  .drawer-icon_bar3 {
    position: absolute;
    width: 22px;
    height: 3px;
    background: #082b48;
    top: 0;
    left: 0;
  }
  .drawer-icon_bar1 {
    top: 0;
  }
  .drawer-icon_bar2 {
    top: 8px;
  }
  .drawer-icon_bar3 {
    top: 16px;
  }
  .drawer-icon_bar4 {
    position: absolute;
    top: 22px;
    left: -3px;
    font-size: 10px;
  }
  .drawer-content {
    width: 220px;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
    z-index: 299;
    transform: translateX(105%);
  }
  .drawer-content.is-active {
    transform: translateX(0);
    transition: transform 0.5s ease 0s;
  }
  .drawer-content_item {
    border-bottom: 1px dotted #707070;
    margin: 10px 0;
  }
  .drawer-content_item a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 16px 0 16px 22px;
    font-size: 15px;
  }
  .drawer-backgraund {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 298;
    display: none;
  }
  .drawer-backgraund.is-active {
    display: block;
  }
}
#main_v {
  background-image: url(../img/intern1.jpg);
  background-color: rgba(255, 255, 255, 0.3);
  background-blend-mode: lighten;
  background-position: center;
  background-size: cover;
  height: 680px;
  display: flex;
  align-items: center;
}

.main_v_inner h1 {
  width: 650px;
  color: #0071bc;
  font-size: 66px;
  font-weight: 700;
  background-color: rgb(255, 255, 255);
  padding: 10px 0 10px 70px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  transform-origin: left bottom;
  transform: rotateZ(-5deg);
  letter-spacing: 0.3em;
}
.main_v_inner h2 {
  width: 500px;
  color: #fff;
  font-size: 46px;
  font-weight: 500;
  background-color: rgba(0, 113, 188, 0.7);
  padding: 10px 0 10px 50px;
  letter-spacing: 0.05em;
  border-radius: 3px;
  margin-bottom: 130px;
  transform-origin: left bottom;
  transform: rotateZ(-5deg);
}
.main_v_inner h3 {
  width: 540px;
  font-size: 36px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px 0 10px 50px;
  letter-spacing: 0.05em;
  border-radius: 3px;
  margin-bottom: 50px;
  transform-origin: left bottom;
  transform: rotateZ(-5deg);
}

/* レスポンシブ */
@media only screen and (max-width: 768px) {
  #main_v {
    display: block;
    height: 350px;
  }
  .main_v_inner {
    padding-top: 70px;
  }
  .main_v_inner h2 {
    width: 220px;
    font-size: 20px;
    margin-bottom: 50px;
    padding: 10px 0 10px 20px;
  }
  .main_v_inner h3 {
    width: 260px;
    font-size: 18px;
    margin-top: 70px;
    margin-bottom: 30px;
    padding: 10px 0 10px 20px;
  }
  .main_v_inner h1 {
    width: 250px;
    font-size: 26px;
    font-weight: 700;
    background-color: rgb(255, 255, 255);
    padding: 10px 0 10px 30px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    transform-origin: left bottom;
    transform: rotateZ(-5deg);
    letter-spacing: 0.25em;
  }
}
#contents {
  margin-bottom: 70px;
}
#contents h2 {
  position: relative;
  margin: 100px 0;
  font-size: 46px;
  text-align: center;
}
#contents h2:before {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  content: "";
  border-radius: 2px;
  background: #e81919;
}

.contents_wrap {
  margin-top: 90px;
  font-size: 18px;
  line-height: 1.6em;
  align-items: start;
}
.contents_wrap span {
  color: #0071bc;
  font-weight: 700;
}

.lead {
  width: 48%;
  padding: 0 20px;
}

.lead_title {
  font-size: 20px;
  margin: 18px 0 36px;
  letter-spacing: 0.05em;
  text-align: center;
}

.lead_item {
  padding: 0 50px;
  text-align: justify;
  font-size: 16px;
}
.lead_item li {
  list-style-type: square;
  padding: 16px 0;
}

.about {
  width: 48%;
  padding: 12px 0;
}
.about img {
  display: block;
  width: 92%;
  margin: 12px auto;
}

.about_heading {
  position: relative;
  padding: 0 65px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.about_heading:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: #082b48;
}

.about_heading span {
  position: relative;
  padding: 0 2em;
  background: #fff;
}

.about_lead {
  margin: 20px;
  text-align: justify;
}

.about_lead_sub {
  margin-top: 10px;
  text-align: center;
}

.message {
  text-align: center;
  letter-spacing: 0.05em;
}
.message h3 {
  margin: 0 0 30px;
  font-weight: 500;
  font-size: 20px;
}
.message h3 img {
  width: 80px;
  padding-right: 10px;
  vertical-align: bottom;
}
.message h4 {
  margin: 30px;
  display: inline-block;
  position: relative;
  padding: 1rem 2rem calc(1rem + 10px);
  background: #fff100;
  font-weight: 500;
  font-size: 20px;
}
.message h4:before {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  content: "";
  border: 3px solid #082b48;
}

.heading {
  color: #e81919;
  font-size: 28px;
  letter-spacing: 0.35em;
}

.heading::before {
  content: "＼";
}

.heading::after {
  content: "／";
  color: #e81919;
}

/* レスポンシブ */
@media only screen and (max-width: 768px) {
  #contents h2 {
    margin: 50px 0;
    font-size: 28px;
  }
  #contents h2:before {
    bottom: -20px;
    width: 60px;
    height: 5px;
  }
  .contents_wrap {
    display: block;
  }
  .lead {
    width: 100%;
    margin-left: 5px;
  }
  .lead_title {
    font-size: 20px;
    margin: 18px 0;
  }
  .lead_item {
    padding: 0;
    text-align: justify;
  }
  .lead_item li {
    list-style-type: square;
    padding: 16px 0;
  }
  .about {
    width: 100%;
    margin-top: 50px;
    padding: 0;
  }
  .about img {
    display: block;
    margin: 10px auto;
  }
  .message {
    margin: 50px 10px 0;
  }
  .message h4 {
    margin: 0 16px;
    font-size: 16px;
  }
  .message_item {
    position: relative;
    margin: 70px 0 50px;
  }
  .mi_img {
    width: 10%;
    position: absolute;
    top: -47px;
    left: -10px;
    z-index: 1;
  }
  .mi_img img {
    width: 40px;
    transform: rotateZ(12deg);
  }
  .mi_text {
    position: relative; /* imgの下にテキストがくるようにするための記述 */
    width: 90%;
    margin: 20px auto 36px;
    font-size: 16px;
    font-weight: 500;
    text-align: justify;
    z-index: 2;
  }
}
#info {
  background-color: #0071bc;
}

.info_wrap {
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info_l {
  color: #fff;
  letter-spacing: 0.2em;
  margin-right: 80px;
}

.info_name {
  font-weight: 500;
  font-size: 20px;
  margin: 10px 0 20px 0;
}

.info_add {
  font-size: 18px;
  margin-bottom: 8px;
}

.info_url {
  font-size: 18px;
}
.info_url a:hover {
  opacity: 0.5;
  transition: all 0.3s ease;
}

.info_r {
  text-align: center;
  padding-left: 80px;
}
.info_r img {
  width: 350px;
  margin: 18px 0;
}
.info_r img:hover {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.button {
  display: inline-block;
  padding: 18px 30px;
  color: #fff;
  background-color: #082b48;
  color: #fff;
  border-radius: 12px;
}
.button a:hover {
  opacity: 0.5;
  transition: all 0.3s ease;
}

/* レスポンシブ */
@media only screen and (max-width: 768px) {
  .info_wrap {
    display: block;
  }
  .info_l {
    margin: 0 0 0 30px;
  }
  .info_name {
    font-size: 18px;
  }
  .info_add,
  .info_url {
    font-size: 16px;
  }
  .info_r {
    margin-top: 30px;
    padding: 0;
  }
  .info_r img {
    width: 280px;
  }
  .button {
    display: inline-block;
    font-size: 14px;
    padding: 14px 20px;
  }
}
#footer {
  background-color: #082b48;
}
#footer p {
  padding: 18px 30px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-align: right;
}

/* レスポンシブ */
@media only screen and (max-width: 768px) {
  #footer p {
    padding: 12px 0;
    text-align: center;
    font-size: 11px;
  }
}