@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* 共通
---------------------------------------------- */
*, *:before, *:after {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    font-size: 62.5%;
    scroll-padding-top: 150px;
}

body {
    color: #3A3A3A;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: "Inter", "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'ヒラギノ角ゴPro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}

img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}

p,ul,ol,li,h1,h2,h3,h4,dl,dt,dd,a,form {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    transition: all .3s ease-in-out;
    color: #D32435;
}

a:hover {
    opacity: .7;
    text-decoration: none;
}

table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.textR {
    text-align: right;
}
span.text_indent {
    display: inline-block;
    padding-left: 2em;
    text-indent: -2em;
}

.flex,
.flex_pcOnly,
.flex_spNone {
    display:-webkit-box;
    display:-ms-flexbox;
    display: flex;
}

.fl_center {
    justify-content: center;
}

.fl_space-between {
    justify-content: space-between;
}

.fl_space-around {
    justify-content: space-around;
}

.fl_wrap {
    flex-wrap: wrap;
}

.fl_column {
    flex-direction: column;
}

.f_items_center {
    align-items: center;
}

.f_items_start {
    align-items: flex-start;
}

.pc_none {
    display: none;
}

.sptab_only {
    display: none;
}

.pc_inline {
    display: inline;
}

.tab_inline {
    display: block;
}

.sp_inline {
    display: block;
}

span.block {
    display: block;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

sub {
    font-size: 1rem;
    vertical-align: baseline;
}

/* タブレット・スマホ無効 */
@media screen and (min-width: 960px) {
    .opacity a,
    .opacity span {
        transition: 0.3s;
    }
    
    .opacity a:hover,
    .opacity span:hover{
        opacity: 0.7;
    }
}

@media screen and (max-width: 1024px) {
    .flex_pcOnly {
        display: block;
    }
    .sptab_only {
        display: block;
    }
    .tab_only {
        display: block;
    }
    .tab_none {
        display: none;
    }
    .tab_inline {
        display: inline;
    }
}

/* スマホでタップした時だけ電話発信を有効にする */
@media screen and (min-width: 768px) {
    a[href^="tel:"]{
        pointer-events: none;
    }
}

@media screen and (max-width: 768px) {
    .flex_spNone {
        display: block;
    }
    .pc_none {
        display: block;
    }
    .pc_inline {
        display: block;
    }
    .tab_only {
        display: none;
    }
    .sp_none {
        display: none;
    }
    .sp_inline {
        display: inline;
    }
}

@media screen and (max-width: 414px) {
    .sp_none2 {
        display: none;
    }
}


/* 見出し
---------------------------------------------- */
h1,h2,h3,h4 {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-weight: 700;
}

/* ボタンリンク
---------------------------------------------- */
a.btn_blue {
    display: block;
    background-color: #D32435;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    width: 280px;
    margin: 0 auto;
}

a.btn_blue:hover {
    opacity: .7;
}

/* ヘッダー
---------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 1.4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all ease-in-out .3s;
    background-color: #fff;
}

header.scrolled {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

header .logo a {
    display: flex;
    align-items: center;
}
header .logo img {
    max-width: 65px;
}
header .logo span {
    display: inline-block;
    margin-left: 10px;
    font-size: 2.8rem;
    font-weight: 500;
    color: #3A3A3A;
}

@media screen and (max-width: 768px) {
    header {
        padding: 9px 20px;
    }
    
    header .logo span {
        margin-left: 5px;
        font-size: 1.8rem;
    }
}


/* メニュー
---------------------------------------------- */
nav li a {
    display: block;
    font-size: 1.6rem;
    margin-right: 1.5em;
    position: relative;
    transition: color 0.3s;
    color: #3A3A3A;
    text-decoration: none;
}

nav li:last-child a {
    margin-right: 0;
}

/*- メニューバー -*/
.navbar-area {
    display: none;
}

/* タブレット・スマホ無効 */
@media screen and (min-width: 1025px) {
    nav li a:hover {
        color: #9a9a9a;
    }
    
    nav li a:after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: #D32435;
        position: absolute;
        bottom: -7px;
        left: 0;
        transform: scale(0, 1);
        transform-origin: right top;
        transition: transform .3s;
    }
    
    nav li:hover > a:after {
        transform-origin: left top;
        transform: scale(1, 1);
    }
}

