/*
Theme Name: kensou-child
Version: 1.6
Template: twentytwentyfive
*/

html {
    font-size: 62.5%;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    color: #445566;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: normal;
}
p,a,td,span {
    font-size: 1.6rem;
    line-height: 3.2rem;
    color: #445566;
    text-decoration: none;
}
a {
	outline: none;
}
h1 {
    font-size: 6.0rem;
    line-height: 8.0rem;
}
h2 {
    font-size: 4.0rem;
    line-height: 7.0rem;
    font-weight: normal;
}
h2 small {
    color: #007BC7;
    display: block;
    font-size: 1.6rem;
    line-height: normal;
}
h3 {
    font-size: 3.0rem;
    line-height: 7.0rem;
}
img {
    width: 100%;
}
:root :where(.is-layout-constrained) > *,
:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
}
header > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    max-width: 1082px;
    margin: auto;
    padding: 2rem;
}
header a img {
    max-width: 240px;
    position: relative;
}
header .hamburger-menu {
    width: 100%;
}
header .menu {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 3rem;
}
header .menu ul {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 3rem;
}
header .menu ul li {
    list-style-type: none;
}
header .menu ul li a:hover {
    opacity: 0.7;
}
header .menu > a {
    background: #007BC7;
    color: #fff;
    padding: 0.5rem 2.5rem;
    border-radius: 30px;
    border: 2px solid #007BC7;
}
header .menu > a:hover {
    border: 2px solid #007BC7;
    color: #007BC7;
    background: #fff;
}

main {
    margin-top: 92px !important;
	width: 100%;
}
.home .has-global-padding,
.page .has-global-padding {
	padding: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100%;
}
.home main h1.wp-block-post-title,
.page main h1.wp-block-post-title {
	display: none;
}
.kv {
	max-width: none;
}
.about {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/about_back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    padding: 10rem 0;
	max-width: none;
}
.about > div {
    max-width: 1082px;
    margin: auto;
    display: flex;
    padding: 0 2rem;
}
.about > div > div {
    width: 50%;
}
.about > div > div:last-child {
    padding-top: 8rem;
}
.about > div > div h2,
.about > div > div h2 small,
.about > div > div p {
    color: #fff;
}
.about_btn > div {
    max-width: 958px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    padding: 3rem 2rem;
}
.about_btn > div > p {
    margin-right: 10rem;
    width: 40%;
}
.about_btn > div.company_link {
    text-align: center
}
.about_btn > div a {
    background: #007BC7;
    color: #fff;
    padding: 1rem 5rem;
    margin: auto;
    font-size: 2rem;
    max-width: 500px;
    width: 100%;
    border-radius: 30px;
    border: 2px solid #007BC7;
}
.about_btn > div a:hover {
    background: #fff;
    color: #007BC7;
}

.parallax {
    position: relative;
    width: fit-content;
    margin:  0 auto;
}
.parallax img {
    display: block;
    width: 60%;
}
.parallax#animate2 img {
    margin-left: auto;
}

.message {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/message_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
    padding: 7rem 0;
	max-width: none;
}
.message > div {
    max-width: 958px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    padding: 0 2rem 10rem;
}
.message > div > p {
    margin-right: 10rem;
    width: 40%;
}
.message > div > div {
    width: 60%;
}
.message > div.company_link {
    text-align: center
}
.message > div a {
    background: #007BC7;
    color: #fff;
    padding: 1rem 5rem;
    margin: auto;
    font-size: 2rem;
    max-width: 500px;
    width: 100%;
    border-radius: 30px;
    border: 2px solid #007BC7;
}
.message > div a:hover {
    background: #fff;
    color: #007BC7;
}

.text-right {
    text-align: right;
}

.company {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/company_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 1rem 0;
	max-width: none;
}
.company > div {
    max-width: 1082px;
    margin: auto;
    padding: 0 2rem 10rem;
}
.company table {
    width: 80%;
    margin-left: auto;
    border-spacing: 3rem 0;
}
.company table td {
    padding: 2rem;
    border-bottom: 1px solid #e3e3e3;
}
.company table td:first-child {
    text-align: center;
    width: 25%;
    vertical-align: top;
}
.company table tr:last-child td {
    border-bottom: none;
}

