/* =================================== */
/*	Basic Style
/* =================================== */

body {
    background-color: #fcf4e0;
    font-family: "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "Noto Sans JP",
        "ＭＳ Ｐゴシック", sans-serif;
    line-height: 21px;
    font-size: 13px;
    color: #6a737b;
    min-height: 100%;
}

html {
    height: 100%;
}

@media screen and (min-width: 992px) {
    .container {
        width: 970px;
        margin-bottom: 40px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        width: 750px;
    }
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 30px;
}

ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure,
p {
    margin: 0;
}

a {
    color: #38a758;

    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -ms-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

iframe {
    border: 0;
}

a,
a:focus,
a:hover {
    text-decoration: none;
    outline: 0;
}

a:focus,
a:hover {
    color: #6cb670;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    margin: 0;
}

#logo img {
    height: 30px;
}

.clear:before,
.clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

span.color {
    color: #38a758;
}

body > section,
.footer {
    padding: 0px 0;
}

.sec-title h2 {
    color: #38a758;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 30px;
    max-width: 600px;
    display: inline-block;
    margin: 0 0 20px;
    padding-bottom: 8px;
    text-align: center;
    background: url(/top/img/underline.png) repeat-x 100% 100%;
    white-space: nowrap;
    height: 38px;
    background-position: bottom;
    background-size: 70%;
}

.sec-sub-title {
    margin: 35px 0 45px;
}

.sec-sub-title p {
    font-weight: 600;
    line-height: 24px;
    font-size: 18px;
    color: #5b646e;
}

.mb50 {
    margin-bottom: 50px;
}

/*=========================================
	Header
==========================================*/

.header {
    background-color: white;
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.header__inner {
    padding: 0 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
}

/* ヘッダーのロゴ部分 */
.header__title {
    width: 220px;
    margin-top: 10px;
}

@media screen and (min-width: 960px) {
    .header__title {
        margin-top: 5px;
        width: 280px;
    }
}

.header__title img {
    display: block;
    width: 100%;
    /* height: 100%; */
}

/* ヘッダーのナビ部分 */

.header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    transition: ease 0.4s;
    padding: 0 20px;
}

@media screen and (min-width: 960px) {
    .header__nav {
        position: static;
        transform: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
        width: 50%;
    }
}

@media screen and (min-width: 960px) {
    .nav__items {
        width: 100%;
        display: flex;
        align-items: center;
        height: initial;
        justify-content: space-between;
    }
}

.nav-items {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
}

@media screen and (min-width: 960px) {
    .nav-items {
        position: inherit;
        top: 0;
        left: 0;
        transform: translate(0, 0);
    }
}

/* ナビのリンク */
.nav-items__item a {
    color: black;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
    color: black;
    font-weight: 600;
    line-height: 24px;
    font-size: 18px;
    color: #000;
}

.nav-items__item:last-child a {
    margin-bottom: 0;
}

@media screen and (min-width: 960px) {
    .nav-items__item a {
        margin-bottom: 0;
    }
}

/* ハンバーガーメニュー */

.header__hamburger {
    width: 48px;
    height: 100%;
}

.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
}

@media screen and (min-width: 960px) {
    .hamburger {
        display: none;
    }
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #38a758;
    position: relative;
    transition: ease 0.4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}

.hamburger span:nth-child(3) {
    top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

/*=========================================
	Slider
==========================================*/

#mv-box {
    padding: 0;
}

#mv-box .mv-wrap .mv {
    background-size: 100% auto;
    background-color: #fff;
    background-repeat: repeat-x;
    background-position: bottom;
    height: 680px;
    background-image: url(/top/img/background.jpg);
}

.carousel-caption {
    top: 20%;
    text-shadow: none;
    color: #38a758;
}

.carousel-caption h2 {
    font-size: 30px;
    font-weight: 300;
}

.carousel-caption h2 em {
    font-weight: 600;
    text-shadow: none;
    color: #38a758;
    font-size: 28px;
    font-style: normal;
}

.carousel-caption h3 {
    font-size: 38px;
    font-weight: 300;
    margin: 30px 0 20px;
}

.carousel-caption p {
    color: #38a758;
    font-size: 18px;
    font-weight: 300;
}

.carousel-caption p:before,
.carousel-caption p:after {
    color: #38a758;
    content: "___";
    position: relative;
    top: -8px;
}

