@charset "UTF-8";
/* CSS Document */

/*スクロール設定*/
html {
    scroll-behavior: smooth;
}
/*header分のずれを抑制*/
:target {
    scroll-margin-top: 90px;
}

@media screen and (max-width: 580px) {
    :target {
        scroll-margin-top: 75px;
    }
}

/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  overflow-y: hidden;
}

.top_logo {
    /*padding: 40px;*/
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}
.top_logo img {
    width: 350px;
}

@media screen and (max-width: 580px) {
    .top_logo {
        top: 20px;
        left: 20px;
    }
    .top_logo img {
        width: 225px;
    }
}

.page_logo {
    padding: 30px 30px 15px;
}
.page_logo img {
    height: 50px;
}


/*-------------------------------------------------------
header
-------------------------------------------------------*/
.header {
  position: fixed; /* headerを追従にする */
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  background: rgba(255,255,255,.9);
  /*opacity: 0.9;*/
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
}
.header_inner {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}
.logo {
  font-size: 1.25em;
  font-weight: bold;
}

.menu_logo img {
    width: 200px;
}

/* ハンバーガーボタンのデザイン */
.drawer_button {
  position: relative;
  display: block;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-top: -7px;
  z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
}

.drawer_button:after {
    content: "MENU";
    font-weight: 700;
    display: block;
    color: #FF6172;
    position: absolute;
    bottom: -10px;
    text-align: center;
    font-size: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.drawer_button.active:after {
    content: "CLOSE";
}

/* ハンバーガーボタン内の線 */
.drawer_button > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: #FF6172;
  transform: translateX(-50%);
}
.drawer_button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.7rem));
  transition: transform 0.3s ease;
}
.drawer_button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.drawer_button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.7rem));
  transition: transform 0.3s ease;
}
/* 展開時のデザイン */
.drawer_button.active > span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.drawer_button.active > span:nth-child(2) {
  opacity: 0;
}
.drawer_button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
/* メニューのデザイン */
.drawer_nav {
  position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /*background-color: rgba(0, 0, 0, 0.5);*/
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.drawer_nav_inner {
  position: relative;
  width: 330px;
  height: 100%;
  background: rgba(255,255,255,.85);
  padding: 2rem 30px 1rem;
  margin: 0 0 0 auto;
  overflow: scroll;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 18px;
  z-index: 20;
}

.nav-close {
    position: fixed;
    width: calc(100% - 330px);
    left: 0;
    height: 100vh;
    display: none;
    background: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 580px) {
    .logo img {
        height: 33px;
    }
    .page_logo {
        padding: 20px;
    }
    .page_logo img {
        height: 35px;
    }
    
    .drawer_button {
        margin-top: -13px;
    }
    .drawer_nav_inner {
        width: 80%;
    }
    
    .nav-close {
        width: calc(100% - 80%);
    }
}

.drawer_nav_menu {
  list-style: none;
  padding-left: 0;
  margin: 40px 0 20px;
}
.drawer_nav_link {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid #707070;
  position: relative;
}
.drawer_nav_link:after {
    content: "";
    background: url("../img/icon01.svg") no-repeat center;
    background-size: contain;
    width: 4px;
    height: 8px;
    display: inline-block;
    vertical-align: middle;
    /*以下親要素にpositionを付与する場合*/
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.drawer_nav_link-s {
    color: #676666;
    font-size: 16px;
}
.drawer_nav_link-bnr {
    display: block;
    margin-top: 20px;
}

/* 展開時のデザイン */
.drawer_nav.nav-open {
    opacity: 1;
    visibility: visible;
    /*width: calc(100% - 330px);
    left: 0;
    z-index: 100;*/
}
.drawer_nav.nav-open .drawer_nav_inner {
    opacity: 1;
    /*position: fixed;
    right: 0;
    z-index: 200;*/
}

.drawer_nav.nav-open .nav-close{
    display: block;
}

/*メニューここまで*/


/*-------------------------------------------------------
pankuzu
-------------------------------------------------------*/
#pankuzu {
    display: flex;
    font-size: 16px;
    margin-bottom: 3em;;
}
#pankuzu a:after {
    content: "＞";
    margin: 5px;
}

@media screen and (max-width: 580px) {
    #pankuzu {
        font-size: 14px;
        line-height: 1.4em;
    }
}

