﻿@charset "utf-8";
/* PC向け*/
body, html {
    min-width: 1028px;
    padding: 0;
    margin: 0;
    font-family: "秀英明朝 L", Shuei Mincho L, serif;
    /*font-family: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
}
header {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: center;
    background: #fff;
    height: 5rem;
    position: fixed;
    width: 100%;
    z-index: 100;
}
header img {
    width: 20rem;
    padding-left: 2rem;
}
.header_list {
  display: grid;
  grid-auto-flow: column;
  column-gap: 2px;
  justify-self: end;
  width: 100%;
  max-width: 800px;
  padding: 0 1rem;
}
.header_list a {
  display: grid;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.basicbtn a{
    width: fit-content;
    background: #036eb7;
    border-radius: 35px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 0.5rem 3rem 0.7rem 2rem;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
  }
    .basicbtn a:after {
        content: '';
        width: 5px;
        height: 5px;
        border-top: 3px solid #fff;
        border-right: 3px solid #fff;
        transform: rotate(45deg) translateY(-50%);
        position: absolute;
        top: 50%;
        right: 20px;
        border-radius: 1px;
        transition: 0.3s ease-in-out;
    }
    .basicbtn a:hover {
        box-shadow: 3px 3px 3px #adadad;
        transform: translateY(4px);
    }
.footer {
    height: 30%;
    width: 100%;
    background-color: #FFF;
}
.cp p {
    text-align: center;
    font-size: small;
    padding: 3%;
    margin: 0;
}
.toptitle {
    padding-top: 50px;
}
.toptitleh2 {
    font-size: 2rem;
    text-align: center;
    letter-spacing: 0.2em;
    position: relative;
    color: #333333;
    -webkit-box-reflect: below -10px -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .25));
}
.accessinfo {
    text-align: center;
}
#access_logo {
    width: 400px;
}
address {
    font-style: normal;
}
.policy {
    padding: 3%;
    font-size: small;
    color:#adadad;
}
.policya {
    position: relative;
    padding: 5px;
    color: #adadad;
    text-decoration: none;/*元々のアンダーラインを非表示にしておく*/
}
.policya::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  transition: all 0.3s ease;
  opacity: 1;
  border-bottom-width: 2px;
  border-bottom-style: dotted;
  border-bottom-color: #adadad;
}
.blog a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #eee;
    overflow:hidden;
}
.blog a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 500%;
    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
    background: #2589d08d;
    opacity: 0.2;
}
.blog a:hover:before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
/* タブレット向け：～1280px 
@media screen and (max-width: 1174px) {

}*/

/* スマホ向け：961px～ */
@media only screen and (max-width: 500px) {
    body, html {
        min-width: 320px;    
    }
    header {
        left: 0;
    }
    header img {
        width: 15rem;
        padding-left: 1rem;
    }
    .globalMenuSp {
        position: absolute;
        left: 350px;
        top: 30px;
        font-weight: 400;
    }
    .globalMenuSp li:first-child {
        margin-left: 0;
    }
    .globalMenuSp li {
        position: relative;
        margin-left: 30px;
        height: 8px;
        float: left;
    }
    .globalMenuSp li>a{
        padding: 0 10px;
        color: #3c3c3c;
    }
    .header_list {
        display: initial;
    }
    .toptitle {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .toptitleh2 {
        font-size: 1.8rem;
    }
    .linkbtn span {
        font-size: 1.4rem;
    }
    #access_logo {
        width: 80%;
    }
    address {
        padding: 5% 8%;
        text-align: left;
    }
    .blog {
        margin: 10% auto;
    }
}