.carousel-caption p:before {
    right: 20px;
}

.carousel-caption p:after {
    left: 20px;
}

.social-links {
    margin-top: 5%;
}

.social-links li {
    display: inline-block;
}

.social-links li a {
    color: rgba(255, 255, 255, 0.3);
    display: block;
    margin: 0 6px;
}

.social-links li a:hover {
    color: #fff;
}

.carousel-indicators {
    bottom: 10px;
    left: inherit;
    margin: 0;
    right: 30px;
    top: 49%;
    width: 0;
}

.carousel-indicators li {
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 8px;
    width: 8px;
}

.carousel-indicators .active {
    height: 8px;
    width: 8px;
}

/*=========================================
	Features
==========================================*/

.features {
    background-color: #fcf4e0;
}

.owl-controls {
    bottom: -45px;
    margin-top: 10px;
    position: relative;
    text-align: center;
}

.owl-controls .owl-page {
    display: inline-block;
}

.owl-controls .owl-page span {
    border: 1px solid #c7ced3;
    border-radius: 20px;
    display: block;
    height: 8px;
    margin: 5px 4px;
    width: 8px;
}

.owl-controls .owl-page.active span {
    background: #ffffff;
    border: 0;
}

.service-icon {
    border-radius: 50%;
    float: left;
    padding: 11px 12px;
    background-color: #ffffff;
}

.service-desc {
    margin-left: 70px;
    position: relative;
    top: 5px;
}

.service-desc h3 {
    color: #062033;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

/*=========================================
	Our Works
==========================================*/

#works {
    background-color: #fff;
}

.work-filter {
    margin-bottom: 35px;
}

.work-filter ul li {
    display: inline-block;
}

.work-filter ul li a {
    color: #062033;
    display: block;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 17px;
    border-radius: 6px;
    text-transform: capitalize;
}

.work-filter ul li a:hover,
.work-filter ul li a.active {
    background-color: #38a758;
    border-radius: 6px;
    color: #fff;
    padding: 5px 17px;
}

.mix {
    display: none;
}

.work-item {
    float: left;
    width: 25%;
    position: relative;
    overflow: hidden;
}

.work-item > img {
    display: block;
    height: auto;
    width: 100%;
}

.overlay {
    background-color: #38a758;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;

    opacity: 0;
    filter: alpha(opacity=0);

    -webkit-transition: all 450ms ease-out 0s;
    -moz-transition: all 450ms ease-out 0s;
    -o-transition: all 450ms ease-out 0s;
    transition: all 450ms ease-out 0s;

    -webkit-transform: rotateY(180deg) scale(0.5, 0.5);
    -moz-transform: rotateY(180deg) scale(0.5, 0.5);
    -ms-transform: rotateY(180deg) scale(0.5, 0.5);
    -o-transform: rotateY(180deg) scale(0.5, 0.5);
    transform: rotateY(180deg) scale(0.5, 0.5);
}

.work-item:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);

    -webkit-transform: rotateY(0deg) scale(1, 1);
    -moz-transform: rotateY(0deg) scale(1, 1);
    -ms-transform: rotateY(0deg) scale(1, 1);
    -o-transform: rotateY(0deg) scale(1, 1);
    transform: rotateY(0deg) scale(1, 1);
}

.work-item .overlay a {
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    margin-top: 20%;
    padding: 7px 10px;
}

.work-item .overlay a:hover {
    color: #fff;
}

.work-item .overlay h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin: 25px 0 8px;
}

.work-item .overlay p {
    font-size: 14px;
    line-height: 24px;
}