.service {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/service_back.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    padding: 7rem 0;
	max-width: none;
}
.service > div {
    max-width: 1082px;
    margin: auto;
    padding: 0 2rem;
}
.service > div > img {
    margin: 10rem auto 5rem;
}
.service > div > div > div {
    border: 1px solid;
    display: flex;
    margin-bottom: 10rem;
}
.service .img {
    max-width: 500px;
    width: 40%;
    border-right: 1px solid;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.service .img a {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    cursor: pointer;
}
.service_2 .img a {
    height: 33%;
	width: 100%;
	justify-content: center;
	font-size: 3.2rem;
	font-weight: bold;
}
.service_4 .img a {
    height: 50%;
}
.service .img a:hover {
    opacity: 0.7;
}
.service .img a::after {
    content: "";
    display: block;
    width: 15px;
    height: 12px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/service_link.png);
    background-repeat: no-repeat;
    background-size: contain;
}
.service .img img {
    padding: 1rem 4rem;
    box-sizing: border-box;
}
.service .img a:not(:first-child){
    border-top: 1px solid;
}
.service .txt {
    width: 60%;
    padding: 3rem 5rem;
    box-sizing: border-box;
}
.service .service_2 .txt,
.service .service_4 .txt {
    min-height: 350px;
    display: flex;
    align-items: center;
}
.service .service_2 .txt {
	padding: 8rem 5rem;
}
.service .txt a,
.service .txt span {
    display: block;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1.8rem;
}
.service .txt small {
    font-size: 1.6rem;
}
.service .txt a:hover {
    text-decoration: underline;
}
.service_1 > div {
    border-color: #007BC7 !important;
}
.service_1 .img {
    border-color: #007BC7 !important;
}
.service_1 h3 {
    color: #007BC7;
    font-weight: normal;
}
.service > div > div > img {
    width: 5%;
    margin-right: 2%;
    vertical-align: middle;
}
.service h3 {
    display: inline-block;
    line-height: 3rem;
    width: 80%;
    vertical-align: middle;
}
.service_2 > div {
    border-color: #9D000D !important;
}
.service_2 .img {
    border-color: #9D000D !important;
}
.service_2 .img a:nth-child(2) {
    border-color: #9D000D !important;
}
.service_2 h3 {
    color: #9D000D;
    font-weight: normal;
}
.service_3 > div {
    border-color: #B0872F !important;
}
.service_3 .img {
    border-color: #B0872F !important;
}
.service_3 h3 {
    color: #B0872F;
    font-weight: normal;
}
.service_4 > div {
    border-color: #FF9AC4 !important;
}
.service_4 .img {
    border-color: #FF9AC4 !important;
}
.service_4 .img a:nth-child(2) {
    border-color: #FF9AC4 !important;
}
.service_4 h3 {
    color: #FF9AC4;
    font-weight: normal;
}
.service_5 > div {
    border-color: #727272 !important;
}
.service_5 .img {
    border-color: #727272 !important;
}
.service_5 h3 {
    color: #727272;
    font-weight: normal;
}

.contact {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/footer_back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom;
    padding: 15vw 0 6vw;
	max-width: none;
}
.contact div {
    max-width: 834px;
    margin: auto;
    padding: 0 2rem;
}
.contact div * {
    color: #fff;
}
.contact h2 {
    line-height: 5rem;
    margin-bottom: 0;
}
.contact p {
    margin-top: 0;
}
.contact a {
    width: 65px;
    height: 65px;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 10rem;
}
.contact a img {
    max-width: 65px;
    position: absolute;
    top: 0;
    left: 0;
}
.contact a img.hov {
    opacity: 0;
}
.contact a:hover img {
    opacity: 0;
}
.contact a:hover img.hov {
    opacity: 1;
}

