/*
Theme Name: atstheme
Theme URI: https://wordpress.org/themes/atstheme
Author: the WordPress team
Author URI: テーマの作者のURLを記入します
Description: ここにテーマの説明文を記入します
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/
@charset "utf-8";
/* CSS Document */
/* 変数を宣言し、格納する。 */
:root {
    --white: #fff;
    --black: #000;
    --red: #ff0000;/* 赤 */
    --green: #00ff00;/* 緑 */
    --blue: #0000ff;/* 青 */
    --yellow: #ffff00;/* 黄 */
    --gray: #808080;/* 灰色 */
    --sans: yakuhanjp, "Noto Sans JP", sans-serif;
    --serif: "Noto Serif JP", serif;
}

/* 変数の呼び出し例
 body {
 background-color: ver(--white);
 color: var(--black);
 font-family: var(--sans);
}*/

/*header*/
/*area_link*/
.link {
    text-align: center;
}

.link a {
    margin-inline: auto;
    display: inline-block;
    overflow: hidden;
    transition: 0.5s;
    filter: drop-shadow(3px 4px 8px rgb(0 0 0 / .2));
}

.link a:hover {
    opacity: .8;
}

/*area1*/
.area_1 {
    background: url(images/Rectangle.png) repeat;
}
/*area_2*/
/*area_3*/
/*area_4*/
/*area_5*/
/*area_6*/
/*area_7*/
.area_7 h2 {
    padding: 50px 4%;
}
/*footer*/
footer {
    padding: 100px 0 40px;
}

footer a,
.white {
    color: #fff;
}
.f_logo {
    display: inline-block;
    background: rgb(255 255 255 / .8);
    padding: 10px;
}

#page-top {
    position: fixed;
    bottom: 30px;
    right: 10px;
    font-size: 12px;
    z-index: 9;
}

#page-top a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #013A64;
    font-weight: bold;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #fff;
}

#page-top p {
    padding: 0;
}

/*コンタクト*/
.contact .wpcf7 .flex4 {
    gap: 20px;
    margin-bottom: 30px;
}
.contact textarea, .contact input:not([type=radio]):not([type=submit]):not(.photo input) {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background: #fff;
}
.contact .wpcf7 .flex4 p:first-child:not(.contact_radio .inquiry-type p) {
    width: calc(33% - 20px);
    font-weight: 500;
}
.contact .wpcf7 .flex4 p:nth-child(2) {
    width: 67%;
}
.send p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.send input {
    font-size: 2rem;
    color: #fff;
    background: #013A64;
    border-radius: 5px;
    padding: 10px 80px;
    max-inline-size: fit-content;
    margin-inline: auto;
    line-height: 1;
    font-weight: 600;
    border: 1px solid #013A64;
}
form.sent .send_success{
  display: none;
}
.required {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background: #013A64;
    border-radius: 2px;
    line-height: 1;
    padding: 1px 2px 2px;
    margin-left: 3px;
    margin-bottom: 1px;
}
.reCAPTCHA p {
	text-align: center;
}
.reCAPTCHA a {
	color: #333;
}
.grecaptcha-badge { visibility: hidden; }
/*スマホ==========================================================================================================*/
@media screen and (max-width: 768px) {
    body {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .margin {
        margin-bottom: 20px;
    }

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    img {
        vertical-align: bottom;
        max-width: unset;
        width: 100%;
    }

    .link {
        margin-inline: auto;
    }
    .area_1 h2 img {
        max-width: 233px;
    }
	.satei {
		position: relative;
	}
	.man {
		position: absolute;
		width: 37%;
        max-width: 275px;
        bottom: 0;
        right: 1%;
	}
    .area4_margin {
        padding-left: 4%;
    }
    .area_7 h2 {
        width: 100vw;
        padding: 30px 4%;
        margin-inline: calc(50% - 50vw);
    }
    .area_7.pa_b120 {
        padding-block: 0 40px !important;
    }
    .contact h2 {
        max-width: 280px;
    }

    /*footer*/
    footer {
        padding: 30px 0px 20px;
    }

    footer .wrap {
        width: 100%;
        padding: 0 20px;
    }

    footer .footer {
        padding: 0;
        justify-content: center;
        flex-direction: column;
    }

    #page-top {
        bottom: 25px;
    }

    footer a {
        padding: 10px 0;
        display: inline-block;
    }
    .f_logo {
        width: 50%;
        max-width: 180px;
    }
	
	.contact .wpcf7 .flex4 {
        flex-direction: column;
        margin-bottom: 18px;
        gap: 8px;
    }
	    .contact .wpcf7 .flex4 p:first-child, .contact .wpcf7 .flex4 p:nth-child(2), .contact .wpcf7 .flex4 p:first-child:not(.contact_radio .inquiry-type p) {
        width: 100%;
        font-size: 1.6rem;
    }
	
	
	
	
}