
/*フォントの種類やサイズを指定します*/
html {
    font-family: 'Kosugi Maru', 游ゴシック体, 'Yu Gothic', YuGothic, メイリオ, 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #333;
    font-size: 62.5%;
    line-height: 1.5;
    overflow: hidden;
    overflow-y: scroll;
}

body {
    font-size: 1.6rem;
    min-width: 1100px;
    margin: 0;
}

/*タブレットサイズになったときの最大サイズを指定しています*/
@media (max-width: 1079px) {
    body { min-width: 100%; }
}

/*スマホサイズになったときの最少サイズを指定しています*/
@media screen and (min-width: 0px) and (max-width: 599px) {
    body { min-width: 320px; }
}

/*見出しタグの指定をしています*/
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 2;
    margin-top: 0px;
    margin-bottom: 0px;
}

/*タブレットサイズ・スマホサイズになったときの見出しタグの行間の指定をしています*/
@media (max-width: 1079px) {
    h1, h2, h3, h4, h5, h6 { line-height: 1.6; }
}

@media (max-width: 740px) {
    h1, h2, h3, h4, h5, h6 { line-height: 1.4; }
}

/*ボーダーを余白にふくめて計算を簡単にします*/
h1, h2, h3, h4, h5, h6,
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary,
div, span,
p,
ul, ol, li,
dl, dt, dd,
table, tr, th, td,
a, img,
input,textarea,select,
*:after, *:before { box-sizing: border-box; }

figure {
    margin: 0;
    padding: 0;
}

/*テキストを使うタグの指定です*/
p,
li,
dl,
table {
    line-break: strict;
    word-break: break-strict;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
}

small { font-size: 12px; }

@media (max-width: 1079px) {
    p,
    li,
    dl,
    table {
        font-size: 1.4rem;
        line-height: 1.7;
    }
}

@media (max-width: 740px) {
    p,
    li,
    dl,
    table {
        line-height: 1.5;
    }
}

/*テーブルの中での改行の指定をしています*/
tr { word-break: break-all; }

/*折り返し禁止のクラスです*/
.nw { white-space: nowrap; }

/*画像と画像のあいだの余白を消します*/
img {
    vertical-align: top;
    max-width: 100%;
}

/*ドラッグして選択したときの文字色と文字の背景色です*/
::selection {
    background: #7cc6cf;
    color: #ffffff;
}

::-moz-selection {
    background: #7cc6cf;
    color: #ffffff;
}

/*リンクの文字とスタイルをしています*/
a {
    background: transparent;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

a:focus { outline:none; }

a:hover { text-decoration: underline; }

/*afterまたはoverflowを使ってクリアするクラスです*/
/* --after型-- */
.cfx:after {
    content: "";
    display: block;
    clear: both;
}

/* --overflow型-- */
.cfxo { overflow: hidden; }

/*リストタグのスタイルを消します*/
ul,
.li_none {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

dd { margin-left: 0; }

/*フォームのための指定です*/

input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
}

input[type="radio"] { cursor: pointer; }

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    outline: none;
    background: transparent;
}
select option { padding: 0px 5px; }

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    resize: none;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
}

form label { cursor: pointer; }

button,
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

input:placeholder { color: #999; }

input:-ms-input-placeholder { color: #999; }

/* iOSでのデフォルトスタイルをリセット */

input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration { display: none; }

input[type="submit"]::focus,
input[type="button"]::focus { outline-offset: -2px; }

input[type="submit"],
input[type="button"],
input[type="text"],
input[type="email"],
input[type="image"],
textarea{
   -webkit-appearance: none;
   border-radius: 0;
}