/* 新しい白枠キャプションスタイル */
.work-caption {
    background-color: #ffffff;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 15px;
    text-align: center;
    color: #333;
    margin: 0;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-caption p {
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 3px 0;
    color: #333;
    font-weight: bold;
}

.work-caption p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 - サービス紹介セクション */
@media (max-width: 768px) {
    .work-item {
        width: 50% !important; /* タブレット: 2列表示 */
        margin-bottom: 20px;
    }

    .work-caption {
        padding: 10px;
        min-height: 50px;
        bottom: 5px;
        left: 5px;
        right: 5px;
    }

    .work-caption p {
        font-size: 14px;
        line-height: 18px;
        margin: 0 0 2px 0;
    }
}

/* PC表示時も#mv-titleを表示（スマホ・タブレットと同様） */
@media (min-width: 769px) {
    /* h2タイトルセクション - 白背景でヘッダー下に配置（PCも同様） */
    #mv-title {
        background-color: #fff;
        width: 100%;
        padding: 20px 15px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-top: 50px;
    }

    #mv-title h2 {
        color: #38a758;
        text-shadow: none;
        font-size: 24px;
        margin: 0;
        padding: 0;
    }

    #mv-title h2 em {
        color: #38a758;
        text-shadow: none;
        font-size: 38px;
        font-style: normal;
    }

    /* PC表示も背景画像を縮小 - テキストに合わせて */
    #mv-box .mv-wrap .mv {
        height: auto;
        min-height: 350px;
        background-size: cover;
        background-position: center center;
        padding: 60px 0;
    }

    /* PC用キャプション調整 - h3のみ画像に重ねて表示 */
    .carousel-caption {
        width: 60%;
        left: 50%;
        top: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.35);
        padding: 35px 30px;
        border-radius: 15px;
        margin: 0;
    }

    .carousel-caption h3 {
        color: #fff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin: 0;
        font-size: 38px;
    }

    .carousel-caption h3 a {
        color: #fff;
        text-decoration: underline;
        font-weight: bold;
    }

    .carousel-caption h3 .color {
        color: #fff;
    }
}

@media (max-width: 480px) {
    .work-item {
        width: 100% !important; /* スマホ: 1列表示 */
        margin-bottom: 15px;
    }

    .work-caption {
        padding: 8px;
        min-height: 40px;
        bottom: 3px;
        left: 3px;
        right: 3px;
    }

    .work-caption p {
        font-size: 14px;
        line-height: 18px;
        margin: 0 0 1px 0;
        font-weight: 600;
    }

    /* サービス紹介のタイトル調整 */
    .sec-title h2 {
        font-size: 24px;
        white-space: normal;
        height: auto;
        margin: 0 0 20px;
        padding-bottom: 8px;
    }

    /* プロジェクト全体の調整 */
    .project-wrapper {
        text-align: center;
    }

    /* h2タイトルセクション - 白背景でヘッダー下に配置（スマホのみ） */
    #mv-title {
        background-color: #fff;
        width: 100%;
        padding: 15px 10px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-top: 50px;
    }

    #mv-title h2 {
        color: #38a758;
        text-shadow: none;
        font-size: 18px;
        margin: 0;
        padding: 0;
    }

    #mv-title h2 em {
        font-size: 22px;
        color: #38a758;
        text-shadow: none;
        font-style: normal;
    }

    /* メインビジュアルの高さ調整 - テキストに合わせて縮小 */
    #mv-box .mv-wrap .mv {
        height: auto;
        min-height: 250px;
        background-size: cover;
        background-position: center top;
        padding: 40px 0;
    }

    /* h3は背景画像の上に重ねて表示 */
    .carousel-caption h3 {
        font-size: 24px;
        margin: 0;
        color: #fff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .carousel-caption h3 a {
        color: #fff;
        text-decoration: underline;
        font-weight: bold;
    }

    .carousel-caption h3 a:hover {
        color: #f0f0f0;
    }

    .carousel-caption p {
        font-size: 14px;
        color: #fff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    /* スマホ用キャプション調整 - h3のみ画像に重ねて表示、縦サイズを縮小 */
    .carousel-caption {
        width: 90%;
        left: 50%;
        top: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.4);
        padding: 25px 20px;
        border-radius: 15px;
        margin: 0;
    }

    .carousel-caption h3 .color {
        color: #fff;
    }
}

/* タブレット用の高さ調整 */
@media (max-width: 768px) and (min-width: 481px) {
    /* h2タイトルセクション - 白背景でヘッダー下に配置（タブレットのみ） */
    #mv-title {
        background-color: #fff;
        width: 100%;
        padding: 18px 15px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-top: 50px;
    }

    #mv-title h2 {
        color: #38a758;
        text-shadow: none;
        font-size: 20px;
        margin: 0;
        padding: 0;
    }

    #mv-title h2 em {
        color: #38a758;
        text-shadow: none;
        font-size: 20px;
        font-style: normal;
    }

    #mv-box .mv-wrap .mv {
        height: auto;
        min-height: 300px;
        background-size: cover;
        background-position: center top;
        padding: 50px 0;
    }

    /* タブレット用キャプション調整 - h3のみ画像に重ねて表示、縦サイズを縮小 */
    .carousel-caption {
        width: 85%;
        left: 50%;
        top: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.35);
        padding: 30px 25px;
        border-radius: 15px;
        margin: 0;
    }

    .carousel-caption h3 {
        color: #fff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin: 0;
    }

    .carousel-caption h3 a {
        color: #fff;
        text-decoration: underline;
        font-weight: bold;
    }

    .carousel-caption h3 .color {
        color: #fff;
    }
}

