@charset "utf-8";
/******************************************************

        スマートフォンサイト用

******************************************************/
@media screen and (max-width: 767px) {



/******************************************************/
/* header  */
/******************************************************/
header #gn {
    background: #00523a url(../images/top_main_bg.png) no-repeat center center;
    background-size: cover;
    color: #fff;
    height: 320px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
@keyframes view {
    0%  {opacity: 0; transform: scale(0.98);}
    100%  {opacity: 1; transform: scale(1);}
}
header #logo {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}
header #logo img {
    width: 100px;
    height: 200px;
    animation: view 0.8s linear forwards;
}


/******************************************************/
/* company.html 会社案内 */
/******************************************************/
#company table.profile {
    border: none;
    margin: auto;
}
#company table.profile th {
    border: none;
    border-top: 1px solid #e5e5e5;
    white-space: nowrap;
}
#company table.profile td {
    border: none;
    border-top: 1px solid #e5e5e5;
}


/******************************************************/
/* privacy.html 個人情報保護方針  */
/******************************************************/
#privacy .privacypolicy {
    text-align: left;
}
#privacy h3 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 36px 0 16px;
    text-align: center;
}
#privacy h4 {
    font-weight: 600;
    line-height: 1.45;
    margin: 20px 0 8px;
}
#privacy ul ul {
    margin-top: 12px;
}
#privacy ul li {
    padding-left: 1em;
    text-indent: -1em;
    margin-top: 5px;
    line-height: 1.65;
}
#privacy .madoguchi {
    text-align: center;
}


/******************************************************/
/* contact.html お問い合わせ  */
/******************************************************/
/* フォーム */
form#mailformpro {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin-top: 30px;
}
form#mailformpro ::placeholder {
  color: #bbb;
}
form#mailformpro .agreement {
    margin-top: 16px;
    line-height: 1.45;
}
form#mailformpro label {
    white-space: normal !important;
}
form#mailformpro .agreement label {
    display: flex;
}
form#mailformpro .agreement label input {
    flex-shrink: 0;
    margin: 4px 8px 0 0;
}
form#mailformpro .must {
    background: #e60012;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
    white-space: nowrap;
    padding: 3px 6px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    order: 1;
    float: none;
    margin: 0 0 0 10px;
}
form#mailformpro .optional {
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
    white-space: nowrap;
    padding: 2px 5px;
    border: 1px solid #78655b;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    order: 1;
    float: none;
    margin: 0 0 0 10px;
}
form#mailformpro table {
    border: none;
    display: block;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
}
form#mailformpro table thead,
form#mailformpro table tbody,
form#mailformpro table tr {
    display: block;
}
form#mailformpro table tr {
    border: none;
    margin-bottom: 18px;
}
form#mailformpro table tr:first-of-type {
    margin-top: 0;
}
form#mailformpro table th {
    display: block;
    border: none;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
form#mailformpro table td {
    display: block;
    border: none;
    text-align: justify;
    padding: 6px 0 10px;
}
form#mailformpro table th strong {
    font-weight: 600;
}
form#mailformpro table td .hosoku {
    line-height: 1.35;
    letter-spacing: normal;
    display: inline-block;
    margin-top: 2px;
    width: 100%;
}
form#mailformpro table td .note {
    margin-top: 14px;
    margin-bottom: 4px;
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1.35;
    letter-spacing: normal;
}
form#mailformpro table ul,
form#mailformpro table ol {
    list-style: none;
}
form#mailformpro table select,
form#mailformpro table textarea {
    margin-right: 5px;
    padding: 10px;
    font-size: 1.6rem;
    line-height: 1.35;
    border: 2px solid #808080;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    max-width: 100%;
}
form#mailformpro table input {
    margin:0 5px 3px;
    max-width: calc(100% - 10px);
    margin:0 0 3px;
    max-width: 100%;
}
form#mailformpro table input[type=text],
form#mailformpro table input[type=tel],
form#mailformpro table input[type=email] {
    width: 100% !important;
    padding: 10px;
    font-size: 1.6rem;
    line-height: 1.35;
    border: 2px solid #808080;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
form#mailformpro table td textarea {
    width: auto !important;
    height: 7em !important;
    margin: 0;
}
form#mailformpro table label {
    border-radius: 3px;
    padding: 6px 12px 6px 8px;
    margin: 0 3px 3px 0;
    border: 1px solid #ddd;
    line-height: 1.35;
    display: block;
}
form#mailformpro table label.mfp_not_checked {
    padding: 6px 12px 6px 8px;
    border: 1px solid #ddd;
}
form#mailformpro table label.mfp_checked {
    padding: 6px 12px 6px 8px;
    border: solid 1px #aaaaaa;
    background-color: #ffffff;
    box-shadow: none;
}
form#mailformpro .mfp_buttons {
    text-align: center;
    margin: 16px 0 0;
}
div.mfp_buttons button#mfp_button_send,
form#mailformpro button[type="submit"] {
    position: relative;
    padding: 0 5px 0 0;
    max-width: 100%;
    width: 100%;
    height: 50px;
    border: none;
    background: linear-gradient(270deg, #00523a 0%, #07a33e 100%);
    color: #ffffff;
    text-shadow: none;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 0;
}
div.mfp_buttons button#mfp_button_send::after,
form#mailformpro button[type="submit"]::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(45deg);
}
div.mfp_buttons button#mfp_button_cancel,
form#mailformpro button[type="reset"] {
    border-radius: 0;
    padding: 8px 0;
    border: solid 1px #CCC;
    background: #EEE;
    text-shadow: none;
    font-size: 12px;
    line-height: 1;
    letter-spacing: normal;
    cursor: pointer;
    outline: none;
    width: 50%;
    margin-top: 10px;
}
form#mailformpro table#mfp_confirm_table {
    border-spacing: 0px;
    border-collapse: collapse;
    width: 100%;
    margin: auto;
}
form#mailformpro table#mfp_confirm_table tr th,
form#mailformpro table#mfp_confirm_table tr td {
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.5;
    border-top: solid 1px #CCC;
    padding: 8px 6px;
}
form#mailformpro table#mfp_confirm_table tr th {
    font-size: 1.5rem;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
    width: auto;
}
form#mailformpro table#mfp_confirm_table tr td {
    font-size: 1.5rem;
    line-height: 1.5;
    word-break: break-all;
}
form#mailformpro div.validation-advice {
    white-space: nowrap;
    background: url("../media/pointred.gif") no-repeat scroll 0px 2px transparent;
    color: #CC0000;
    font-size: 82%;
    margin: 3px;
    padding-left: 15px;
}
/* 確認画面オーバーレイ */
#mfp_overlay_inner table#mfp_confirm_table tr th,
#mfp_overlay_inner table#mfp_confirm_table tr td {
    padding: 12px 6px 11px;
    font-size: 1.5rem;
    line-height: 1.45;
    letter-spacing: normal;
}


/******************************************************/
/* thanks.html お問い合わせ完了  */
/******************************************************/
#thanks #mfp_thanks {
    border: 2px solid #fca09a;
    padding: 30px 20px;
    margin: 30px 0 20px;
    font-size: 1.8rem;
    line-height: 1.65;
    text-align: center;
}
#thanks .message {
    display: table;
    margin: 0 auto;
}
#thanks .red {
    color: #E60012;
}
#thanks p + p {
    margin-top: 1em;
}




}