@charset "utf-8";

/* スマホここから */
@media only screen and (max-width: 767px) {
	
	.pc {
		display: none;
	}

	body {
		background: #ffffff;
		color: var(--text-color);
		font-family: 'Noto Sans JP', sans-serif;
		font-size: 1.6rem;
		line-height: 3.2rem;
		font-weight: 400;
		font-feature-settings: "palt";
	}

    div.top_head_area {
        margin: 0 auto;
        width: 100%;
        background: url(./images/top/top_head_bg_pc.jpg) no-repeat center top;
        background-size: cover;
    }

    div.head_area {
        margin: 0 auto;
        width: 100%;
        height: 80px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
    }

    div.head {
        margin: 0 auto;
        width: 94%;
        max-width: 1080px;
        height: 80px;
        display: flex;
        justify-content: space-between;
    }

    div.head_logo {
        margin: 30px 0 0 0;
        width: 280px;
    }

    div.head_logo img {
        width: 100%;
        height: auto;
    }

    div.head_info {
        display: none;
    }

    div.head_menu_area {
        display: none;
    }

    div.top_main_visual {
        margin: 0 auto;
        width: 100%;
        height: 450px;
        position: relative;
    }

    div.top_message {
        margin: 0 0 0 0;
        padding: 30px 40px 35px;
        background: rgba(255, 255, 255, 0.8);
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 2;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    div.top_message h2 {
        margin: 0 auto 20px;
        color: var(--primary-color-dark);
        font-size: 2.2rem;
        line-height: 3.6rem;
        font-weight: 200;
        text-align: center;
    }

    div.top_message p {
        margin: 0 auto;
        font-size: 1.6rem;
        line-height: 3.2rem;
        font-weight: 400;
    }

    div.top_message p br {
        display: none;
    }

    div.top_banner_area {
        margin: 40px auto 40px;
        width: 94%;
    }

    div.top_banner {
        margin: 0 auto 20px;
        width: 100%;
    }

    div.top_banner:last-child {
        margin: 0 auto;
    }

    div.top_banner img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    div.top_news_area {
        margin: 0 auto 100px;
        width: 94%;
    }

    div.top_news {
        margin: 0 auto 40px;
        width: 100%;
    }

    div.top_news_title_area {
        margin: 0 auto;
        width: 100%;
        background: var(--primary-color-dark);
        border-radius: 20px 20px 0 0;
        display: flex;
        justify-content: space-between;
    }

    div.top_news_title {
        margin: 0;
        width: 50%;
    }

    div.top_news_title h3 {
        margin: 0 0 0 30px;
        color: #ffffff;
        font-size: 2.4rem;
        line-height: 60px;
        font-weight: 200;
        text-align: left;
    }

    div.top_news_more {
        margin: 13px 20px 0 0;
        width: 50%;
    }

    div.top_news_more a {
        margin: 0;
        background: #ffffff;
        font-size: 1.2rem;
        line-height: 36px;
        text-decoration: none;
        text-align: center;
        border-radius: 10px;
        display: block;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    div.top_news_more a i {
        color: var(--primary-color-dark);
    }

    div.top_news_content {
        margin: 0 auto;
        width: 100%;
        background: #ffffff;
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--primary-color-dark);
    }

    div.top_news_content dl {
        margin: 0 20px;
        padding: 10px 0;
        border-bottom: 1px dotted #dcdcdc;
    }

    div.top_news_content dl:last-child {
        border-bottom: none;
    }

    div.top_news_content dl dt {
        color: var(--primary-color-dark);
        font-weight: 500;
    }

    div.top_blog {
        margin: 0 auto;
        width: 100%;
    }

    div.top_blog_title {
        margin: 0 auto;
    }

    div.top_blog_title h3 {
        margin: 0 auto;
        padding: 0 0 0 30px;
        color: var(--primary-color-dark);
        font-size: 2.1rem;
        line-height: 60px;
        font-weight: 200;
        text-align: left;
        border-left: 4px solid var(--primary-color-dark);
        border-bottom: 1px dotted var(--primary-color-dark);
    }

    div.top_blog_content {
        margin: 0 auto 15px;
        width: 100%;
    }

    div.top_blog_content dl {
        margin: 0 auto;
        padding: 10px 0;
        border-bottom: 1px dotted #dcdcdc;
    }


    div.top_blog_content dl dt {
        color: var(--primary-color-dark);
        font-weight: 500;
    }

    div.top_blog_more {
        margin: 0 0 0 auto;
        width: 50%;
    }

    div.top_blog_more a {
        margin: 0;
        background: #ffffff;
        font-size: 1.2rem;
        line-height: 36px;
        text-decoration: none;
        text-align: center;
        border-radius: 10px;
        display: block;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    div.top_blog_more a i {
        color: var(--primary-color-dark);
    }

    div.foot_area {
        margin: 0 auto;
        padding: 40px 0;
        width: 100%;
        background: linear-gradient(to bottom, #efefef, 5%, #ffffff);
        border-top: 1px solid #e5e5e5;
    }

    div.foot {
        margin: 0 auto;
        width: 100%;
        max-width: 1080px;
    }

    div.foot_info {
        margin: 0 auto;
        width: 100%;
        max-width: 1080px;
        text-align: center;
    }

    div.foot_info h3 {
        margin: 0 auto 15px;
        color: var(--primary-color-dark);
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
    }

    div.foot_menu {
        display: none;
    }

    div.foot_map {
        margin: 0 auto;
        width: 100%;
        height: 400px;
        overflow: hidden;
    }

    div.copyright {
        margin: 0 auto;
        width: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--primary-color-dark));
    }

    div.copyright p {
        margin: 0 auto;
        color: #ffffff;
        font-size: 1.2rem;
        line-height: 50px;
        text-align: center;
    }

    /*下層ページ*/

    div.page_main {
        margin: 0 auto 100px;
        width: 94%;
    }

    /*事務所概要*/

    div.page_title_area_about {
        margin: 0 auto 40px;
        width: 100%;
        height: 200px;
        background: linear-gradient(to right, #bacbc5 50%, #d5dee5 50%);
    }

    div.page_title_about {
        margin: 0 auto;
        width: 100%;
        height: 200px;
        position: relative;
        background-image: url(./images/about/about_head_bg_pc.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 100%;
    }

    div.page_title_about h2 {
        margin: 0;
        padding: 0 20px;
        background: #ffffff;
        font-size: 2.7rem;
        line-height: 60px;
        font-weight: 200;
        letter-spacing: 0.2em;
        text-align: center;
        border-radius: 10px 10px 0 0;
        display: block;
        position: absolute;
        left: 20px;
        bottom: 0;
        z-index: 2;
    }

    div.about_information {
        margin: 0 auto 50px;
    }

    table.about {
        margin: 0 auto;
        width: 100%;
    }

    table.about th {
        padding: 16px 20px;
        font-weight: 500;
        text-align: left;
        background: #f7f8f8;
        display: block;
    }

    table.about td {
        padding: 0 20px 16px;
        background: #f7f8f8;
        display: block;
    }

    table.about tr:nth-child(even) th {
        background: #efefef;
    }

    table.about tr:nth-child(even)  td {
        background: #efefef;
    }

    div.about_profile {
        margin: 0 auto 50px;
    }

    div.about_profile h3 {
        margin: 0 auto 20px;
        padding: 0 30px;
        color: var(--primary-color-dark);
        font-size: 2.1rem;
        line-height: 60px;
        font-weight: 500;
        text-align: left;
        border: 1px solid var(--primary-color-dark);
        border-radius: 20px;
    }

    div.about_chief_name_area {
        margin: 0 auto 30px;
        width: 60%;
    }

    div.about_chief_name {
        margin: 0 auto;
        width: 100%;
    }

    div.about_profile h4 {
        margin: 0 auto 25px;
        font-size: 2.1rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: center;
    }

    div.about_chief_photo {
        margin: 0 auto;
        width: 240px;
    }

    div.about_chief_photo img {
        width: 100%;
        height: auto;
    }

    div.about_profile h4 {
        margin: 0 auto 25px;
        font-size: 2.1rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: left;
    }

    div.about_profile h4 span {
        font-size: 1.8rem;
    }

    table.profile {
        margin: 0 auto;
        width: 100%;
    }

    table.profile th {
        padding: 12px 0;
        width: 150px;
        text-align: center;
        vertical-align: middle;
        background: #f7f8f8;
    }

    table.profile td {
        padding: 12px 0;
        vertical-align: middle;
        background: #f7f8f8;
    }

    table.profile tr:nth-child(even) th {
        background: #efefef;
    }

    table.profile tr:nth-child(even)  td {
        background: #efefef;
    }

    /*業務内容*/

    div.page_title_area_services {
        margin: 0 auto 40px;
        width: 100%;
        height: 200px;
        background: linear-gradient(to right, #d5e0e4 50%, #d5e0e4 50%);
    }

    div.page_title_services {
        margin: 0 auto;
        width: 100%;
        height: 200px;
        position: relative;
        background-image: url(./images/services/services_head_bg_pc.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 1080px;
    }

    div.page_title_services h2 {
        margin: 0;
        padding: 0 20px;
        background: #ffffff;
        font-size: 2.7rem;
        line-height: 60px;
        font-weight: 200;
        letter-spacing: 0.2em;
        text-align: center;
        border-radius: 10px 10px 0 0;
        display: block;
        position: absolute;
        left: 20px;
        bottom: 0;
        z-index: 2;
    }

    div.services_content_list {
        margin: 0 auto 50px;
    }

    div.services_content {
        margin: 0 auto 20px;
    }

    div.services_content_list div.services_content:last-child {
        margin: 0 auto;
    }

    div.services_content h3 {
        margin: 0 auto;
        padding: 12px 0;
        color: var(--primary-color-dark);
        font-size: 1.8rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: left;
    }

    div.services_content ul {
        margin: 0 auto;
        border-top: 1px dotted var(--primary-color-dark);
    }

    div.services_content ul li {
        padding: 12px 12px;
        font-size: 1.6rem;
        line-height: 2.7rem;
        font-weight: 400;
        text-align: left;
        border-bottom: 1px dotted var(--primary-color-dark);
    }

    div.services_fee_content {
        margin: 0 auto 80px;
    }

    div.services_fee_content div.services_content:last-child {
        margin: 0 auto;
    }

    div.services_fee_content h2 {
        margin: 0 auto;
        padding: 12px 40px;
        background-color: var(--primary-color-dark);
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: left;
        border-radius: 20px 20px 0 0;
    }

    div.services_fee_content_main {
        margin: 0 auto;
        padding: 25px 30px 25px;
        border: 1px solid var(--primary-color-dark);
        border-radius: 0 0 20px 20px;
    }

    div.services_fee_content_main div.services_content h3 {
        margin: 0 auto 15px;
        padding: 12px 10px;
        color: var(--primary-color-dark);
        font-size: 1.8rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: left;
        border-top: 1px dotted var(--primary-color-dark);
        border-bottom: 1px dotted var(--primary-color-dark);
    }

    /*お問い合わせ*/

    div.page_title_area_contact {
        margin: 0 auto 40px;
        width: 100%;
        height: 200px;
        background: linear-gradient(to right, #e7f8ff 50%, #e7f8ff 50%);
    }

    div.page_title_contact {
        margin: 0 auto;
        width: 100%;
        max-width: 1080px;
        height: 200px;
        position: relative;
        background-image: url(./images/contact/contact_head_bg_pc.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 1080px;
    }

    div.page_title_contact h2 {
        margin: 0;
        padding: 0 20px;
        background: #ffffff;
        font-size: 2.7rem;
        line-height: 60px;
        font-weight: 200;
        letter-spacing: 0.2em;
        text-align: center;
        border-radius: 10px 10px 0 0;
        display: block;
        position: absolute;
        left: 20px;
        bottom: 0;
        z-index: 2;
    }

    div.contact_tel_title {
        margin: 0 auto 10px;
    }

    div.contact_tel_title h3 {
        margin: 0 auto;
        color: var(--primary-color-dark);
        font-size: 2.4rem;
        line-height: 3.2rem;
        font-weight: 200;
        text-align: center;
    }

    div.contact_tel {
        margin: 0 auto 80px;
        text-align: center;
    }

    div.contact_tel p {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 2.7rem;
        font-weight: 400;
        text-align: center;
    }

    div.contact_tel p.tel {
        margin: 0 auto;
        font-size: 3.6rem;
        line-height: 4.8rem;
        font-weight: 700;
        text-align: center;
    }

    div.contact_tel p.tel i {
        font-size: 3.2rem;
        color: var(--primary-color-dark);
    }

    div.contact_introduction {
        margin: 0 auto 50px;
    }

    div.contact_introduction h3 {
        margin: 0 auto 20px;
        color: var(--primary-color-dark);
        font-size: 2.4rem;
        line-height: 3.2rem;
        font-weight: 200;
        text-align: center;
    }

    div.contact_introduction p {
        text-align: center;
    }

    table.contact {
		margin: 0 auto 60px;
		width: 100%;
		background: #ffffff;
	}
	
	table.contact th {
		padding: 15px;
		font-weight: 500;
		font-size: 1.6rem;
		line-height: 2.4rem;
		text-align: center;
		background: #f4f4f4;
		border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        display: block;
	}
	
	table.contact td {
		padding: 15px;
		font-size: 1.6rem;
		line-height: 2.4rem;
		font-weight: 400;
		text-align: left;
		border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        display: block;
	}

	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 input[type="url"],
	.wpcf7 textarea {
		background-color: #fff;
		color: #333;
		width: 100%;
		border: 1px solid #ddd;
		font-size: 100%;
		padding: 0.5em;
		border-radius: 4px;
		box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
	}
	
	input[type="text"].wpcf7c-conf,
	input[type="text"].readonly,
	input[type="tel"].wpcf7c-conf,
	input[type="email"].wpcf7c-conf,
	input[type="url"].wpcf7c-conf,
	textarea.wpcf7c-conf {
		background-color: #fff;
		color: #333;
		width: 95%;
		border: none;
		font-size: 100%;
		padding: 0.5em;
		border-radius: 4px;
		box-shadow: none;
	}
	
	div.submit {
		margin: 0 auto 30px;
		width: 360px;
	}
	
	.wpcf7 input[type="submit"].wpcf7-submit {
		margin: 0 auto;
		font-size: 1.8rem;
		line-height: 50px;
        text-align: center;
		width: 100%;
		background: linear-gradient(to bottom, var(--primary-color), var(--primary-color-dark));
		color: #ffffff;
		border-radius: 25px;
		cursor: pointer;
		border: none;
	}
	
	/*
	.wpcf7 input[type="submit"].wpcf7-submit:hover {
		background: #a52424;
	}
	*/
	
	span.required {
		color: #a52424;
	}

    div.recaptcha_text {
        margin: 10px auto 0;
        width: 100%;
    }

    div.recaptcha_text p {
        margin: 0 auto;
        font-size: 1.2rem;
        text-align: center;
    }

    /*新着情報*/

    div.page_title_area_news {
        margin: 0 auto 40px;
        width: 100%;
        height: 200px;
        background: linear-gradient(to right, #e7f8ff 50%, #cad9de 50%);
    }

    div.page_title_news {
        margin: 0 auto;
        width: 100%;
        max-width: 1080px;
        height: 200px;
        position: relative;
        background-image: url(./images/news/news_head_bg_pc.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 1080px;
    }

    div.page_title_news h2 {
        margin: 0;
        padding: 0 20px;
        background: #ffffff;
        font-size: 2.7rem;
        line-height: 60px;
        font-weight: 200;
        letter-spacing: 0.2em;
        text-align: center;
        border-radius: 10px 10px 0 0;
        display: block;
        position: absolute;
        left: 20px;
        bottom: 0;
        z-index: 2;
    }

    div.news_main_area {
        margin: 0 auto 60px;
        width: 100%;
    }

    div.news_main {
        margin: 0 auto 30px;
        width: 100%;
    }

    div.news_list_content_area {
        margin: 0 auto 50px;
        padding: 25px 20px 30px;
        width: 100%;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    div.news_list_content {
        margin: 0 auto 30px;
        width: 100%;
    }

    div.news_list_content h2 {
        margin: 0 auto 15px;
        padding: 16px 6px;
        width: 100%;
        font-size: 2.0rem;
        line-height: 3.0rem;
        font-weight: 500;
        border-top: 1px dotted var(--primary-color);
        border-bottom: 1px dotted var(--primary-color);
    }

    div.news_list_content h2 a {
        text-decoration: none;
    }

    div.news_list_content h2 a:hover {
        text-decoration: underline;
        color: var(--primary-color);
    }

    div.news_list_content p {
        margin: 0 auto 20px;
    }

    div.news_list_content p:last-child {
        margin: 0 auto;
    }

    div.news_list_content p.date {
        margin: 0 auto 5px;
        color: var(--primary-color);
        font-size: 1.8rem;
        line-height: 2.7rem;
        font-weight: 500;
    }

    div.news_list_info {
        margin: 0 auto;
        width: 100%;
        text-align: right;
    }

    div.news_list_info ul {
        margin: 0;
        width: 100%;
        display: block;
    }

    div.news_list_info ul li {
        padding: 0 10px;
        font-size: 1.4rem;
        line-height: 2.7rem;
        display: inline-block;
        border-right: 1px solid #333333;
    }

    div.news_list_info ul li:first-child {
        border-left: 1px solid #333333;
    }

    div.news_submenu {
        margin: 0 auto;
        width: 100%;
    }

    div.news_side_box {
        margin: 0 auto 40px;
    }

    div.news_side_box h3{
        margin: 0 auto;
        padding: 0 15px;
        background: var(--primary-color);
        color: #ffffff;
        font-size: 1.9rem;
        line-height: 50px;
        font-weight: 200;
        text-align: left;
        border-radius: 10px 10px 0 0;
        display: flex;
        justify-content: space-between;
    }

    div.news_side_content {
        margin: 0 auto;
        padding: 0 15px;
        border: 1px solid var(--primary-color);
        border-radius: 0 0 10px 10px;
    }

    div.news_side_content ul {
        margin: 0 auto;
        width: 100%;
    }

    div.news_side_content ul li {
        margin: 0 auto;
        padding: 12px 6px;
        font-size: 1.6rem;
        line-height: 2.7rem;
        border-bottom: 1px dotted #dcdcdc;
    }

    div.news_side_content ul li:last-child {
        border-bottom: none;
    }

    /*共通*/

    div.back_to_top {
        margin: 0 auto;
        width: 300px;
    }

    div.back_to_top a {
        margin: 0 auto;
        background: linear-gradient(to bottom, var(--primary-color), var(--primary-color-dark));
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 50px;
        text-align: center;
        text-decoration: none;
        border-radius: 25px;
        display: block;
    }

    /*メニュー*/

	div#upper_menu_area {
		margin: 0 auto;
		width: 100%;
		height: 100svh;
		overflow: hidden;
		background: #1e2d64;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: calc(infinity);
		display: none;
	}

	div.upper_menu {
		margin: 0 auto;
		width: 100%;
		height: 100svh;
		position: relative;
	}

	div.upper_menu_head_area {
		margin: 0 auto;
		width: 100%;
		height: 48px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1;
	}

	div.upper_menu_head {
		margin: 0 auto;
		width: 100%;
		height: 65px;
		position: relative;
	}

	ul.upper_menu_close {
		margin: 0;
		width: 55px;
		position: absolute;
		top: 0px;
		right: 0px;
		z-index: 1;
	}

	ul.upper_menu_close li {
		margin: 0 auto;
		width: 100%;
	}

	ul.upper_menu_close li img {
		width: 100%;
		height: auto;
	}

	div.upper_menu_content {
		margin: 0 auto;
		width: 79%;
		position: absolute;
		top: 90px;
		left: 0;
		right: 0;
		z-index: 1;
	}

	div.upper_menu_content ul {
		margin: 0 auto 30px;
		width: 100%;
	}

	div.upper_menu_content ul li {
		margin: 0 0 20px;
		padding: 0 0 0 0;
		color: #ffffff;
		font-size: 1.8rem;
		line-height: 2.7rem;
		font-weight: 500;
	}
	
	div.upper_menu_content ul li a {
		color: #ffffff;
		text-decoration: none;
	}

	div.upper_contact {
		margin: 0 auto 42px;
		max-width: 218px;
	}

	div.upper_contact p {
		margin: 0 auto;
		width: 100%;
	}

	div.upper_contact p a {
		margin: 0;
		background: var(--dark-green);
		color: #ffffff;
		font-size: 1.8rem;
		line-height: 48px;
		text-align: center;
		font-weight: 500;
		text-decoration: none;
		display: block;
		border-radius: 10px;
	}

	div.upper_contact p a span {
		padding: 0 0 0 33px;
		background: url(./images/common/icon_mail_sp.png) left center no-repeat;
		background-size: 16px;
	}



}