@charset "utf-8";

/* ========== リセット CSS ========== */

/* 要素のフォントサイズやマージン・パディングをリセットしています */

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%;
    font-style: normal;
    vertical-align: baseline;
    background: transparent;
}

/*行の高さをフォントサイズと同じにしています*/
body {
    line-height: 1;
}
 
/*新規追加要素のデフォルトはすべてインライン要素になっているので、section要素などをブロック要素へ変更しています*/
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}
 
/*nav要素内ulのマーカー（行頭記号）を表示しないようにしています*/
nav ul {
    list-style:none;
}
 
/*引用符の表示が出ないようにしています*/
blockquote, q {
    quotes:none;
}
 
/*blockquote要素、q要素の前後にコンテンツを追加しないように指定しています*/
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
 
/*a要素のフォントサイズなどをリセットしフォントの縦方向の揃え位置を親要素のベースラインに揃えるようにしています*/
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
 
/* ins要素のデフォルトをセットし、色を変える場合はここで変更できるようにしています */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
 
/* mark要素のデフォルトをセットし、色やフォントスタイルを変える場合はここで変更できるようにしています
また、mark要素とは、文書内の検索結果で該当するフレーズをハイライトして、目立たせる際に使用するようです。*/
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
 
/*テキストに打ち消し線が付くようにしています*/
del {
    text-decoration: line-through;
}
 
/*IEではデフォルトで点線を下線表示する設定ではないので、下線がつくようにしています
また、マウスオーバー時にヘルプカーソルの表示が出るようにしています*/
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
 
/*隣接するセルのボーダーを重ねて表示し、間隔を0に指定しています*/
table {
    border-collapse:collapse;
    border-spacing:0;
}
 
/*水平罫線のデフォルトである立体的な罫線を見えなくしています*/
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
 
/*縦方向の揃え位置を中央揃えに指定しています*/
input, select {
    vertical-align:middle;
}

/* ========== 全体定義 ========== */

html {
    margin: 0;
	font-family:"ヒラギノ角ゴ Pro W3",メイリオ,Osaka,Arial,Verdana
,"ＭＳ Ｐゴシック",sans-serif;
	font-size : 16px;
	background: #fff;
	color: #333;
}

.container {
    max-width: 600px;
}

.container-sub {
    max-width: 600px;
    margin: 0 20px;
}

@media screen and (min-width:600px) {

    html {
        font-size: 16px;
    }

    body {
        background: url(background-pc.jpg);
        background-attachment:fixed;
        background-repeat: no-repeat;
        background-size: cover;
        
    }

    .container {
        max-width: 1024px;
        margin: 0 auto;
        width: inherit;
    }

    .container-sub {
        max-width: 850px;
        margin: 0 auto;
    }

}

/* ========== 見出し ========== */

h1 {
	font-size: 5vw;
    font-weight: 100;
}

h2 {
	font-size: 1.1rem;
    font-weight: 100;
    margin: 0;
}

@media screen and (min-width:600px) {

    h1 {
        font-size: 2rem;
    }

}

/* ========== ヘッダー ========== */

header {
        background-color: #1f5ea4;
}

.header-area {
    align-items: center;
    display: flex;
    -js-display: flex;
    flex-flow: column;
    justify-content: center;
}

.logo img {
    padding: 16px;
    width: 116px;
}

.navigation {
    margin: 0;
    padding: 0;
    width: 100%;
}

.navigation ul {
    background-color: #727171;
    display: flex;
    -js-display: flex;
    flex-flow: row;
    justify-content: center;
	margin: 0;
}

.navigation li {
    border-left: 1px solid #999;
}

.navigation li:last-child {
    border-right: 1px solid #999;
}

.navigation a {
    color: #fff;
	display: block;
    font-size: .9rem;
	padding: 10px 18px;
	text-decoration: none;
}

.color1 {
    background-color: #555;
}

@media screen and (min-width:600px) {

    .header-area {
    align-items: flex-end;
    flex-flow: row;
    justify-content: space-between;
    }

    .logo img {
    padding: 12px;
    width: 140px;
    }

    .navigation {
    width: inherit;
    }

    .navigation ul {
    background-color: #1f5ea4;
    }

    .navigation li {
    border: none;
    }

    .navigation li:last-child {
    border: none;
    }

    .navigation a {
    font-size: .8rem;
	text-decoration: none;
    }

    .navigation a:hover {
        color: #999;
    }

    .color1 {
    background-color: #1f5ea4;
    }
}

/* ========== メインビジュアル ========== */

.main-visual, .main-visual2, .main-visual3, .main-visual4 {
    background: none;
    line-height: 0;
}

