@charset "UTF-8";
/* CSS Document */

body{
  font-family: arial, helvetica, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color:#040000;
  margin: 0;
  padding: 0;
  -webkit-print-color-adjust: exact;
}

@media screen and (max-width: 920px) {
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 414px) {
}
@media screen and (max-width: 365px) {
}


/* アンカー ------------------------------------*/
a {
  text-decoration: none;
}
a:link,
a:visited {
  color: #000;
}
a:hover {
  transition: .2s;
  opacity: 0.8;
}
a:focus {
  color: inherit;
}


/* wrapper ------------------------------------------------------*/
.wrapper {
  width: 100%;
  
  margin: 0 auto;
  padding: 0;
  position: relative;
  background-color: #f9de93;
}

@media screen and (max-width: 414px) {
  .wrapper {
    width: 414px;
    max-width: 100%;
    min-width: 366px;
  }
}

@media screen and (max-width: 365px) {
  .wrapper {
    width: 365px;
    max-width: 100%;
    min-width: 300px;
    padding: 0;
  }
}

/* ---------------------------

header

---------------------------- */
header {
  display: flex;
  width: 100%;
  height: 110px;
  background: url("../images/bg_scale.png") repeat-x center bottom;
  background-size: 80px 32px;
  background-color: #fff;

  justify-content: space-between;
}

header .logo {
  margin: 0 0 0 1em;
}

header .logo a img {
  width: 100%;
  height: auto;
  max-width: 130px;
}

@media screen and (max-width: 768px) {
}

header nav {
  display: flex;
  place-items: center;
  height: 90px;
}

header nav a {
  padding: 0 1em;
  border-right: 1px solid #040000;
}

header nav a:hover {
  background-color: #faf652;
  opacity: 0.6;
}

header nav a:last-child {
  border-right: none;
}

header nav a br.ss {
  display: none;
}

@media screen and (max-width: 820px) {
  header {
    display: block;
    width: 100%;
    height: 190px;
    text-align: center;
  }

  header .logo {
  }

  header .logo a img {
    margin: 5px auto 0;
  }
  
  header nav {
    display: inline-flex;
    place-items: center;
    height: 55px;
  }

  header nav a {
    padding: 0 .6em;
    font-size: clamp(12px,3.86473vw,16px);
    line-height: 1.4;
  }
  
  header nav a br.ss {
    display: block;
  }
}

/* ---------------------------

main

---------------------------- */
main {
  margin: -110px auto 110px;
  width: 100%;
  position: relative;
  top: 110px;
  z-index: 0;
  text-align: center;
  background-color: #fff;
}

h1 {
  display: grid;
  place-items: center;

  margin: 0;
  height: 90px;
  background-color: #1169b4;
  color: #fff;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: clamp(23px,3.125vw,32px);
    height: 70px;
  }
}

.main_area {
  margin-top: 0;
  padding-left: 20px !important;
  padding-right: 20px !important;
  width: 100%;
  height: auto;
  background: url("../images/bg_common.png") no-repeat center bottom;
  background-size: cover;
}

@media screen and (max-width: 768px)  {
  .main_area {
    margin-top: 0;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media screen and (max-width: 768px)  {
  .main_area .inner {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ---------------------------

リンクボタン

---------------------------- */
.btn_area {
  display: flex;
  margin: 10vh auto;
  max-width: 840px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn_link {
  margin: 1vw;
}

.btn_link a {
  display: flex;
  padding: 15px 25px;
  width: 340px;
  height: 100px;
  
  justify-content: center;
  align-items: center;
  
  transition: 0.3s ease-in-out;
  background: #fff;
  border: 2px solid #000;
  border-bottom: 8px solid #000;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  
  font-size: 21px;
  line-height: 1.4;
  position: relative;
}

.btn_link a img.i {
  margin-left: 15px;
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  right: 15px;
}

.btn_link a:hover {
  transform: translate3d(0,0.2rem,-1rem);
}

.btn_link a:hover:after {
  transform: translate3d(0,0.2rem,-1rem);
  box-shadow: 0 0.2rem 0 0 rgb(0 0 0 / 20%);
}

@media screen and (max-width: 768px) {
  .btn_link a {
    font-size: clamp(18px,2.73437vw,21px);
  }
}

@media screen and (max-width: 414px) {
  .btn_area {
    margin: 8vh auto 5vh;
  }

  .btn_link a {
    width: clamp(200px,79.71014vw,330px);
  }
}

/* ---------------------------

footer

---------------------------- */
footer {
  padding: 18px;
  width: 100%;
  text-align: center;
  background: url("../images/bg_scale_bottom.png") repeat-x center bottom;
  background-size: 112px 80px;
  
    position: relative;
    top: -24px;
}

footer a img {
  margin: 10px 30px 0; margin: 10px 25px 0;
  width: 100%;
  height: auto;
  max-width: 250px; max-width: 240px;
  position: relative;
  top: 20px;
}

/* ---------------------------

ページトップへ

---------------------------- */
#page-top {
  bottom: 0;
  position: fixed;
  right: 0;
}
#page-top a {
  background-color: #006fc4;
  color: #fff;
  padding: 10px 20px;
}

/* 表示・非表示（画像・pc・sp・tb） ------------------------------------*/

.pc { display: block; }
.sp { display: none; }
@media screen and  (max-width: 768px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
}

