@charset "utf-8";
/*
Theme Name: NANO child
Theme URI:https://tcd-theme.com/tcd065
Description:WordPressテーマ「NANO」の子テーマ
Template:nano_tcd065
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
.l-header__inner {
    height: 80px;
}
.l-contents {
    margin-bottom: 60px;
}
.p-index-content01 {
    padding: 52px 0;
}
.p-index-content05__item-banner a>div {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, transparent 75%) !important;
}

@media only screen and (max-width: 1199px) {
    .l-header .l-header__inner {
        height: 60px;
    }
}

/* 追加CSS */
.mt180 {
    margin-top: 90px;
}
.mt100 {
    margin-top: 100px;
}
.mt40 {
    margin-top: 40px;
}
.textCenter {
    text-align: center;
}
.text--right {
    text-align: right;
}
.head_bg {
    background: url(/wp/wp-content/uploads/2026/06/bg_a.svg) no-repeat top center;
    background-size: 480px 280px;
    padding-top: 20px;
}
.l-inner {
    max-width: 1300px;
}
h2.heading-primary {
    font-weight: bold;
    line-height: 1;
    text-transform: uppercase;
    color: #E8EDF6;
    font-size: 80px;
    font-size: 5rem;
    text-align: center;
    margin-bottom: 30px;
}
.heading-primary__sub {
    display: block;
    margin-top: -20px;
    letter-spacing: .02em;
    font-size: 28px;
    font-size: 1.75rem;
    color: #0048B1;
}
.contents__lead {
    font-size: 18px;
    font-size: 1.125rem;
    text-align: center;
}
.column__02 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}
.company .column__02__item {
    position: relative;
}
.column__02 .column__02__item {
    width: 48%;
    display: block;
}
.company .column__02__item {
    position: relative;
}
.column__02 .column__02__item {
    width: 48%;
    display: block;
}
.company-info__table {
    width: 100%;
    max-width: 860px;
    margin: 0 auto !important;
}
.company-info__table th {
    width: 200px;
    border: none;
    border-bottom: 1px solid #0648B1;
    padding: 20px 0;
    text-align: left;
    background: #ffffff;
    font-size: 16px;
}
.company-info__table td {
    border: none;
    border-bottom: 1px dotted #0648B1;
    padding: 20px 0;
    font-size: 16px;
}
.company-info__table td a.map {
    background: #0648B1;
    border-radius: 20px;
    padding: 4px 20px;
    color: #fff;
    margin-left: 40px;
    text-decoration: none;
}
.company-info__table td a.map:hover {
    background: #FCA518;
}
h3.read_text {
    font-size: 20px;
    font-size: 1.25rem;
    text-align: center;
}
.method__ttl {
    font-size: 30px;
    font-size: 1.875rem !important;
    color: #0048B1;
    text-align: center;
    padding-bottom: 24px;
    background: url(/wp/wp-content/uploads/2026/06/bg_std.svg) no-repeat center bottom;
    background-size: 130px auto;
}
.business .right__contents {
    float: right;
    width: 50%;
    margin-top: 30px;
    padding: 30px 40px 30px 0;
    position: relative;
    z-index: 1;
}
.business .right__contents::after {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    display: block;
    width: calc(100% + 150px);
    height: 100%;

    content: "";
    background: #E8EDF6;
    border-radius: 10px;
}
.business .right__contents h4 {
    color: #005bac;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}
.business .right__contents p {
    margin-bottom: 0;
}
.business .left__img-wrapper {
    width: 45.5%;
    margin-right: 30px;
    position: relative;
    z-index: 1;
}
.business .center__img-wrapper {
    width: 45.5%;
    margin: -40px auto 0;
    position: relative;
    z-index: 1;
}
.p-article06__excerpt {
    display: none;
}
.p-article06__title {
    line-height: 1.2;
    margin-bottom: 0;
}
.p-works-entry__title {
    line-height: 1.4;
    margin-bottom: 14px;
}
.table_design04 {
    border-collapse: collapse;
    border-bottom: 1px solid #000000;
    width: 100%;
}
.table_design04 th,
.table_design04 td {
    border: none;
    border-top: 1px solid #000000;
    font-weight: normal;
    text-align: left;
    font-size: 16px;
    background: #ffffff;
}
.table_design04 th {
    width: 70%;
    padding: 1em;
}
.table_design04 td {
    border-left: 1px solid #000000;
    width: 30%;
    padding: 1em;
}

/* ==========================================
   1. 新しく親要素（Flexbox）の指定を追加
========================================== */
.business .business-row {
    display: flex;
    /* HTMLの記述順が「右コンテンツ → 左画像」になっているため、
       row-reverse を指定することで画面上の見た目を「左（画像）」「右（テキスト）」に並び替えます */
    flex-direction: row-reverse;

    /* ★最重要：これで左右の要素が、お互いの高さに対して常に「上下中央揃え」になります */
    align-items: center;

    justify-content: space-between;
    width: 100%;
}

/* ==========================================
   2. 右側コンテンツの修正
========================================== */
.business .right__contents {
    /* float: right; */
    /* ★削除：Flexboxで制御するため不要になります */
    /* margin-top: 30px; */
    /* ★削除：固定マージンがあると中央からズレるため不要になります */
    width: 50%;
    padding: 30px 40px 30px 0;
    position: relative;
    z-index: 1;
}

/* ==========================================
   3. 左側画像の修正
========================================== */
.business .left__img-wrapper {
    width: 45.5%;
    /* row-reverse の状態でも、画像の「右側」に30pxの余白ができるため、
       テキストとの間のちょうどいい隙間としてそのまま活かせます */
    margin-right: 30px;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .company-info__table th {
        width: 90px;
    }
}

/* お問い合わせ */
/* お問い合わせフォーム専用スタイル */
.contact-form__lead {
    margin-bottom: 40px;
    text-align: center;
}
.contact-form__lead p {
    margin-bottom: 0px;
}
.contact-form__lead .telenumberArea {
    display: inline-block;
    padding: 20px;
    border: 1px solid #707070;
    margin-top: 20px;
}
.contact-form__lead .telenumberArea .telenumber {
    font-size: 24px;
    font-size: 1.125rem;
}
.contact-form__lead .telenumberArea .telenumber span {
    font-size: 18px;
    font-size: 1.5rem;
    font-weight: bold;
}
.aduma-custom-form th {
    vertical-align: top;
}
.aduma-custom-form .wpcf7-list-item {
    margin: 0;
}
.aduma-custom-form .g-enquete-title {
    text-align: center;
    line-height: 2;
}
.aduma-custom-form .wpcf7 form {
    margin: 1.5em 0 0;
}
.aduma-custom-form div#seimei {
    display: flex;
}
.aduma-custom-form div#seimei p {
    display: flex;
    align-items: center;
}
.aduma-custom-form div#seimei div {
    width: 124px;
}
.aduma-custom-form .sei {
    margin-right: 1em;
}
.aduma-custom-form .pad {
    padding: 0 0.4em;
}
.aduma-custom-form p.under_p a {
    color: #1e73be;
    text-decoration: underline;
}
.aduma-custom-form p.under_p a:hover {
    color: #87caff;
}
.aduma-custom-form .wpcf7 p {
    margin: 0;
    font-size: 16px !important;
}
.aduma-custom-form .wpcf7 select,
.aduma-custom-form .wpcf7 .wpcf7-list-item-label {
    line-height: 1.2;
    font-size: 16px !important;
}
.aduma-custom-form p.CF7_btn {
    text-align: center;
}
.aduma-custom-form .wpcf7 input.wpcf7-submit {
    background-color: #1e73be;
    border: 1px solid #1e73be !important;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    height: 81px;
    width: 330px;
}
.aduma-custom-form .wpcf7 .wpcf7-submit:hover,
.aduma-custom-form button#confirmBtn:hover,
.aduma-custom-form button#backBtn:hover {
    background-color: #ffffff;
    color: #1e73be;
}
.aduma-custom-form .wpcf7 {
    border: none !important;
    background: #fff !important;
}
.aduma-custom-form .wpcf7 input,
.aduma-custom-form .wpcf7 textarea {
    background: #f3f3f3;
}
.aduma-custom-form input.age {
    width: 200px;
}
.aduma-custom-form td,
.aduma-custom-form th {
    border: none !important;
}
.aduma-custom-form tr {
    border-bottom: 1px solid #d8d8d8;
}
.aduma-custom-form th {
    background: #fff !important;
    text-align: left;
}
.aduma-custom-form .CF7_req {
    font-size: .9em;
    padding: 5px;
    background: #dd0f00;
    color: #fff;
    margin-right: 1em;
}
.aduma-custom-form .CF7_nini {
    font-size: .9em;
    padding: 5px;
    background: #9A9A9A;
    color: #fff;
    margin-right: 1em;
}
.aduma-custom-form .CF7_table {
    border: none !important;
}
.aduma-custom-form div#confirm_area h3 {
    font-size: 20px;
}
.aduma-custom-form #project_list .title {
    border: 1px solid #ddd;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}
