@charset "utf-8";

/*====================================================================================================

  Reset CSS / リセット・共通設定

====================================================================================================*/

*{
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: 0.05em;
  word-break: break-all;
}

*,
*::before,
*::after,
input,
textarea,
select,
option{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html{
  font-size: 62.5%;
}

body{
  color: #101010;
  font-size: 1.6em;
  font-family: "Montserrat", "Noto Sans JP", serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-align: center;
  background: #fff none;
}

a{
  color: inherit;
  color: #1e39f9;
  transition: all 0.3s;
}

a[href*="tel:"]{
  color: #1f1f1f;
  pointer-events: none;
  text-decoration: none !important;
}

a:hover{
  color: #c8151e;
  text-decoration: underline;
}

a,
a:hover,
a::before,
a img,
a:hover img,
input,
textarea,
select{
  transition: all 0.3s;
}

img{
  width: auto;
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
}

table{
  text-align: left;
  border-spacing: 0px;
  border-collapse: collapse;
}

body,
nav,
header,
footer,
main,
article,
section,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
figure,
address,
iframe,
table,
tr,
th,
td,
form,
input,
textarea,
select,
option,
label{
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
th,
td,
p,
dl,
dt,
dd,
ul,
li,
address{
  font-style: normal;
  font-weight: 400;
}

p{
  color: #1f1f1f;
  line-height: 1.7;
}

ol,
ul{
  list-style: none outside none;
}


@media only screen and ( max-width: 1119px ) {
  html{
    height: 100%;
  }

  body{
    height: 100%;
  }

  img{
    max-width: 100%;
    height: auto;
  }
}


@media only screen and ( max-width: 640px ) {
  body{
    min-width: 320px;
    line-height: 1.5;
  }

  a[href*="tel:"] {
    color: #1e39f9;
    pointer-events: auto;
    text-decoration: underline !important;
  }

  .center{
    text-align: left;
  }
}




/*====================================================================================================

　header / ヘッダー

====================================================================================================*/

#header{ position: fixed; display: flex; justify-content: center; align-items: center; width: 100%; height: 80px; border-bottom: 1px #efefef solid; background: rgba( 255, 255, 255, 0.95); z-index: 9999; }


/*====================================================================================================

  Main / メイン

====================================================================================================*/

main{
  padding: 80px 0px 0px;
}

@media only screen and ( max-width: 640px ){
  main{ padding: 70px 0px 0px; }
}




footer{ width: 100%; margin: 50px 0px 0px; }
footer p.copyright{ width: 100%; margin: 50px 0px 0px; padding: 10px 0px; color: #fff; font-size: 1.3rem; font-weight: 500; background: #0b5394; }

@media only screen and ( max-width: 1119px ){
  footer{ margin: 40px 0px 0px; padding: 40px 0px 0px; }
  footer p.copyright{ margin: 40px 0px 0px; padding: 6px 0px 4px; }
}

@media only screen and ( max-width: 640px ){
  footer{ padding: 40px 0px 50px; }
  footer p.copyright{ margin: 30px 0px 0px; font-size: 1.2rem; }
}


/*----------------------------------------------------------------------------------------------------

  Pagetop / ページトップに戻る

----------------------------------------------------------------------------------------------------　*/

#pagetop{ position: fixed; bottom: 40px; right: 20px; font-size: 1.4rem; font-weight: bold; line-height: 1.4; text-align: center; cursor: pointer; }
#pagetop a{ display: block; width: 40px; height: 40px; line-height: 36px; color: #fff; font-weight: bold; text-decoration: none; border: 2px #0b5394 solid; border-radius: 50%; background: #0b5394; }
#pagetop a::before{ font-family: "Font Awesome 6 Free"; content: '\f106'; color: #fff; font-size: 2.5rem; font-weight: 900; }
#pagetop a:hover{ background-color: #fff; }
#pagetop a:hover::before{ color: #0b5394; }

@media only screen and ( max-width: 1119px ){
  #pagetop, #pagetop a{ display: none; }
}