footer {
    background: #007BC7;
}
footer * {
    color: #fff;
}
footer .content {
    max-width: 1082px;
    margin: auto;
    padding: 5rem 2rem 1rem;
}
footer .flex {
    display: flex;
    align-items: end;
}
footer .flex .address {
    width: 30%;
}
footer .flex .address a img {
    width: 80%;
    margin-bottom: 1rem;
}
footer .flex .address a:last-of-type img {
    max-width: 22px;
}
footer .flex .menu {
    width: 70%;
    text-align: right;
}
footer .flex .menu ul {
    display: flex;
    justify-content: end;
    gap: 3rem;
}
footer .flex .menu ul li {
    list-style-type: none;
}
footer .content > p {
    text-align: center;
    margin-bottom: 0;
}

.contact_page main > p {
    margin: 10rem 2rem 5rem;
    text-align: center;
}
.contact_page form {
    max-width: 1083px;
    margin: 10rem auto 15rem;
    padding: 0 2rem;
}
.contact_page dl {
    display: flex;
    margin-bottom: 5rem;
}
.contact_page dt {
    width: 25%;
    font-size: 1.6rem;
}
.contact_page dt .required {
    font-size: 1.4rem;
    color: #fff;
    background: #007BC7;
    padding: 0 10px;
    border-radius: 5px;
    float: right;
}
.contact_page dd, .contact_page input, .contact_page textarea {
    width: 100%;
}
.contact_page input, .contact_page textarea {
    border: 1px solid #c2c2c2;
    border-radius: 3px;
    padding: 5px;
    box-sizing: border-box;
}
.contact_page .error_blank {
    color: #A81E29;
}
#form_submit {
    text-align: center;
}
#form_submit input {
    background: #445566;
    color: #fff;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 35%;
    font-size: 2.0rem;
}

.thanks_page main  {
    text-align: center;
}
.thanks_page main > p  {
    padding: 10rem 2rem 5rem;
}
.thanks_page main > a {
    background: #445566;
    color: #fff;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 35%;
    font-size: 1.6rem;
    margin: 0 auto 15rem;
    display: block;
}

.privacy_page main div {
    max-width: 1083px;
    margin: auto;
    padding: 5rem 2rem;
}
.privacy_page main > p {
    max-width: 786px;
    margin: auto;
    padding: 10rem 2rem 5rem;
    text-align: center;
}
.privacy_page main div h2 {
    color: #007BC7;
    font-size: 3.0rem;
    line-height: 3.0rem;
}
.privacy_page main div p {
    margin-bottom: 8rem;
}

/* お知らせ一覧 */
.category-list > h2 {
    font-size: 3.2rem;
}
.category-list > h2::after {
    width: 52px;
    height: 1px;
    background: #007BC7;
    display: block;
    content: "";
}
.category-list ul {
    list-style-type: none;
}
.category-list .active::before {
    display: inline-block;
    content: "●";
    color: #007BC7;
    margin-right: 1rem;
    margin-left: -2.4rem;
}
.category-list li a {
    font-size: 1.8rem;
}

.post-lists {
    display: flex;
    gap: 10rem;
    max-width: 1245px;
    margin: 5rem auto;
    box-sizing: border-box;
}
.post-lists .wp-block-query {
    width: 100%;
    margin-top: 10rem;
}
.post-lists .wp-block-post {
    border-top: 1px solid #e4e4e4;
    margin: 0;
    padding: 2rem 1rem;
}
.post-lists .wp-block-post:last-child {
    border-bottom: 1px solid #e4e4e4;
}
.post-lists .wp-block-post > .wp-block-group {
    display: flex;
    align-items: baseline;
}
.post-lists .wp-block-group .wp-block-post-date,
.post-lists .wp-block-group .post-tag,
.post-lists .wp-block-group > h2 {
    margin-right: 3rem;
    margin-top: 0;
}
.post-lists .wp-block-group .wp-block-post-date a,
.post-lists .wp-block-group .post-tag a {
    font-size: 2rem;
    font-weight: normal;
}
.post-lists .wp-block-post .post-tag {
    background: #d9d9d9;
    padding: 0 2rem;
}
.post-lists .wp-block-group > h2 {
    font-size: 1.8rem;
}
.wp-block-query-pagination {
    position: relative;
}
.wp-block-query-pagination-numbers {
    width: 100%;
    text-align: center;
}
.wp-block-query-pagination-numbers .page-numbers {
    margin-right: 1rem;
    padding: 1rem 1.5rem;
}
.wp-block-query-pagination-numbers .page-numbers.current {
    border-bottom: 1px solid #007BC7;
}
.wp-block-query-pagination-previous {
    position: absolute;
    top: 0;
    left: 0;
}
.wp-block-query-pagination-next {
    position: absolute;
    top: 0;
    right: 0;
}