/*=========================================
	Our Team Member
==========================================*/

.member-thumb {
    width: 273px;
    position: relative;
}

.member-thumb .overlay h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin: 10px 0;
}

.member-thumb .overlay {
    font-size: 16px;
    padding: 20px;
    line-height: 24px;
}

.team-member h4 {
    color: #062033;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin: 15px 0 8px;
}

.member-thumb:hover .overlay {
    cursor: pointer;
    opacity: 1;
    filter: alpha(opacity=100);

    -webkit-transform: rotateY(0deg) scale(1, 1);
    -moz-transform: rotateY(0deg) scale(1, 1);
    -ms-transform: rotateY(0deg) scale(1, 1);
    -o-transform: rotateY(0deg) scale(1, 1);
    transform: rotateY(0deg) scale(1, 1);
}

.team-member:hover h4 {
    color: #38a758;
}

.team-member .social-links {
    margin-top: 24%;
}

.team-member .social-links li a {
    background-color: #0d7c67;
    color: #fff;
    height: 42px;
    padding: 10px 0 0;
    width: 42px;
}

/*=========================================
	Some fun facts
==========================================*/

#facts {
    background-color: #ffffff;
    background-attachment: fixed !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
}

.facts .devider:before,
.facts .devider:after {
    color: #737c85;
}

.facts .devider i {
    color: #fff;
}

.parallax-overlay {
    background-color: rgba(6, 32, 51, 0.8);
    padding: 70px 0;
}

.counters-item {
    color: #fff;
}

.counters-item i {
    border: 1px solid #737c85;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    height: 120px;
    margin: 0 0 35px;
    padding: 40px 0 0;
    width: 120px;
}

.counters-item strong {
    display: block;
    font-size: 60px;
    font-weight: 600;
    line-height: 60px;
}

.counters-item p {
    font-size: 18px;
    line-height: 24px;
    margin-top: 15px;
    text-transform: uppercase;
}

/*=========================================
	Contact Us
==========================================*/

#contact {
    padding-bottom: 0;
    background-color: #fff;
}

.contact-address h3 {
    color: #062033;
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 25px;
}

.contact-address p {
    line-height: 24px;
}

.contact-form h3 {
    color: #062033;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 25px;
}

/* 新しいお問い合わせフォームスタイル */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group.half-width {
    flex: 1 1 48%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.form-group .required {
    color: #e74c3c;
    font-size: 14px;
}

.contact-form-wrapper .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form-wrapper .form-control:focus {
    outline: none;
    border-color: #38a758;
    box-shadow: 0 0 0 3px rgba(56, 167, 88, 0.1);
}

.contact-form-wrapper .form-control::placeholder {
    color: #adb5bd;
    font-size: 14px;
}

.contact-form-wrapper .textarea-control {
    resize: vertical;
    min-height: 120px;
}

/* チェックボックスグループ */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    position: relative;
    margin: 0;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid #dee2e6;
    min-width: 140px;
    justify-content: center;
}

.checkbox-label:hover {
    background: #f0f8f3;
    border-color: #38a758;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(56, 167, 88, 0.1);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    position: relative;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ced4da;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #38a758;
    border-color: #38a758;
    transform: scale(1.1);
}

.checkmark:after {
    display: none !important;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: none !important;
}

/* チェック状態の親要素スタイル */
.checkbox-label input:checked {
    /* 親要素のスタイルをJSで制御する */
}

/* CAPTCHAセクション */
.captcha-group {
    flex: 1 1 100%;
}

.captcha-container {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    flex-shrink: 0;
}

