@charset "UTF-8";

/*
Theme Name: nexthome2024
Version: 2408
*/

html {
	width: 100%;
	height: 100%;
	font-size: 16px;
}

body {
    background-color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color:#333;
    letter-spacing: 0.05rem;
}

/*
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 900

.noto-serif-jp-<uniquifier> {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

body.drawer-opened {
    overflow: hidden;
}
a {
    text-decoration: none;
}
a:link, a:visited {
    color: #8bcfdb;
}
a:hover {
    opacity: 0.7;
}

h1,h2,h3 {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
}



.next-container {
    width: 90%;
}

.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.spnavigation {
    position: fixed;
    z-index: 998;
    background-color: #8bcfdb;
    width: 100%;
    height: 100%;
    padding-top: 70px;
    transform: translateX(100%);
    transition: 0.5s ease;
}
body.drawer-opened .spnavigation {
    transform: none;
}
.spnavigation a:link, .spnavigation a:visited {
    color: #fff;
    font-size: 1.5rem;
}
.spnavigation ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.spnavigation img {
    position: absolute;
    width: 150px;
    bottom: 1.5rem;
    right: 1.5rem;
}
.hamburger {
    width: 3.5rem;
    height: 3.5rem;
    display: block;
    position: absolute;
    right: 0px;
    top: 60%;
    transform: translateY(-50%);
    background-image: url(image/icon_menu.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-repeat: center;
    display: none;
    cursor: pointer;
}
body.drawer-opened .hamburger {
    background-image: url(image/icon_close.svg);
}
main {
    padding-top: 60px;
    overflow: hidden;
}
header {
    width: 100%;
    height: 60px;
    background-color: #fff;
    position: fixed;
    z-index: 999;
}
h1 img {
    width: 200px;
}
header nav ul {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    align-items: center;
    gap: 1rem;
    margin-right: 4.5rem;
    font-size: 0.9rem;
}
.contact-btn {
    width: 4rem;
    height: 4rem;
    display: block;
    position: absolute;
    right: 0px;
    top: 64%;
    transform: translateY(-50%);
}
.contact-btn img {
    width: 100%;
    transition: 0.3s ease;
}
.contact-btn img:hover {
    transform: scale(1.1);
}
.contact-btn:hover {
    opacity: 1;
}

.blue-btn a {
    position: relative;
    display: inline-block;
    padding-left: 2.5rem;
}
.blue-btn a::before{
    content: '';
    display: block;
    background-image: url(image/icon_arrow_c.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 2rem;
    height: 2rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.white-btn a {
    position: relative;
    display: inline-block;
    padding-left: 2.5rem;
}
.white-btn a::before{
    content: '';
    display: block;
    background-image: url(image/icon_arrow_w.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 2rem;
    height: 2rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.white-btn a:link, .white-btn a:visited {
    color: #fff;
}
.hero {
    width: 100%;
    height: 60vw;
    background-color: #eee;
    background-image: url(image/hero.jpg);
    background-size: cover;
    position: relative;
}
.hero h2 {
    color: #8bcfdb;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    letter-spacing: 0.15rem;
    font-size: 1.75rem;
    padding-left: 4.5rem;
    white-space: nowrap;
    font-weight: 400;
}
.hero h2::before {
    content: '';
    display: inline-block;
    vertical-align: center;
    width: 4rem;
    height: 5rem;
    background-image: url(image/logo_c.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-repeat: center;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

h3 {
    color: #8bcfdb;
    letter-spacing: 0.2rem;
    font-size: 3rem;
}
h4 {
    font-size: 1.25rem;
    letter-spacing: 0.2rem;
}

.post-item img {
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}
.post-item a:link, .post-item a:visited {
    color:#333 ;
}
.post-item h4 {
    margin-bottom: 0.25rem;
}
.category-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.category-item a:link, .category-item a:visited {
    display: inline-block;
    border: 1px solid #8bcfdb;
    color: #8bcfdb;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    margin: 0.5rem 0.5rem 0.5rem 0;
    font-size: 0.8rem;
}
.top-blue-container {
    color: #fff;
    background-color: #8bcfdb;
    padding: 2.5rem 0 10vw 0;
    margin-bottom: 25vw;
    position: relative;
}
.top-blue-container h3 {
    color: #fff;
    font-size: 3rem;
}
.top-img {
    position: absolute;
    width: 30vw;
    border-radius: 1rem;
    pointer-events: none;
}
.top-img01 {
    left: -17vw;
    bottom: -10vw;
}
.top-img02 {
    left: 16.5vw;
    bottom: -15vw;
}
.top-img03 {
    left: 50vw;
    bottom: -12vw;
}
.top-img04 {
    right: -15vw;
    bottom: -8vw;
}

footer {
    background-color: #8bcfdb;
    color: #fff;
    padding: 2.5rem 0;
    margin-top: auto;
}
.footer-logo {
    width: 150px;
    pointer-events: none;
}
footer a:link, footer a:visited {
    color: #fff;
}
footer nav ul {
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.page-header {
    background-size: cover;
    width: 100%;
    height: 30vw;
    position: relative;
    margin-bottom: 3rem;
}
.page-header h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    letter-spacing: 0.2rem;
    color:#fff;
}
.about-header {
    background-image: url(image/phead-about.jpg);
    background-position: center 70%;
}
.company-header {
    background-image: url(image/phead-company.jpg);
    background-position: center;
}
.works-header {
    background-image: url(image/phead-works.jpg);
    background-position: center;
}
.blog-header {
    background-image: url(image/phead-blog.jpg);
    background-position: center;
}
.contact-header {
    background-image: url(image/phead-contact.jpg);
    background-position: center;
}
.about-container {
    padding: 2.5rem 0 10vw 0;
    margin-bottom: 25vw;
    position: relative;
}
.about-container h3 {
    font-size: 3rem;
}
.ceo {
    width: 350px;
    padding: 0 50px;
    margin-bottom: 1rem;
}
.message h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}
.prof-container {
    width: 90%;
}



table {
    width: 100%;
}

table tr{
    border-bottom: 2px solid #8bcfdb;
}
table tr:last-child {
    border: none;
}

table th, table td {
    padding: 0.5rem 0.5rem;
}
table th {
    min-width: 7rem;
}
.divider {
    width: 90%;
    height: 2px;
    background-color: #8bcfdb;
    display: block;
    margin: 3rem auto;
}
.map {
    width: 100%;
    height: 30vw;
}
.map iframe {
    width: 100%;
    height: 100%;
}

.contact-tel {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    color: #8bcfdb;
}
.contact-tel p {
    line-height: 150%;
}
.contact-tel span {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0;
    line-height: 100%;
}

.single-page h3 {
    font-size: 2.5rem;
}

.sidebar h4 {
    border-bottom: 2px solid #8bcfdb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.sidebar ul {
    list-style-type: none;
    padding: 0;
}
.sidebar ul li {
    margin-bottom: 0.5rem;
}

.contactform {
    color: #8bcfdb;
}
.contactform label {
    display: block;
}
.contactform input[type=text],.contactform input[type=email] {
    width: 100%;
    border-radius: 0.25rem;
    border: 2px solid #ddd;
    padding: 0.25rem;
    outline: none;
}

.contactform textarea {
    width: 100%;
    border-radius: 0.5rem;
    border: 2px solid #ddd;
    padding: 0.25rem;
    outline: none;
}

.contactform input[type=submit] {
    background-color: #8bcfdb;
    border: 2px solid #8bcfdb;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    color: #fff;
    transition: 0.3s ease;
    min-width: 280px;
}

.contactform input[type=button] {
    background-color: #fff;
    border: 2px solid #8bcfdb;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    color: #8bcfdb;
    transition: 0.3s ease;
    min-width: 280px;
    margin-bottom: 1rem;
}

.contactform input[type=submit]:hover, .contactform input[type=button]:hover {
    transform: scale(1.1);
}

.wpcf7-spinner {
	display: none !important;
}
.confirm_content {
    color: #333;
}

.eyecatch img {
	border-radius:0.5rem;
}



/*pagenation*/
.nav-links {
    margin: 2rem auto;
}
.nav-links ul.page-numbers {
    display: flex;
    justify-content: center;
}
.nav-links ul li {
    margin: auto 0.5rem;
}



.nav-links ul.page-numbers .current {
    color: #333;
}

.wpcf7-list-item-label span {
    font-size: 0.8rem;
    display: block;
    margin-left: 1.5rem;
}