/* お知らせ詳細 */
.post-content {
    max-width: 1080px;
    margin: 5rem auto;
    box-sizing: border-box;
}
.post-content * {
    color: #000;
}
.post-tag,
.wp-block-post-date {
    display: inline-block;
}
.post-tag a,
.wp-block-post-date a {
    font-size: 2rem;
}
.taxonomy-category a {
    background: #d9d9d9;
    padding: 0 1rem;
    margin: 0 2rem;
}
.post-content .wp-block-post-title {
    font-size: 2.6rem;
    margin-bottom: 3rem;
}
.post-content p,
.post-content img {
    margin-bottom: 1rem;
}

/* 会社概要 */
.head {
    max-width: none;
}
.philosophy {
    max-width: 1245px;
    margin: 10rem auto;
    padding: 3rem 2rem;
    background-image: linear-gradient(315deg, #32a0e4, #7ec0ad 49%, #eded5e);
    box-sizing: border-box;
}
.philosophy > div {
    background: #fff;
    max-width: 1164px;
    margin: auto;
    padding: 5rem 10rem;
    box-sizing: border-box;
}
.philosophy > div > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
}
.philosophy h2 {
    font-size: 4rem;
}
.philosophy h2 small {
    font-size: 1.6rem;
    color: #007BC7;
    line-height: normal;
}
.philosophy h3 {
    font-size: 6rem;
    line-height: 8rem;
    margin: 0 0 3rem;
}
.philosophy p {
    font-size: 2rem;
    line-height: 4rem;
}

.stand {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2026/03/company-stand_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
    padding: 10rem 0;
	max-width: none;
}
.stand > h2 {
	padding-left: max(20px, calc((100vw - 1048px) / 2));
}
.stand > h3 {
	padding-left: max(20px, calc((100vw - 1048px) / 2));
	margin-bottom: -2rem;
}
.stand > div {
    margin: auto;
    display: flex;
    align-items: flex-end;
	justify-content: space-between;
	padding-left: max(20px, calc((100vw - 1048px) / 2));
}
.stand_text > p {
	font-size: 2rem;
	padding: 1rem 0;
	line-height: 4rem;
}
.environ {
	font-size: 2.6rem;
}
.stand > div > p {
    margin-bottom: 16rem;
}
.stand_text > h3{
	color: #007BC7;
	font-weight: bold;
	line-height: normal;
}


.our {
    padding: 10rem 0;
	max-width: none;
}
.our > div {
    margin: auto;
    display: flex;
    align-items: center;
	justify-content: space-between;
	padding-right: max(20px, calc((100vw - 1048px) / 2));
}
.our > div > p {
	width: 50%;
}
.our > div > p img:last-of-type {
  	display: block;
  	margin: 0 auto;
	width: 70%;
	padding-top: 2rem;
}
.our > div > div {
	margin-left: 3rem;
}
.our > div > div > p {
	font-size: 2rem;
	line-height: 4rem;
}
.our > div > div > p:first-of-type {
	font-weight: bold;
	line-height: 4rem;
}
.our > div > div > h3 > span {
	font-size: 2.6rem;
	font-weight: bold;
}
.our > div > div > h3 {
	color: #007BC7;
	font-weight: bold;
	line-height: 5rem;
}