.main-visual img, .main-visual2 img, .main-visual3 img, .main-visual4 img {
    max-width: 100%;
}

@media screen and (min-width:600px) {

    .color2 {
        background-color: #777;
    }

    .main-visual, .main-visual2, .main-visual3, .main-visual4 {
        background-size: contain;
        height: 168px;
        margin: 0 auto;
        max-width: 100%;
    }

    .main-visual img, .main-visual2 img, .main-visual3 img, .main-visual4 img {
        display: none;
    }

    .main-visual {
        background: url(main-image-pc.jpg) no-repeat center center;
    }


    .main-visual2 {
        background: url(./company/main-image2-pc.jpg) no-repeat center center;
    }

    .main-visual3 {
        background: url(./access/main-image3-pc.jpg) no-repeat center center;
    }
    
    .main-visual4 {
        background: url(./contact/main-image4-pc.jpg) no-repeat center center;
    }
}


/* ========== メインコンテンツ ========== */

@media screen and (min-width:600px) {
    .earth {
        background: url("earth-pc.png") no-repeat;
        background-position: 100% 100%;
        background-repeat: no-repeat;
        background-size: 30%;
        
    }
}

/* TOP */

.catch-area {
    background: url("earth-sp.png") no-repeat left bottom, url("background-sp.jpg") no-repeat;
    padding-top: 70px;
    max-width: 100%;
}

.catch-area p:nth-child(-n+2) {
    font-size: 6vw;
    font-weight: bold;
    line-height: 2;
    text-align: center;
}

.catch-area p:nth-child(n+3) {
    font-size: 3vw;
    line-height: 2.5;
    text-align: center;
}

.catch-area p:nth-child(3) {
    margin-top: 40px;
}

.catch-area p:nth-child(4) {
    padding-bottom: 70px;
}

@media screen and (min-width:600px) {

    .catch-area {
        background: none;
        padding-top: 200px;
    }

    .catch-area p:nth-child(-n+2) {
    font-size: 3.2rem;
    }

    .catch-area p:nth-child(n+3) {
    font-size: 1.6rem;
    }

    .catch-area p:nth-child(3) {
    margin-top: 80px;
    }

    .catch-area p:nth-child(4) {
    padding-bottom: 150px;
    }
}

/* サブページ */

.headline {
    background: url(title-bar.png) no-repeat;
    background-size: 100% auto;
    margin: 60px 0 30px;
}

.headline h1 {
    padding-left: 30px;
    line-height: 2.8;
}

@media screen and (min-width:600px) {

    .headline {
        width: 534px;
    }

    .headline h1 {
    line-height: 2.5;
    }

}

/* 会社案内 */

.company {
    margin: 0 30px;
}

.company h2{
    color: #2163af;
    margin-bottom: 10px;
}

.company table {
    font-size: .8rem;
    margin: 0 0 40px 20px;
}

.company tr {
    border: 1px solid #999;
}

.company th {
    background-color: #dcdddd;
    border-right: 1px solid #999;
    padding:10px;
    text-align: left;
    white-space: nowrap;
}

.company td {
    padding:10px;
}

.company li {
    font-size: .8rem;
    list-style-type: none;
    margin-left: 20px;
    padding-top: 14px;
}

.company p {
    font-size: .8rem;
    margin-left: 20px;
}

.company div {
    margin-bottom: 40px;
}

.company div:last-child {
    margin: 0;
    padding-bottom: 60px;
}

/* アクセス */

.access img {
    width: 100%;
}

.access iframe{
    margin-bottom: 60px;
    width: 100%;
}

.container2 {
    border: 1px solid #333;
    line-height: 1.5;
    margin: 20px 0;
    padding: 10px;
}

/* お問い合わせ */

.contact-sp {
    line-height: 1.4;
    margin: 0 20px;
}

.contact-sp p {
    margin: 10px 0;
}

.contact-sp p:last-child {
    margin-bottom: 60px;
    text-align: center;
}

.contact-pc {
    display: none;
}

@media screen and (min-width:600px) {

    .contact-pc {
    display: block;
    line-height: 1.4;
    margin: 0 20px;
}

.contact-pc p {
    margin: 10px 0;
}

.contact-pc p:last-child {
    margin:0 0 60px 120px;
    text-align: left;
}
    

    .contact-sp {
        display: none;
    }

    .contact-pc form textarea[cols="50"] {
    width:470px;
}

}

/* other */

.thanks img {
    width: 100%;
}

@media screen and (min-width:600px) {

    .thanks {
        margin: 0 auto;
        width: 400px;
    }
}

/* ========== フッター ========== */

footer p {
    background-color: #1f5ea4;
    color: #fff;
    font-size: .8rem;
    padding: 10px 0;
    text-align: center;
}