.aduma-custom-form p {
    line-height: 1.8;
}
.aduma-custom-form #index_project .catchphrase .headline {
    font-weight: 400;
}
.aduma-custom-form #index_news .catchphrase .headline {
    font-weight: 400;
}
.aduma-custom-form .wpcf7-list-item {
    margin: 0 !important;
}

/* PC環境（767px以上） */
@media screen and (min-width: 767px) {
    .aduma-custom-form div#seimei div {
        width: 124px;
    }
    .aduma-custom-form .flex-span {
        display: flex;
        align-items: self-start;
    }
    .aduma-custom-form span.licence {
        display: flex;
        flex-wrap: wrap;
    }
    .aduma-custom-form span.hoken {
        display: flex;
    }
    .aduma-custom-form .hoken .wpcf7-list-item {
        width: 4em;
    }
    .aduma-custom-form .wpcf7-list-item {
        width: 20%;
    }
    .aduma-custom-form .CF7_table {
        width: 80% !important;
        margin: 0 auto 2em;
    }
    .aduma-custom-form .CF7_table th {
        width: 25%;
        padding: 20px;
    }
    .aduma-custom-form .wpcf7-list-item.first.last {
        width: 100%;
    }
}

/* スマホ環境（768px以下） */
@media screen and (max-width: 768px) {
    .aduma-custom-form {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .aduma-custom-form td,
    .aduma-custom-form th {
        display: block;
    }
    .aduma-custom-form th {
        padding-top: 1em;
    }
    .aduma-custom-form td,
    .aduma-custom-form th {
        padding: 5px 0 19px 0;
    }
    .aduma-custom-form div#seimei div {
        width: 100px;
    }
    .aduma-custom-form .sei {
        padding-right: 10px;
    }
    .aduma-custom-form input.wpcf7-submit {
        width: 100%;
    }
}

