@charset "utf-8";



/* googlefont読み込み
---------------------------------------------------------------------------*/
/* @import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@900&display=swap'); */


/*全体の設定
---------------------------------------------------------------------------*/

html{
	scroll-behavior: smooth;
}
html,
body {
    height: 100%;
}
body {
    margin: 0px;
    padding: 0px;
    color: #333;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
        Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 2;
    background: #f0f0f0;
    -webkit-text-size-adjust: none;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-weight: normal;
}
ul {
    list-style-type: none;
}
ol {
    padding-left: 40px;
    padding-bottom: 15px;
}
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}
iframe {
    width: 100%;
}

@keyframes opa1 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
    color: #333;
    transition: 0.5s;
}
a:hover {
    color: #ff4765;
    text-decoration: none;
}

/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/
header {
    background: url(../img/img/topimg.jpg) no-repeat center bottom / cover;
    height: 100%;
    overflow: auto;
}

header img {
    display: block;
    width: 20%;
    position: absolute;
    left: 40%;
    bottom: 50%;
}

/*メニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体への指定*/

.menubar {
    position: absolute;
    bottom: 20%;
    width: 100%;
    text-align: center;
    left: 0px;
}

/*メニュー１個あたりの指定*/
.menubar li {
    display: inline-block;
    margin: 0 1%;
    animation-name: opa1;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.menubar li a {
    text-decoration: none;
    display: block;
    text-align: center;
    color: #fff;
    width: 140px;
    border-bottom: 2px solid transparent;
    padding-bottom: 7px;
}

.menubar li a:hover {
    border-bottom: 2px solid #fff;
    letter-spacing: 0.1em;
}

/*コンテナー（headerとfooterをのぞくブロックを囲むブロック）
---------------------------------------------------------------------------*/
#container {
    max-width: 1400px;
    margin: 0 auto;
}

/*コンテンツ（上のcontainerの中のブロック）
---------------------------------------------------------------------------*/

.contents {
    padding: 50px 3%;
    overflow: hidden;
}

.contents section + section {
    /* ← ＋ 同じ階層（深さ）でかつ隣同士になっている要素(右)が対象*/
    padding-top: 50px;
}

/*コンテンツ内にあるh2(見出し)タグの指定*/
.contents h2 {
    margin-bottom: 20px;
    clear: both;
    font-size: 20px;
    color: #fff;
    text-align: center;
    background: #222;
    border-radius: 100px;
    padding: 0px 20px;
    letter-spacing: 0.1em;
}

/*コンテンツ内にあるh3(見出し)タグの指定*/
.contents h3 {
    clear: both;
    border: 2px solid #222;
    font-size: 18px;
    border-radius: 100px;
    padding: 0px 20px;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 20px;
}
/*コンテンツ内にあるp(段落)タグ設定*/
.contents p {
    padding: 0px 20px 20px;
}

/*微調整。*/
#contents p + p {
    margin-top: -5px;
}
#contents h2 + p,
#contents h3 + p {
    margin-top: -10px;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/

.new dl {
    padding-left: 20px;
    margin-bottom: 15px;
}

.new dt {
    float: left;
    width: 9em;
    letter-spacing: 0.1em;
}

.new dd {
    padding-left: 9em;
}

.newicon {
    background: #f00;
    color: #fff;
    font-size: 70%;
    padding: 2px 5px;
    border-radius: 2px;
    margin: 0 5px;
    line-height: 1.5;
    vertical-align: text-top;
}

/*テーブル
---------------------------------------------------------------------------*/
.company table {
    width: 100%;
    table-layout: fixed;
}

.company caption {
    font-weight: bold;
    border: 1px solid #999;
    border-bottom: none;

    background: #dfdfdf;
    padding: 10px;
}

.company table,
.company table td,
.company table th {
    padding: 10px;
    border: 1px solid #999;
}

.company th {
    text-align: center;
    width: 30%;
}

/*Serviceページ
---------------------------------------------------------------------------*/

.list {
    border-bottom: 1px solid #999;
    padding: 20px;
    overflow: hidden;
    line-height: 1.5;
}

.list:first-of-type {
    border-top: 1px solid #999;
}

.list img {
    float: left;
    width: 20%;
    margin-right: 3%;
}

.list h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.list p {
    padding: 0 !important;
}

/*contactページ
---------------------------------------------------------------------------*/
.contact {
    text-align: center;
}
.center{
	text-align: center;
}

.contact img {
    width: 300px;
    margin-bottom: 20px;
}

/*フッター設定
---------------------------------------------------------------------------*/

footer {
    background: #222;
    text-align: center;
    color: #fff;
    font-size: 85%;
}
footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}
footer span {
    display: block;
    font-size: 80%;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
    list-style: disc;
    padding: 0 20px 20px 55px;
}
ol {
    padding: 0 20px 20px 42px;
}
/*その他
---------------------------------------------------------------------------*/
.color1,
.color1 a {
    color: #ff4765;
}
.look {
    background: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    border: 1px solid #ccc;
}
.big1 {
    font-size: 40px;
    letter-spacing: 0.2em;
}

/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 800px) {
    /*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/

    header img {
        width: 30%;
        left: 35%;
    }
}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
    header img {
        width: 50%;
        left: 25%;
    }
    /*コンテナー
---------------------------------------------------------------------------*/
    .container {
        font-size: 12px;
        font-size: 2.93vw;
    }

    /*コンテンツ
---------------------------------------------------------------------------*/
    #contents h2 {
        font-size: 16px;
    }

    #contents h3 {
        font-size: 14px;
    }

    /*Serviceページ
---------------------------------------------------------------------------*/

    .list h4 {
        font-size: 16px;
    }

    /*ul.disc,olタグ
---------------------------------------------------------------------------*/
    ul.disc {
        padding: 0 0px 20px 35px;
    }
    ol {
        padding: 0 0px 20px 35px;
    }

    .big1 {
        font-size: 22px;
        letter-spacing: normal;
    }
}