/*-------------------------------------------------------
inner
-------------------------------------------------------*/
.inner {
    max-width: 1160px;
    margin: 0 auto;
}

.bgG {
    background: #F5F5F5;
}

.section1000 {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 100px 0;
}

.inner1000 {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 100px;
}

.inner900 {
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 100px 0;
}

.inner800 {
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 100px 0;
}

.bgW-r {
    background: #FFF;
    border-radius: 20px;
}

.boxW40 {
    background: #FFF;
    border-radius: 20px;
    padding: 40px;
}
.boxW30 {
    background: #FFF;
    border-radius: 20px;
    padding: 30px;
    margin: 2em 0 0;
}

@media screen and (max-width: 1000px) {
    .inner1000 {
        padding: 1.5em;
    }
    .bgG {
        padding: 20px;
    }
}

@media screen and (max-width: 580px) {
    .boxW40 {
        padding: 40px 20px;
    }
    .boxW30 {
        padding: 30px 20px;
    }
}

/*-------------------------------------------------------
h1-h6
-------------------------------------------------------*/
.h2_Ocmn {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    color: #000;
    line-height: 1.2em;
    margin: 0 0.5em 1em;
}
.h2_Ocmn span {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.0001em;
    text-align: center;
    color: #fa616a;
    display: block;
}

.h3_Ocmn {
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 0.02em;
    text-align: center;
    color: #000;
    border-bottom: 1px solid #000;
    margin: 3em 0 0.7em;
}

.h4_Ocmn {
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.02em;
    line-height: 30px;
    text-align: center;
    color: #000;
    margin: 1.5em 0 1em;
}

@media screen and (max-width: 580px) {
    .h2_Ocmn {
        font-size: 30px;
    }
    .h2_Ocmn span {
        font-size: 16px;
    }
    .h3_Ocmn {
        font-size: 25px;
    }
    .h4_Ocmn {
        font-size: 20px;
    }
}

/*-------------------------------------------------------
text
-------------------------------------------------------*/
.colorRed {
    color: #CA0011;
}

@media screen and (max-width: 580px) {
    .textL-sp {
        text-align: left !important;
    }
    .textR-sp {
        text-align: right !important;
    }
}

/*-------------------------------------------------------
table
-------------------------------------------------------*/
.table1 {
     border-collapse: collapse;
}
.table1 th {
    border-collapse: collapse;
    border-bottom: 1px solid #8B8B8B;
    text-align: left;
    padding: 0.7em 0;
}
.table1td {
    border-collapse: collapse;
    border-bottom: 1px solid #8B8B8B;
    text-align: left;
    padding: 0.7em 1em;
}

.table2 {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2em;
}
.table2 th {
    background: #FF6172;
    color: #FFF;
    text-align: center;
    padding: 0.5em;
}
.table2 td {
    background: #FFF;
    text-align: center;
    border-bottom: 1px solid #757575;
    padding: 0.5em;
}
.table2 .noborderB {
    border-bottom: none;
}
.table2 .borderR{
    border-right: 1px solid #757575;
}

.table3 {
    border-collapse: collapse;
    width: 100%;
}
.table3 th {
    border: 1px solid #707070;
    background: #DBDBDB;
    padding: 0.5em 1em;
    font-size: 20px;
    text-align: left;
    vertical-align: top;
}
.table3 td {
    border: 1px solid #707070;
    background: #FFF;
    padding: 0.5em 1em;
}

.table-f {
    table-layout: fixed;
}
.noborderT {
    border-top: none;
}

@media screen and (max-width: 580px) {
    .table-responsive > tbody > tr > th {
        display: block;
        width: 100%;
    }
    .table-responsive > tbody > tr > td {
        display: block;
        width: 100%;
    }
    .table-responsive.table3  > tbody > tr > td {
        border-top: none;
        border-bottom: none;
    }
    .table-responsive.table3 {
        border-bottom: 1px solid #707070;
    }
}

/*-------------------------------------------------------
page-top-O
-------------------------------------------------------*/
/*リンクを右下に固定*/
#page-top-O {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top-O.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top-O.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(130px);
  }
}

.copyright {
    text-align: center;
    padding: 1.5em 10px;
    font-size: 16px;
    background: #FF6172;
    color: #FFF;
}

@media screen and (max-width: 580px) {
    .copyright {
        font-size: 10px;
    }
}