.l-contents--no-border .l-contents__inner {
    margin-top: 0px !important;
}
.p-footer-nav {
    font-size: 16px;
}

/* ==========================================
   事業内容ページ スマホ・タブレット用レスポンシブ調整
========================================== */
@media screen and (max-width: 768px) {
    /* 1. 見出し・全体余白の調整 */
    .mt100 {
        margin-top: 50px;
    }
    .mt40 {
        margin-top: 20px;
    }
    h2.heading-primary {
        font-size: 40px !important;
        font-size: 2.5rem !important;
        margin-bottom: 15px;
    }
    .heading-primary__sub {
        font-size: 18px !important;
        font-size: 1.125rem !important;
        margin-top: 0;
    }
    h3.read_text {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }
    .method__ttl {
        font-size: 22px !important;
        font-size: 1.375rem !important;
        padding-bottom: 16px;
        background-size: 100px auto;
    }

    /* 2. 画像とテキストの縦並び（縦レイアウト）化 */
    .business .business-row {
        flex-direction: column-reverse; /* 画像を上、テキストを下に並び替え */
        align-items: stretch;
    }

    /* 3. 画像領域の最適化 */
    .business .left__img-wrapper {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .business .left__img-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* 4. テキスト領域・背景ボックスの調整 */
    .business .right__contents {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    .business .right__contents::after {
        width: 100%; /* PC用のはみ出し指定(calc)を解除して要素枠内に固定 */
        left: 0;
        right: 0;
    }
    .business .right__contents p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ==========================================
   会社概要ページ スマホ・タブレット用レスポンシブ調整
========================================== */
@media screen and (max-width: 768px) {
    /* 1. 全体的な余白調整（mt180が広すぎるため縮小） */
    .company-greeting.mt180,
    .company-info.mt180 {
        margin-top: 60px;
    }

    /* 2. 「ごあいさつ」エリア：Flexboxの横並びを縦並び(縦1列)へ変更 */
    .company-greeting .column__02 {
        display: flex;
        flex-direction: column;
        align-items: center; /* 中央寄せ */
    }

    /* 画像とテキストの幅を100%にして重なりを解消 */
    .company-greeting .column__02 .column__02__item {
        width: 100%;
        display: block;
    }

    /* 画像のサイズ調整と余白 */
    .company-greeting .column__02__item.textCenter {
        margin-bottom: 30px;
    }
    .company-greeting .column__02__item img.photo {
        width: 100%;
        max-width: 300px; /* スマホで大きすぎないように制限 */
        height: auto;
    }

    /* 「ごあいさつ」テキストエリアの調整 */
    .company-greeting .column__02__item.head_bg {
        padding: 0 15px; /* 左右に少し余白を持たせる */
    }
    .company-greeting p {
        font-size: 14px;
        line-height: 1.8;
        text-align: left; /* 読みやすいように左寄せを明示 */
    }
    .company-greeting p.text--right {
        text-align: right;
    }

    /* 3. 会社概要・沿革 テーブルのレスポンシブ調整 */
    .company-info {
        padding: 0 15px; /* 画面端にくっつかないように */
    }
    .company-info__table th,
    .company-info__table td {
        display: block; /* セルをブロック要素にして縦並びにする */
        width: 100%;
        box-sizing: border-box;
    }
    .company-info__table th {
        border-bottom: none; /* 下線を消す（td側で引く） */
        padding: 15px 0 5px 0;
        font-weight: bold;
        color: #0048B1; /* 見出し色を強調 */
    }
    .company-info__table td {
        padding: 0 0 15px 0;
        border-bottom: 1px dotted #0648B1;
    }

    /* 最後の行のtdだけ下線を少し太くするか、そのままでもOK */
    .company-info__table tr:last-child td {
        border-bottom: 1px solid #0648B1;
    }

    /* Google Mapボタンの調整 */
    .company-info__table td a.map {
        display: inline-block;
        margin-left: 0;
        margin-top: 10px; /* 改行されてボタンが下に来るように */
        padding: 8px 20px;
        font-size: 14px;
    }
	.p-copyright {
		text-align: left;
		padding: 0 50px 0 0px;
	}
}



/* ==================================
サイトマップ
===================================== */
.l-inner-s {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 92.1875%;
    max-width: 1000px;
}
.l-inner-s p {
    line-height: 1.7 !important;
}
.wsp-pages-title { display: none;}
.sitemap-block ul.wsp-pages-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}
.sitemap-block ul.wsp-pages-list li {
	list-style: none;
	width: calc(50% - 20px);
	border-top: 1px solid #ccc;
	margin-bottom: 0px;
}
.sitemap-block ul.wsp-pages-list li a {
	display: block;
	padding: 20px 10px;
	position: relative;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	padding-right: 50px;
	color: #1e73be;
}
.sitemap-block ul.wsp-pages-list li a:hover {
	background-color: #f5f5f5;
}
.sitemap-block ul.wsp-pages-list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 1;
    background: url(/wp/wp-content/uploads/2026/08/arrow.png) no-repeat 90% / 16px auto;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}
.sitemap-block ul.wsp-pages-list li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #1e73be;
    z-index: 0;
    padding: 10px;
    border-radius: 100px;
    	-webkit-transition: all .4s;
    	-o-transition: all .4s;
    	transition: all .4s;
}
.sitemap-block ul.wsp-pages-list li.page-item-1050 a::after {
    display:none;
}
.sitemap-block ul li.page_item_has_children a {
	border-bottom: 1px solid #ccc;
}
.sitemap-block ul.children li {
	width: 100%;
	border: none;
	margin-bottom: 0;
}
.sitemap-block ul.children li a {
	font-size: 16px;
	padding: 10px;
	padding-right: 50px;
}
.sitemap-block ul.children li a::after {
	display: none;
}

.sitemap-block ul.children li a::before {
    background: url(/wp/wp-content/uploads/2026/08/arrow.png) no-repeat 90% / 16px auto;	
}
@media only screen and (max-width: 690px) {
	.sitemap-block ul.wsp-pages-list li {
		width: 100%;
	}
	.sitemap-block ul.wsp-pages-list li a {
	    padding-right: 80px;
    }
    #pagewrap .contents .contents_inner .titlewrap h1 span:last-child {
	    font-size: 1.5rem;
	    text-shadow: 0 0 3px #0b3190, 0 0 2px #0b3190;
    }
}