@charset "utf-8";

/* 共通設定 */
* {
    box-sizing: border-box;
}

html {
    color: #222;
    font-size: 62.5%;
    line-height: 1.4;
    margin: 0 auto;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 1.2rem;
    -webkit-text-size-adjust: 100%;
}

/* 非表示 */
#d_none {
    display: none;
}

ul {
    padding-left: 0;
}

li {
    list-style-type: none;
}

p {
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    opacity: 0.7;
}

th {
    font-weight: normal;
    text-align: left;
}

.bold {
    font-weight: bold;
}

/* under margin */
.under2 {
    margin-bottom: 2rem;
}

.under3 {
    margin-bottom: 3rem;
}

.under4 {
    margin-bottom: 4rem;
}

.under5 {
    margin-bottom: 5rem;
}

/* 背景色 */
.red {
    background-color: #d7003a;
}

.black {
    background-color: black;
}

.white {
    background-color: white;
}

.gray {
    background-color: #eeeeee;
}

/* 文字色 */
.f_white {
    color: white;
}

.f_red {
    color: #d7003a;
}

/* ホバー時の動作 */
.line,
.hm_line {
    padding-bottom: 5px;
    position: relative;
}

.line::before,
.hm_line:hover::before {
    background: gray;
    bottom: 0;
    content: '';
    height: 2px;
    left: 0;
    margin: auto;
    position: absolute;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
    width: 100%;
}

.swiper-slide:hover .line::before,
.line:hover::before,
.hm_line:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

img {
    border: 0;
    height: auto;
    object-fit: contain;
    width: 100%;
}

address {
    font-style: normal;
}

table {
    border-collapse: collapse;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
}

/* ヘッダー */
.header {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
}

.header .logo {
    align-items: center;
    display: flex;
    padding-left: 7%;
    width: 25%;
}

.header .h_menu {
    align-items: center;
}

.header .logo a img {
    max-width: 100px;
    width: 70%;
}

.header .h_menu ul {
    display: flex;
    justify-content: end;
}

.header .h_menu li {
    margin-top: auto;
    padding-right: 1.7rem;
}

.hm {
    display: none;
}

h2 {
    font-size: 3rem;
    font-weight: normal;
}

h3 {
    font-size: 1.3rem;
}

/* ハンバーガーメニュー */
/* Navbar & Navmenu color */
:root {
    --background-navbar: rgba(55, 55, 55, 0.98);
}

/* Navbar Container */
.navtext-container {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 52px;
    justify-content: space-around;
    position: absolute;
    width: 100%;
}

/* Navbar Text */
.navtext {
    color: #ddd;
    font-size: 28px;
    letter-spacing: 4px;
    position: relative;
    text-transform: uppercase;
}

.menu-btn,
.menu-icon,
.ham_menu {
    display: none;
    z-index: 998;
}

/* ハンバーガーメニューを表示 */
.menu-btn,
.menu-icon,
.ham_menu {
    display: inline-block;
}

/* Nav items */
.ham_menu {
    background: var(--background-navbar);
    clear: both;
    height: auto;
    left: 0;
    list-style: none;
    margin-top: 0px;
    padding: 20px 60px;
    position: fixed;
    top: 0;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
    width: 100%;
}

/* Hamburger menu button */
.menu-btn:checked~.ham_menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menbu text */
.ham_menu a {
    color: white;
    display: block;
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    opacity: 0;
    padding-bottom: 15px;
    padding-top: 15px;
    text-transform: capitalize;
    transition: 0.5s;
    width: 100%;
}

.ham_menu li {
    border-bottom: 1.5px solid rgb(75, 75, 75);
}

.menu-btn:checked~.ham_menu a,
.menu-btn:checked~.ham_menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
    display: none;
}

.menu-icon {
    background-color: black;
    cursor: pointer;
    display: inline-block;
    right: 0;
    padding: 24px 14px;
    position: fixed;
    top: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 999;
}

.navicon {
    background: white;
    display: block;
    height: 3px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    width: 26px;
}

.navicon:before,
.navicon:after {
    background: white;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    width: 100%;
}

.navicon:before {
    top: 9px;
}

.navicon:after {
    bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
    top: 0;
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    bottom: 0;
}

.menu-btn:checked~.menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger Menu Animation End */
/* ハンバーガーメニューのレスポンシブ表示 */
.hm {
    display: none;
}

/* サイドバー */
.main-frame {
    display: flex;
}

.right-content {
    z-index: 999;
}

.left-content {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px;
    width: 88%;
}

.fix-btn {
    display: flex;
    position: fixed;
    right: 0;
    top: 90px;
    writing-mode: vertical-rl;
}

.fix-btn a {
    background-color: black;
    border-radius: 20px 5px 5px 20px;
    margin-bottom: 1rem;
    padding: 3rem 0.6rem;
}

