/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */


 /****************************************
    共通部分
*****************************************/
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.text-centar{
  text-align: center;
}
.text-left{
  text-align: left;
}
a {	
  text-decoration: none;
  color: #4b4b4b;
}
a:hover { 
  text-decoration:none;
}
a:active { 
  text-decoration:none;
}
.r{
  color: #990000;
}
p{
  margin: 0;
  padding: 0;
  font-size: 16px;
  text-align: justify;
  color: #333333;
  line-height: 1.8em;
}
.max-width{
  max-width: 960px;
  width: 95%;
  margin: 0 auto;
}
.margin-top{
  margin-top: 105px;
}
.red-string{
  color: red;
}
body {
  overflow-x: hidden!important;
}
input, button, select, textarea {
  /* -webkit-appearance: none; */
}
@media screen and (max-width: 640px) {
  p{
    font-size: 16px;
    line-height: 1.8em;
  }
  .max-width{
    padding-left: 15px;
    padding-right: 15px;
  }
  .margin-top{
    margin-top: 75px;
  }
  .container {
    padding-right: 0px;
    padding-left: 0px;
  }
}
/****************************************
    ヘッダーメニュー
*****************************************/
header {
  width: 100%;
  padding: 10px 10% 10px;
  background-color: #fff;
  position:fixed;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 9999;
}
.header-title{
  font-size: 25px;
  font-weight: bold;
}

h1 {
  margin: 0; padding: 0;
  font-size: 20px;
}
h1,h2,h3,h4 {
  font-weight: bold;
}


ul {
  list-style: none;
  margin: 0;
  display: flex;
}

.pc-nav li {
  margin: 0 0 0 20px;
  font-size: 14px;
  font-weight: bold;
}
.pc-nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.pc-nav a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #28ade2;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}
.pc-nav a:hover::after {
  transform: scale(1, 1);
}
nav {
   margin: 0 0 0 auto;
}
.sp-nav {
  display: none;
}
.grecaptcha-badge { 
  visibility: hidden; 
}
.header-logo {
  height: 48px;        /* ヘッダーに合う高さに調整 */
  width: auto;
  display: block;
}
/****************************************
    フッター
*****************************************/
footer {
  text-align: center;
  font-weight: bold;
  margin-top: 100px;
}

/****************************************
    メディアクエリ
*****************************************/
@media screen and (max-width: 640px) {
  header {
    padding: 10px 4% 10px;
  }
  .header-title{
    font-size: 20px;
  }
  header p{
    margin: 0px;
  }
  .pc-nav{
    display: none;
  }

  #hamburger {
    position: relative;
    display: block;
    width: 30px;
    height: 25px;
    margin: 0 0 0 auto;
  }

  #hamburger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: black;
    transform: translateY(-50%);
  }

  #hamburger::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
  }
  #hamburger::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background-color: black;
  }

  .sp-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    transition: all .2s ease-in-out;
    opacity: 0;
    transform: translateY(-100%);
  }
  .sp-nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .sp-nav li {
    margin: 0;
    padding: 0;
  }
  .sp-nav li span {
    font-size: 15px;
    color: #fff;
  }
  .sp-nav li a{
    color: white;
    font-weight: bold;
  }
  .sp-nav li a, .sp-nav li span {
    display: block;
    padding: 20px 0;
  }
  .sp-nav .close {
    position: relative;
    padding-left: 20px;
  }
  /*バツ印線1*/
  .sp-nav .close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( 45deg );
  }
  /*バツ印線2*/
  .sp-nav .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( -45deg );
  }
  .toggle {
    transform: translateY( 0 );
    opacity: 1;
  }
  footer{
    margin-top: 50px;
  }
}