.strengths {
	padding: 10rem clamp(20px,4vw,100px);
	position: relative;
	max-width: none;
}
.strengths > h2{
	text-align: center;
}
.strengths > h3{
	text-align: center;
	color: #007BC7;
	font-weight: bold;
	margin-bottom: 1rem;
}
.strengths > p{
	text-align: center;
	font-size: 2rem;
	line-height: 4rem;
	margin-bottom: 12rem;
}
.strengths > div {
	display: flex;
	justify-content: center;
	gap: 5rem;
	padding: 2.5rem 0;
}
.strengths > div > div {
	background-color: #F9F9F9;
	width: 595px;
	height: 250px;
	border-radius: 2rem;
	position: relative;
}
.strengths > div:last-of-type > div {
	width:660px;
}
.feature-number {
	font-size: clamp(20px, 2vw, 26px);
  	background: #fff;
  	color: #007CE2;
  	width: clamp(30px, 3vw, 40px);
  	height: clamp(30px, 3vw, 40px);
  	border-radius: 50%;
  	display: inline-flex;
  	align-items: center;
  	justify-content: center;
 	margin-right: clamp(10px, 2vw, 20px);
  	font-weight: bold;
}
.strengths > div > div > p {
	font-size: clamp(20px, 2vw, 26px);
	font-weight: bold;
	color: #fff;
	background-color: #007CE2;
	width: fit-content;
	padding: 2rem;
	border-radius: 2rem 0;
	margin: 0;
}
.strengths > div > div > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem 0 3rem;
	position: absolute;
	top: 60%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	margin-top: 0;
}
.strengths > div > div > div > p {
	font-size: clamp(16px, 2vw, 20px);
}


.profile {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-back-scaled.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 15rem 2rem;
	max-width: none;
}
.profile > div {
    max-width: 1082px;
    margin: auto;
    padding: 0 2rem 10rem;
}
.profile h3 {
    font-size: 2.4rem;
    padding: 0 10rem;
}
.profile h3::before {
    content: "●";
    color: #007BC7;
    margin-right: 1rem;
}
.profile table,
.profile > div > div > div {
    padding: 0 10rem;
    width: 100%;
}
.profile table {
    border-bottom: 1px solid #ddd;
    padding-bottom: 7rem;
    margin-bottom: 5rem;
}
.profile table td {
    padding-right: 2rem;
    vertical-align: top;
}
.profile > div > div > div {
    display: flex;
    gap: 20rem;
    box-sizing: border-box;
}
.profile h4 {
    font-size: 2rem;
    color: #007BC7;
}
.profile ul {
    padding-left: 2rem;
    margin-bottom: 5rem;
}
.profile ul li {
    font-size: 1.6rem;
    line-height: 3.4rem;
}
.profile h4::after {
    background-repeat: no-repeat;
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-left: 1rem;
}
.profile > div > div > div > div:first-child h4:nth-of-type(1)::after {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-icon_01.png);
    width: 35px;
    height: 37px;
}
.profile > div > div > div > div:first-child h4:nth-of-type(2)::after {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-icon_02.png);
    width: 28px;
    height: 30px;
}
.profile > div > div > div > div:first-child h4:nth-of-type(3)::after {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-icon_03.png);
    width: 41px;
    height: 41px;
}
.profile > div > div > div > div:first-child h4:nth-of-type(4)::after {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-icon_04.png);
    width: 36px;
    height: 22px;
}
.profile > div > div > div > div:last-child h4:nth-of-type(1)::after {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-icon_05.png);
    width: 37px;
    height: 37px;
}
.profile > div > div > div > div:last-child h4:nth-of-type(2)::after {
    background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/profile-icon_06.png);
    width: 35px;
    height: 35px;
}
.wp-singular.page-id-79 .contact {
    background-color: #fbfbfb;
}


.believe {
	padding: 13rem 0 8rem;
	max-width: 931px;
	margin: 0 auto;
}
.believe > h3 {
	color: #007BC7;
	font-weight: bold;
	line-height: 5rem;
	border-left: 4px solid #007BC7;
	padding-left: 2rem;
	margin: 8rem 0;
}
.believe > p {
	font-size: 2rem;
	text-align: center;
	line-height: 4rem;
}

/* お問い合わせ */
.wpcf7-form {
    max-width: 882px;
    margin: 0 auto 20rem;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}