@media screen and (max-width: 1024px) {
    nav {
        /* display: none; */
        position: fixed;
        left: 0;
        top: 0;
        transform: translateY(-100%);
        width: 100%;
        height: 100vh;
        z-index: 99;
        background-color: #fff;
        margin: 0;
        padding: 10rem 4rem;
        overflow: auto;
        opacity: 0;
        transition: opacity .3s ease-in-out;
    }
    nav.active {
        opacity: 1;
        transform: translateY(0);
    }
    
    nav li {
        margin-bottom: 2em;
    }
    
    nav li a {
        font-size: 2rem;
        margin: 0;
        padding: 0;
        border-right: none;
        position: relative;
    }
    
    nav li a:after {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        border-top: 2px solid #3A3A3A;
        border-right: 2px solid #3A3A3A;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        top: 0;
        bottom: 0;
        left: auto;
        right: 5px;
        margin: auto;
    }
    
    /*- メニューバー -*/
    .navbar-area {
        display: block;
        width: 40px;
        height: 30px;
        position: absolute;
        top: 50%;
        right: 40px;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .navbar {
        height: 100%;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }

    .navbar span {
        width: 100%;
        height: 2px;
        display: block;
        position: absolute;
        left: 0;
        background-color: #D32435;
        transition: 0.3s;
        text-align: center;
    }
    
    header.top .navbar span {
        background-color: #D32435;
    }
    
    .navbar span:nth-child(1) {
        top: 0;
    }
    .navbar span:nth-child(2) {
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .navbar span:nth-child(3) {
        bottom: 0;
    }
    .navbar.active span {
        background-color: #D32435;
    }
    .navbar.active span:nth-child(1) {
        top: 15px;
        transform: rotate(45deg);
    }
    .navbar.active span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .navbar.active span:nth-child(3) {
        top: 15px;
        transform: rotate(-45deg);
    }
}

@media screen and (max-width: 768px) {
    nav {
        padding: 8rem 2rem;
    }
    
    /*- メニューバー -*/
    .navbar-area {
        width: 30px;
        height: 22px;
        top: 30px;
        right: 20px;
    }
}


/* メインコンテンツ（共通）
---------------------------------------------- */
.main-content {
    margin-top: 7.8rem;
}

main table {
    width: 100%;
}

main table th {
    font-weight: normal;
    text-align: left;
    vertical-align: top;
}

main table td {
    vertical-align: top;
}

/* テーブルのthが横向き */
main table.sideways th {
    width: auto;
}

main table.sideways th,
main table.sideways td {
    border: 1px solid #ddd;
}

/* テーブルをスクロールする場合 */
main .tb-swipe {
    display: none;
}

@media screen and (max-width: 768px) {
    .main-content {
        margin-top: 6.2rem;
    }
    
    .main-content div.flex {
        flex-wrap: wrap;
    }
    
    /* テーブルをスクロールする場合 */
    main table.sideways {
        margin: 0 0 2rem;
    }
    
    main .tb-swipe {
        display: block;
    }
    
    main .tb-swipe:before {
        content: "";
        display: inline-block;
        background: url(../images/tb-swipe.png) no-repeat;
        background-size: contain;
        width: 30px;
        height: 28px;
        margin-right: 5px;
        vertical-align: -6px;
    }
    
    main .tb-swipeArea {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    main .tb-swipeArea table {
        width: 1000px;
        -webkit-text-size-adjust: 100%;
    }
    
    main .tb-swipeArea th,
    main .tb-swipeArea td {
        display: table-cell;
        border-bottom: 1px solid #ddd;
    }
}


/* フッター
---------------------------------------------- */
footer {
    font-size: 1.4rem;
    padding: 3.5rem 4rem;
    text-align: center;
    background-color: #D32435;
    color: #fff;
}

footer.privacy {
    border-top: 1px solid #ccc;
}

/*  ページトップ  */
/*
.pagetop {
    position: absolute;
    top: -40px;
    right: 135px;
}

.pagetop a {
    display: block;
    color: #fff;
    background-color: #444;
    font-size: 1.2rem;
    border: 7px solid #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    padding-top: 3rem;
    position: relative;
}

.pagetop a:before {
    content: "";
    position: absolute;
    top: 30%;
    right: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: auto;
    margin-right: auto;
}
*/

@media screen and (max-width: 768px) {
    footer {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    /*  ページトップ  */
/*
    .pagetop {
        top: -25px;
    }
    
    .pagetop a {
        font-size: 0.7rem;
        width: 45px;
        height: 45px;
        padding: 0;
    }
    
    .pagetop a:before {
        top: 40%;
        width: 10px;
        height: 10px;
    }
*/
}


/* 404
---------------------------------------------- */
.not_found {
    padding: 10px 0 120px;
    text-align: center;
}



/* フェードインセッティング
---------------------------------------------  */

.fadein{
	opacity: 0;
	transform: translate(0,60px);
	-webkit-transform: translate(0,60px);
}

.fadein.show{
	opacity: 1.0;
	transform: translate(0,0);
	-webkit-transform: translate(0,0);

  -moz-transition-property: opacity, transform;
  -webkit-transition-property: opacity, transform;
  -o-transition-property: opacity, transform;
  -ms-transition-property: opacity, transform;
  transition-property: opacity, transform;

  -moz-transition-duration: 0.8s;
  -webkit-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  -ms-transition-duration: 0.8s;
  transition-duration: 0.8s;

  -moz-transition-timing-function:ease-in-out;
  -webkit-transition-timing-function:ease-in-out;
  -o-transition-timing-function:ease-in-out;
  -ms-transition-timing-function:ease-in-out;
  transition-timing-function:ease-in-out;
}

