@charset "utf-8";

/* ==========================================================
   MinLook Contact Form
   メールフォーム用オリジナルデザイン
========================================================== */

/* ----------------------------------------------------------
   リセット
---------------------------------------------------------- */

html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
code,
form,
fieldset,
legend,
table,
th,
td,
caption,
a,
article,
aside,
nav,
section,
figure,
figcaption,
footer,
header,
main,
audio,
canvas,
video,
menu,
details {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 100%;
    vertical-align: baseline;
}

fieldset,
legend,
img {
    border: 0;
}

article,
aside,
nav,
section,
figure,
figcaption,
footer,
header,
main,
menu,
details {
    display: block;
}

[hidden] {
    display: none;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ----------------------------------------------------------
   全体
---------------------------------------------------------- */

body {
    background: #f7f7f7;
    color: #222;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        YuGothic,
        Meiryo,
        sans-serif;

    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    word-wrap: break-word;
}

/* ----------------------------------------------------------
   見出し・文章
---------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    list-style: none;
}

img {
    vertical-align: middle;
}

strong,
b {
    font-weight: 600;
}

hr {
    height: 1px;
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

/* ----------------------------------------------------------
   リンク
---------------------------------------------------------- */

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    opacity: 0.65;
}

/* ----------------------------------------------------------
   フォーム
---------------------------------------------------------- */

input,
textarea,
select,
button {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
}

input,
button {
    line-height: normal;
    vertical-align: middle;
}

input[type="text"],
input[type="password"],
textarea,
select {
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    color: #222;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

input[type="text"],
input[type="password"],
select {
    min-height: 50px;
    padding: 12px 15px;
}

textarea {
    min-height: 190px;
    padding: 14px 15px;
    resize: vertical;
    overflow: auto;
}

/* フォーカス */

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #222;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* チェックボックス */

input[type="checkbox"] {
    cursor: pointer;
}

/* ----------------------------------------------------------
   メインコンテナ
---------------------------------------------------------- */

#wrapper {
    width: min(900px, calc(100% - 40px));
    margin: 60px auto;
    background: #fff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* ----------------------------------------------------------
   ヘッダー
---------------------------------------------------------- */

#header {
    padding: 45px 50px 20px;
    text-align: center;
    background: #fff;
}

/* ----------------------------------------------------------
   メイン
---------------------------------------------------------- */

#main {
    padding: 20px 50px 55px;
}

/* ----------------------------------------------------------
   セクション
---------------------------------------------------------- */

.section {
    margin-bottom: 45px;
}

.section:last-child {
    margin-bottom: 0;
}

.section__ttl {
    padding: 0 0 18px;
    margin-bottom: 30px;

    color: #222;
    background: transparent;

    border-bottom: 1px solid #222;

    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.section__body {
    padding: 0;
}

/* ----------------------------------------------------------
   入力ブロック
---------------------------------------------------------- */

.block {
    margin-bottom: 28px;
}

.block:last-child {
    margin-bottom: 0;
}

.block__ttl {
    margin-bottom: 9px;

    color: #222;
    font-size: 14px;
    font-weight: 600;
}

.block__body {
    color: #555;
}

/* ----------------------------------------------------------
   必須表示
---------------------------------------------------------- */

.red_txt {
    color: #d93636;
    font-size: 12px;
    font-weight: 500;
}

/* ----------------------------------------------------------
   説明文
---------------------------------------------------------- */

#txt_explain {
    margin-bottom: 30px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

/* ----------------------------------------------------------
   テーブル
---------------------------------------------------------- */

.table {
    width: 100%;
    margin-bottom: 25px;
    border: 0;
    border-collapse: collapse;
}

.table th {
    width: 30%;
    padding: 18px 20px;

    background: #222;
    color: #fff;

    border-bottom: 1px solid #ddd;

    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
}

.table td {
    padding: 18px 20px;

    background: #fff;
    color: #222;

    border-bottom: 1px solid #e5e5e5;

    font-size: 14px;
    vertical-align: middle;
}

/* ----------------------------------------------------------
   ボタン
---------------------------------------------------------- */

.button_box {
    clear: both;
    padding: 20px 0 0;
    text-align: center;
}

input[type="submit"],
input[type="button"] {
    min-width: 190px;
    padding: 14px 35px;

    background: #222;
    color: #fff;

    border: none;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

input[type="submit"]:disabled,
input[type="button"]:disabled {
    cursor: default;
    opacity: 0.5;
}

/* ----------------------------------------------------------
   フッター
---------------------------------------------------------- */

#footer {
    margin-top: 0;
    padding: 25px 20px;

    background: #222;
    color: #fff;

    text-align: center;
    font-size: 12px;
}

/* ----------------------------------------------------------
   汎用クラス
---------------------------------------------------------- */

.clear,
.cf {
    clear: both;
}

.clearfix:before,
.clearfix:after,
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.clearfix:after,
.cf:after {
    clear: both;
}

.tac {
    text-align: center !important;
}

.tal {
    text-align: left !important;
}

.tar {
    text-align: right !important;
}

/* ----------------------------------------------------------
   スマートフォン
---------------------------------------------------------- */

@media screen and (max-width: 700px) {

    #wrapper {
        width: calc(100% - 24px);
        margin: 20px auto;
        border-radius: 12px;
    }

    #header {
        padding: 30px 20px 15px;
    }

    #main {
        padding: 20px 20px 35px;
    }

    .section {
        margin-bottom: 35px;
    }

    .section__ttl {
        margin-bottom: 22px;
        padding-bottom: 14px;
        font-size: 21px;
    }

    .section__body {
        padding: 0;
    }

    .block {
        margin-bottom: 22px;
    }

    .table,
    .table tbody,
    .table tr,
    .table th,
    .table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .table th {
        padding: 12px 14px;
        border-bottom: 0;
    }

    .table td {
        padding: 12px 14px 18px;
    }

    input[type="submit"],
    input[type="button"] {
        width: 100%;
        min-width: 0;
    }
}