.wpcf7-form .cf-area {
    display: flex;
}
.wpcf7-form dt {
    width: 30%;
}
.wpcf7-form dt .cf-required {
    background: #007BC7;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 3px;
    padding: 0 1rem;
    float: right;
}
.wpcf7-form dd {
    width: 70%;
}
.wpcf7-form dd input,
.wpcf7-form dd textarea {
    width: 100%;
}
.wpcf7-form .cf-send {
    text-align: center;
}
.wpcf7-form .cf-send .wpcf7-submit {
    background: #445566;
    color: #fff;
    padding: 1rem 7rem;
    margin-top: 5rem;
    border-radius: 30px;
    font-size: 2rem;
    border: none;
}
.wpcf7-form .cf-send .wpcf7-previous {
	background: #c2c2c2;
    color: #fff;
    padding: 1rem 7rem;
    margin-top: 5rem;
	margin-right: 1rem;
    border-radius: 30px;
    font-size: 2rem;
    border: none;
}
.wpcf7-form .cf-send .wpcf7-spinner {
    display: none;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    /* ハンバーガーアイコン */
    .hamburger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
    }
    /* ハンバーガーの線 */
    .hamburger-icon span {
    width: 30px;
    height: 1px;
    background: #445566;
    transition: transform 0.3s, opacity 0.3s;
    position: absolute;
    }
    /* 1本目（上の線） */
    .hamburger-icon span:nth-child(1) {
    top: 0;
    }
    /* 2本目（中央の線） */
    .hamburger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    }
    /* 3本目（下の線） */
    .hamburger-icon span:nth-child(3) {
    bottom: 0;
    }
    header a img {
        max-width: 104px;
        z-index: 999;
    }
    header .hamburger-menu {
        width: auto;
    }
    /* フルスクリーンメニュー */
    header .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 998;
    padding: 10rem 2rem;
    box-sizing: border-box;
    }
    /* メニューが開いたとき */
    .menu.active {
    opacity: 1;
    visibility: visible;
    }
    /* メニューのリンク */
    header .menu ul {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    header .menu li a {
        padding: 2rem 0;
        display: block;
        border-top: 1px solid #ddd;
    }
    header .menu li:last-child a {
        border-bottom: 1px solid #ddd;
    }
    header .menu > a:last-child {
        background: none;
        border: none;
        padding: 0;
        max-width: 30px;
    }
    .hamburger-menu.active .hamburger-icon span {
    background: #445566;
    }
    /* ハンバーガーアイコンが「×」に変形 */
    .hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    }

    .hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    }
    .hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    }

    h2 {
        font-size: 2.6rem;
        line-height: 4rem;
    }
    p,a,td,span {
        font-size: 1.6rem;
        line-height: 3.6rem;
    }
    main {
        margin-top: 80px !important;
    }

    .about {
        background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/about_back_sp.png);
        padding: 1rem 0 10rem;
		background-size: 110%;
    }
    .about h2 small {
        color: #fff;
        font-size: 1.2rem;
    }
    .about > div {
        display: block;
    }
    .about > div > div {
        width: 100%;
    }
    .about > div > div:last-child {
        padding-top: 5rem;
    }
	.about_btn > div {
		padding: 3rem 2rem 6rem;
	}
	.about_btn > div > a {
		font-size: 1.6rem;
	}
    .parallax {
        margin-bottom: 3rem;
    }
    .parallax img {
        width: 70%;
    }

    .message > div {
        display: block;
    }
	.top_btn {
		padding: 0;
	}
    .message img {
        width: 100%;
        margin: 0;
    }
    .message > div > div {
        width: 100%;
    }
    .message > div > p {
        width: 100%;
    }
	.message > div > a {
		font-size: 1.6rem;
	}

    .company {
        background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/company_back_sp.png);
        padding: 10rem 0;
    }
    .company table {
        width: 100%;
        border-spacing: 0;
    }
    .company table td:first-child {
        vertical-align: middle;
        padding: 2rem 1rem;
    }

    h3 {
        font-size: 2.0rem;
    }
    .service > div > div > img {
        width: 12%;
        margin-bottom: 1%;
    }
    .service > div > div > div {
        display: block;
        margin-bottom: 5rem;
    }
    .service .img {
        width: 100%;
        border-bottom: 1px solid;
        max-width: none;
    }
    .service .img img {
        padding: 3rem 2rem;
    }
    .service .txt {
        width: 100%;
        padding: 1rem 2rem;
    }

    .contact {
        background-image: url(http://kensougroup.jp/wp-content/uploads/2025/10/footer_back_sp.png);
    }
    .contact h2 {
        font-size: 4.0rem;
    }
    .contact a {
        padding: 1.5rem 1rem;
        max-width: 65px;
        display: block;
        margin-left: auto;
    }

    footer .flex {
        display: block;
    }
    footer .flex .address {
        width: 100%;
    }
    footer .flex .address > img {
        width: 60%;
    }
    footer .flex .menu {
        width: 100%;
        text-align: left;
    }
    footer .flex .menu ul {
        display: block;
        margin: 3rem 0;
        padding: 0;
    }
    footer .flex .menu ul li {
        margin-bottom: 1rem;
    }
    footer .flex .menu > a {
        margin-bottom: 3rem;
        display: inline-block;
    }
    footer .content > p {
        font-size: 1.0rem;
    }

    .contact {
        padding-top: 20vw;
    }
    .contact_page main > p {
        margin: 5rem 2rem;
    }
    .contact_page form {
        margin: 5rem auto 10rem;
    }
    .contact_page dl {
        display: block;
        margin-bottom: 3rem;
    }
    .contact_page dt {
        width: 50%;
    }
    .contact_page dt .required {
        float: none;
        padding: 5px 10px;
        margin-left: 10px;
        font-size: 1.2rem;
    }
    .contact_page dd {
        margin: 0;
    }
    #form_submit input {
        width: 70%;
    }

    .thanks_page main > a {
        width: 70%;
    }

    .privacy_page main > p {
        padding: 5rem 2rem 0;
        text-align: left;
    }
    .privacy_page main div h2 {
        font-size: 2.0rem;
        line-height: 2.6rem;
    }
    .privacy_page main div p {
        margin-bottom: 5rem;
    }

    /* 会社概要 */
    .philosophy > div {
        padding: 2rem;
    }
    .philosophy > div > div {
        display: block;
    }
    .philosophy h2 {
        font-size: 2.6rem;
    }
    .philosophy h3 {
        font-size: 3.6rem;
        line-height: 5rem;
    }
    .philosophy p {
        font-size: 1.6rem;
        line-height: 3.6rem;
    }
	.stand {
		padding: 1rem 0;
		border-left: none; 
		background-size: 200%;
	}
	.stand > div {
		display: block;
	}
	.stand > h3 {
		font-size: 2rem;
		line-height: 3.6rem;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
	.stand > h2 {
		padding-bottom: 2rem;
	}
	.stand_text > p {
		font-size: 1.6rem;
		line-height: 3.2rem;
		padding-right: max(20px, calc((100vw - 958px) / 2));
	}
	.environ {
		font-size: 1.6rem;
	}
	.our {
		padding: 0;
		border-left: none; 
	}
	.our > div {
		display: block;
		padding-right: 0;
	}
	.our > div > h2 {
		padding-left: max(20px, calc((100vw - 958px) / 2));
		padding-bottom: 2rem;
	}
	.our > div > p {
		width: 100%;
	}
	.our > div > p img:first-of-type {
		width: 87%;
	}
	.our > div > p img:last-of-type {
		margin: 0;
		margin-left: auto;
		padding-bottom: 3rem;
	}
	.our > div > div {
		padding-left: max(20px, calc((100vw - 958px) / 2));
		margin-left: 0;
	}
	.our > div > div > p:first-of-type {
		line-height: 3rem;
	}
	.our > div > div > h3 > span {
		font-size: 1.8rem;
	}
	.our > div > div > h3 {
		line-height: 3.6rem;
	}
	.our > div > div > p {
		padding-right: max(20px, calc((100vw - 958px) / 2));
		font-size: 1.6rem;
		line-height: 3.2rem;
	}
	.strengths {
		padding-bottom: 0;
	}
	.strengths::before {
		display: none;
	}
	.strengths > h2 {
		padding-right: max(20px, calc((100vw - 958px) / 2));
		text-align: start;
	}
	.strengths > h3 {
		padding-right: max(20px, calc((100vw - 958px) / 2));
		line-height: 3.6rem;
		text-align: start;
	}
	.strengths > p {
		padding-right: max(20px, calc((100vw - 958px) / 2));
		font-size: 1.6rem;
		line-height: 3.2rem;
		text-align: start;
		margin-bottom: 4rem;
	}
	.strengths > div {
		display: block;
	}
	.strengths > div > div:first-of-type {
		margin-bottom: 5rem;
	}
	.strengths > div > div {
		width: clamp(318px,calc(318px + (100vw - 375px) * (450 - 318) / (768 - 375)),450px);
		height: 194px;
		margin: auto;
	}
	.strengths > div:last-of-type > div {
		width: clamp(318px,calc(318px + (100vw - 375px) * (450 - 318) / (768 - 375)),450px);
		height: 194px;
	}
	.strengths > div:last-of-type > div > div {
		margin-top: 0;
	}
	.strengths > div > div > p {
		font-size: 2rem;
		padding: 1rem;
	}
	.strengths > div > div > div {
		padding: 0 1rem 0 2rem;
	}
	.strengths > div > div > div > p {
		font-size: 1.6rem;
		line-height: 3rem;
	}
	.feature-number {
		font-size: 2rem;
		width: 3rem;
		height: 3rem;
		margin-right: 0.5rem;
	}
    .profile h3 {
        padding: 0;
    }
    .profile table {
        padding: 0;
    }
    .profile > div > div > div {
        display: block;
        padding: 0;
    }
	.believe {
		padding-left: max(20px, calc((100vw - 958px) / 2));
		padding-top: 4rem;
	}
	.believe > h2 {
		margin-bottom: 3rem;
		width: fit-content;
  		margin-left: auto;
  		margin-right: auto;
	}
	.believe > h3 {
		line-height: 3.6rem;
		padding-right: max(20px, calc((100vw - 958px) / 2));
		max-width: 315px;
		margin: 0 auto;
	}
	.believe > p {
		font-size: 1.6rem;
		line-height: 3.2rem;
		padding-right: max(20px, calc((100vw - 958px) / 2));
		margin-top: 5rem;
	}

    /* お知らせ */
    .post-lists {
        display: block;
    }
    .post-lists .wp-block-post > .wp-block-group {
        display: block;
    }
    .category-list > h2::after {
        margin-top: 1.5rem;
    }
    .post-lists .wp-block-post .post-tag {
        padding: 0;
    }
    .post-lists .wp-block-group .wp-block-post-date a, .post-lists .wp-block-group .post-tag a {
        font-size: 1.2rem;
    }

    /* お知らせ詳細 */
    .post-head img {
        padding: 0;
    }

    /* お問い合わせ */
    .wp-block-image {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .wpcf7-form .cf-area {
        display: block;
    }
    .wpcf7-form dt {
        width: 100%;
    }
    .wpcf7-form dt .cf-required {
        float: none;
        margin-left: 2rem;
    }
    .wpcf7-form dd {
        width: 100%;
        margin-left: 0;
    }
}

@media (min-width: 769px) and (max-width: 804px) {
	.strengths > div > div > div.ipad {
		top: clamp(65%,calc(70% - (5 * (100vw - 769px) / 35)),70%);
	}
}
@media (max-width: 431px) {
	.strengths > div > div > .arch{
		border-radius: 2rem 2rem 0 0;
		width: clamp(298px,calc(298px + (100vw - 375px) * 18 / 55),316px);
	}
}
@media (max-width: 320px) {
	.strengths > div > div > p {
		font-size: clamp(1.7rem,1.5vw,2rem);
	}
	.strengths > div > div {
		width: 278px;
	}
	.strengths > div > div > .arch {
		width: 258px;
	}
	.strengths > div:last-of-type > div {
		width: 278px;
	}
}