.captcha-image img {
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.captcha-image img:hover {
    border-color: #38a758;
    transform: scale(1.05);
}

/* エラー表示 */
label.error {
    color: #e74c3c;
    font-size: 13px;
    font-weight: normal;
    margin-top: 4px;
    display: block;
}

.contact-form-wrapper .form-control.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.input-error {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* 送信ボタン */
.submit-row {
    justify-content: center;
    margin-top: 32px;
}

.submit-btn {
    background: linear-gradient(135deg, #38a758 0%, #2e8b47 100%);
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 48px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 167, 88, 0.3);
    min-width: 180px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2e8b47 0%, #38a758 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 167, 88, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 20px 16px;
        margin: 0 8px;
        border-radius: 8px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 20px;
    }

    .form-group.half-width,
    .form-group.full-width {
        flex: 1 1 100%;
        width: 100%;
    }

    .contact-form-wrapper .form-control {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .contact-form-wrapper .textarea-control {
        min-height: 120px;
        padding: 12px 16px;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .checkbox-label {
        width: 100%;
        justify-content: flex-start;
        min-width: auto;
        padding: 12px 16px;
    }

    .captcha-container {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .captcha-input {
        width: 100%;
    }

    .captcha-image {
        align-self: center;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 16px 12px;
        margin: 0 4px;
    }

    .contact-form-wrapper .form-control {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 16px;
    }

    .contact-form-wrapper .textarea-control {
        min-height: 100px;
        padding: 10px 14px;
    }

    .checkbox-label {
        padding: 10px 14px;
        font-size: 14px;
    }

    .success-title,
    .error-title {
        font-size: 22px;
    }

    .success-description,
    .error-description {
        font-size: 15px;
    }
}

/* 送信完了メッセージのスタイル */
.contact-success-message,
.contact-error-message {
    text-align: center;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon,
.error-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.success-icon i {
    color: #38a758;
}

.error-icon i {
    color: #e74c3c;
}

.success-title,
.error-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.success-title {
    color: #2d5a3d;
}

.error-title {
    color: #c0392b;
}

.success-description,
.error-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-note,
.error-note {
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.success-note {
    background: #f0f8f3;
    border-left: 4px solid #38a758;
}

.error-note {
    background: #fdf2f2;
    border-left: 4px solid #e74c3c;
}

.success-note p,
.error-note p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .success-message,
    .error-message {
        padding: 40px 20px;
    }

    .success-icon,
    .error-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .success-title,
    .error-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .success-description,
    .error-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .success-note,
    .error-note {
        padding: 15px;
        margin-top: 15px;
    }
}

/* 従来のスタイルを保持（後方互換性） */
.contact-form .input-group {
    width: 100%;
}

.contact-form .form-control {
    border-color: -moz-use-text-color -moz-use-text-color #cccccc;
    border-radius: 0;
    border-style: none none solid;
    border-width: 0 0 1px;
    box-shadow: none;
    margin-bottom: 10px;
}

.contact-form .input-field {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.contact-form .input-field:last-child {
    margin-right: 0;
}

.contact-form .form-control.error {
    border-bottom-color: #c0392b;
}

.contact-form #form-submit {
    background: #8ec87a;
    border: 1px solid #8ec87a;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    padding: 10px;
    text-align: center;
    width: 100px;
    border-radius: 8px;
}

.footer-social {
    margin-bottom: 17px;
}

.footer-social img {
    width: 20px;
}

.footer-social li a {
    color: #cdd2d6;
    display: inline-block;
    margin-bottom: 10px;
}

#map_canvas {
    height: 215px;
    width: 100%;
}

/*=========================================
	Contact Us
==========================================*/

.footer {
    background-color: #38a758;
    color: #fff;
}

.footer a:hover {
    color: #062033;
}

.footer h6 {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 30px;
}

.about-us p {
    line-height: 24px;
}

.footer-single .subscribe {
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.subscribe #subscribe {
    background: #ffffff;
    border: 2px solid #fff;
    border-radius: 2px;
    height: 40px;
    text-indent: 10px;
    width: 100%;
}

.subscribe #subs {
    background: #ffffff;
    border: 0 none;
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 6px;
}

.footer-single {
    line-height: 24px;
    margin: 0 auto;
    text-align: center;
}

.footer-single img {
    width: 280px;
}

.footer-single li {
    line-height: 32px;
}

.footer-single p i {
    margin: 0 10px;
}

.credit a {
    color: #062033;
}

.credit a:hover {
    color: #fff;
}

.copyright {
    color: #fff;
    padding-top: 18px;
    font-size: 9px;
    padding-bottom: 45px;
    margin: 0 auto;
    line-height: 0px;
    text-align: center;
    display: block;
}

#back-top {
    bottom: 20px;
    position: fixed;
    right: 25px;
    z-index: 9;
    display: block;
}

#back-top img {
    width: 42px;
}

.drop-shadow {
    -webkit-box-shadow: 0 0 10px 4px #1b5e20;
    box-shadow: 0 0 10px 4px #1b5e20;
}

.defaultpanel {
    background-image: url("/top/img/background_login.jpg");
    background-size: cover;
    padding-top: 80px;
}

/* レスポンシブ対応 - 料金表 */
@media (max-width: 768px) {
    .defaultpanel .container {
        width: 95% !important;
        padding: 15px;
    }

    .price-table {
        font-size: 14px;
    }

    .price-table th,
    .price-table td {
        padding: 8px 4px;
        line-height: 1.3;
    }

    .price-table th {
        font-size: 13px;
    }

    .price-table td b {
        font-size: 13px;
        display: block;
        margin-bottom: 5px;
    }

    .price-table td span {
        font-size: 10px !important;
        display: block;
        line-height: 1.2;
    }

    .month-fee {
        font-size: 18px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .defaultpanel .container {
        width: 98% !important;
        padding: 10px;
    }

    /* 元のテーブルを非表示 */
    .price-table {
        display: none;
    }

    .text-right {
        display: none;
    }

    /* スマホ用パネル表示 */
    .mobile-price-panels {
        display: block;
        margin-top: 20px;
    }

    .price-panel {
        background: white;
        border: 2px solid #38a758;
        border-radius: 12px;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(56, 167, 88, 0.1);
        overflow: hidden;
    }

    .panel-header {
        background: linear-gradient(135deg, #38a758 0%, #2e8b47 100%);
        color: white;
        padding: 16px;
        text-align: center;
    }

    .panel-header h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 0 0 8px 0;
        color: white;
    }

    .panel-header p {
        font-size: 14px;
        margin: 0 0 8px 0;
        opacity: 0.9;
    }

    .panel-header small {
        font-size: 12px;
        opacity: 0.8;
        display: block;
        line-height: 1.3;
    }

    .panel-content {
        padding: 0;
    }

    .panel-footer {
        background: #f8f9fa;
        padding: 12px 16px;
        text-align: center;
        border-top: 1px solid #e9ecef;
    }

    .panel-footer small {
        font-size: 12px;
        color: #666;
        display: block;
        line-height: 1.4;
    }

    .price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }

    .price-item:last-child {
        border-bottom: none;
    }

    .price-item:hover {
        background-color: #f8f9fa;
    }

    .plan-name {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        flex: 1;
        line-height: 1.3;
    }

    .price {
        font-size: 16px;
        font-weight: bold;
        color: #38a758;
        text-align: right;
        min-width: 120px;
    }

    .mobile-price-note {
        text-align: center;
        margin-top: 16px;
        font-size: 14px;
        color: #666;
        padding: 8px;
        background: #f8f9fa;
        border-radius: 6px;
    }

    .month-fee {
        font-size: 18px;
        padding: 8px;
    }
}

/* タブレット以上では新しいパネルを非表示 */
@media (min-width: 481px) {
    .mobile-price-panels {
        display: none;
    }
}

/* 会員登録ボタン */
.register-button-container {
    text-align: center;
    margin: 30px 0 20px 0;
}

.register-button {
    display: inline-block;
    background: linear-gradient(135deg, #38a758 0%, #2e8b47 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 167, 88, 0.3);
    min-width: 200px;
}

.register-button:hover {
    background: linear-gradient(135deg, #2e8b47 0%, #38a758 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 167, 88, 0.4);
    color: white;
    text-decoration: none;
}

.register-button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .register-button {
        width: 90%;
        min-width: auto;
        font-size: 16px;
        padding: 14px 24px;
    }

    .register-button-container {
        margin: 20px 0 15px 0;
    }
}
input[type="text"] {
    /* box-shadow: inset 0px -2px 4px rgba(51, 122, 183, 0.3) !important; */
}
.close_button span {
    color: #fff;
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 5px;
    top: -19px;
    border: 2px solid rgba(255, 255, 255, 0.47);
    border-radius: 50%;
    line-height: 1.2;
    font-size: 15px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
}

.close_button span:after {
    content: "\00d7";
    font-size: 24px;
}