.fix-item {
    color: white;
}

/* フッター */
footer {
    margin-top: 3rem;
}

footer img {
    max-width: 110px;
}

.footer {
    display: flex;
    justify-content: space-evenly;
    padding: 3% 6% 1% 6%;
}

.footer .address {
    letter-spacing: 0.1rem;
    width: 40%;
}

.footer .f_menu {
    display: flex;
    justify-content: space-evenly;
    width: 60%;
}

.footer_li_1,
.footer_li_2 {
    width: 30%;
}

.footer_li_1 li,
.footer_li_2 li {
    padding-bottom: 5px;
}

footer h3 {
    margin: 0;
}

/* ヘルパークラス */
.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.dis-blo {
    display: block;
}

.dis-inblo {
    display: inline-block;
}

/*一時的非表示*/
.scr-hid {
    visibility: hidden;
}

/*選択時のテキストシャドウを削除*/
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*ギャップを削除 audio, canvas, iframes, images, videos https://github.com/h5bp/html5-boilerplate/issues/440*/
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*fieldset のデフォルトスタイルを削除*/
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*テキストエリアのY方向の自動リサイズを許可*/
textarea {
    resize: vertical;
}

/*Clearfix: floatの解除用*/
.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* サブ画面のタイトルロゴ */
.title_logo {
    margin-top: 0.5rem;
}

/* スワイパー */
.swiper {
    width: 100%;
}

.swiper-wrapper {
    width: 1vh;
    align-items: center;
}

.swiper-slide {
    border-radius: 10%;
    display: block;
    height: 100%;
    position: relative;
    width: 100%;
}

.swiper-slide p {
    left: 50%;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.swiper-slide a {
    background-color: #ffffff;
    border-radius: 10%;
    display: block;
    height: 100%;
    width: 100%;
}

/* スワイパー_左の矢印カスタマイズ */
.swiper-button-prev:after {
    content: "";
    /*デフォルトの矢印を上書き*/
    border: 0;
    border-right: solid 0.2rem #ffffff;
    border-top: solid 0.2rem #ffffff;
    bottom: 0;
    height: 1.1rem;
    left: 5px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 1.1rem;
}

.swiper-button-prev:after {
    transform: rotate(-135deg);
}

/* スワイパー_右の矢印カスタマイズ */
.swiper-button-next:after {
    content: "";
    /*デフォルトの矢印を上書き*/
    border: 0;
    border-right: solid 0.2rem #ffffff;
    border-top: solid 0.2rem #ffffff;
    bottom: 0;
    height: 1.1rem;
    left: 0;
    margin: auto;
    position: absolute;
    right: 5px;
    top: 0;
    width: 1.1rem;
}

.swiper-button-next:after {
    transform: rotate(45deg);
}

/* スワイパー_ページネーション */
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -20px;
    position: absolute;
}

/* 共通_リンクボタン */
.link {
    margin-bottom: 10%;
}

.link .btn {
    border: 1px solid black;
    border-radius: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    object-fit: cover;
    padding: 15px 45px 15px 45px;
    text-decoration: none;
    transition: .3s;
}

.link .btn:hover {
    background-color: black;
    color: white;
}

/* ==========================================================================
レスポンシブ対応用メディアクエリー
   ========================================================================== */
/* 画面サイズによって文字サイズを変更 */
/* PC */
@media only screen and (min-width: 1200px) {

    /* コンテンツの横幅を変更 */
    .left-content {
        width: 75%;
    }

    /* 文字サイズ変更 */
    body {
        font-size: 1.5rem;
    }
}

/* タブレット横, PC */
@media only screen and (max-width: 792px) {
    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    /* コンテンツの横幅を変更 */
    .left-content {
        width: 95%;
    }

    /* ハンバーガーメニュー表示 */
    .hm {
        display: inline-block;
    }

    /* サイドバー非表示 */
    .sb {
        display: none;
    }

    /* スワイパーの矢印ボタン非表示 */
    .sp-no {
        display: none;
    }

    .h_menu {
        display: none;
    }

    /* サブ画面のタイトルロゴ */
    .title_logo {
        margin-top: 0;
    }

    /* フッター */
    footer {
        margin-top: 4rem;
    }

    .footer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer .address,
    .footer .f_menu {
        width: 100%;
    }

    .footer .f_menu {
        justify-content: space-around;
        padding-top: 1.5rem;
    }

    .footer_li_1,
    .footer_li_2 {
        display: inline-block;
    }

    .footer_li_1 li,
    .footer_li_2 li {
        text-align: left;
    }
}

@media only screen and (max-width: 415px) {

    /* スマートフォン横、タブレット縦j */
    /* スワイパー */
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}