﻿@charset 'utf-8';

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    line-height: 2em;
}

body {
    line-height: 1;
    font-family: Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #fff;
    line-height: 2em;
    padding-top: 110px;
}

input, select, button, textarea {
    font-family: inherit;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

    nav ul {
        list-style: none;
    }

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

a {
    text-decoration: underline;
    color: #000;
}

a:hover {
    color: #f00;
}

/* Header */
#header_fix {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 110px;
    z-index: 9999;
    background-color: #fff;
}

header {
    width: 1360px;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: space-between;
}

    header h1 {
        width: 500px;
        align-items: center;
        flex-shrink: 0;
    }

#header_text {
    width: calc(100% - 500px - 85px - 30px);
    font-size: 120%;
    margin: 30px 0px 0 30px;
    flex-shrink: 0;
}

#header_menu {
    width: 85px;
    flex-shrink: 0;
}

    #header_menu img:hover {
        cursor: pointer;
    }

header::after{
    content: "";
    clear: both;
    display: block;
}

#footer_link {
    width: 1260px;
    margin-left: auto;
    margin-right: auto;
    background-image: url('../images/common/footer_logo.png');
    background-repeat: no-repeat;
    background-position: top 60px right;
    display: flex;
    padding: 50px 0px 100px 100px;
}

    #footer_link ul {
        margin-right: 100px;
    }

    #footer_link li {
        list-style: none;
        margin-bottom: 10px;
    }


#footer_logo {
    display: none;
}

#footer_bottom {
    background-color: #000;
    color: #fff;
    padding: 50px 0px;
}

    #footer_bottom div {
        width: 1360px;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        line-height: 2em;
    }

.common_inquiry {
    background-image: url('../images/common/inquiry_back.png');
    background-repeat: repeat-x;
}

.common_inquiry_items {
    width: 1360px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.common_contents_maxwidth {
    margin-left: auto;
    margin-right: auto;
}

.mT20 {
    margin-top: 20px;
}

.mT50 {
    margin-top: 50px;
}

.mB50 {
    margin-bottom: 50px;
}
.taR {
    text-align: right;
}
.taC {
    text-align: center;
}

.mgC { 
	margin-left: auto;
	margin-right: auto;
}

#index_carousel {
    /*position: relative;*/
    width: 1360px; /* 画像の横幅に合わせて記述 */
    height: 765px; /* 画像の高さに合わせて記述 */
    margin-left: auto;
    margin-right: auto;
}

    #index_carousel img {
        z-index: 1;
        /*        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0.0;
*/
        width: 100%;
    }

/*        #index_carousel img.active {
            z-index: 3;
            opacity: 1.0;
        }

        #index_carousel img.last-active {
            z-index: 2;
        }
*/
.form_error {
    color: Red;
    padding: 5px 5px 5px 5px;
    margin: 10px 0px 10px 0px;
    width: 100%;
    font-size: 100%;
    border: solid 1px Red;
    background-color: #ffccd3;
    line-height: 1.5em;
}


/* メニューコンテナ全体のスタイル */
.menu-container {
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    overflow: hidden;
}

/* メニューボタンのスタイル */
.menu-button {
    display: block;
    /*position: fixed;*/
    top: 0px;
    right: 20px; /* shibata */
    width: 80px;
    height: 70px;
    cursor: pointer;
    z-index: 2;
    text-align: center;
    color: #fff;
    background-color: #000;
    padding-top: 10px;
    margin-top: 10px;
}

.menu-text {
    font-size: 80%;
}

/* メニューバーのスタイル */
.bar {
    display: block;
    width: 50px;
    height: 3px;
    margin: 10px 5px 10px 5px;
    background-color: #fff;
    transition: 0.4s;
    padding-left: 20px;
}

/* メニューボタンがチェックされた場合の1つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .bar:nth-child(1) {
    transform: rotate(45deg) translate(-2px, 3px);
}

/* メニューボタンがチェックされた場合の2つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .bar:nth-child(2) {
    opacity: 0;
}

/* メニューボタンがチェックされた場合の3つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -13px);
}

#menu-toggle:checked ~ .menu-button .menu-text {
    display: none;
}

/* メニュートグルのスタイル */
#menu-toggle {
    display: none;
}

/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: -100%; /* 変更: メニューを左からスライドインさせるために left に設定 shibata */
    width: 400px;
    height: 100%;
    background-color: #f3f3f3;
    transition: 0.4s;
    z-index: 1;
    overflow-y: auto;
}

/* メニュートグルがチェックされた場合のメニューの表示アニメーション */
#menu-toggle:checked ~ .menu {
    right: 0; /* メニューを表示させるために left を 0 に変更 shibata */
}

/* メニュー内のリストのスタイル */
.menu ul {
    list-style: none;
    padding: 20px;
}

    /* メニュー内リストのリンクのスタイル */
    .menu ul li a {
        text-decoration: underline;
        color: #333;
        font-size: 100%;
        display: block;
        padding: 5px 0;
        transition: 0.2s;
    }

        /* メニュー内リストのリンクのホバー時のスタイル */
        .menu ul li a:hover {
            color: #bf7497;
        }

#menu_close {
    margin: 10px 10px 0 0;
    text-align: right;
    display: block;
}

    #menu_close:hover {
        cursor: pointer;
    }

.img_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*ページング*/
#paging {
    width: 100%;
    margin: 50px 0 50px 0;
}

    #paging ul {
        display: flex;
        justify-content: center;
        gap: 20px 10px;
        list-style: none;
        margin: 0 auto;
    }
    #paging li {
        border: 1px solid #168ae1;
        color: #fff;
        background-color: #168ae1;
    }

        #paging li a {
            display: block;
            color: #fff;
            text-decoration: none;
            height: 100%;
            width: 100%;
            padding: 5px 20px;
        }

    #paging li.current {
        border: 1px solid #ccc;
        color: #000;
        background-color: #fff;
    }

        #paging li.current a {
            display: block;
            color: #000;
            text-decoration: none;
            height: 100%;
            width: 100%;
            padding: 5px 20px;
        }
