@charset "UTF-8";

/*
Theme Name: PHTERA
Author:
Description:
Version:
*/

* {
    scroll-behavior: smooth;
}

p, h1, h2, h3, h4, h5, a, li {
	color: #343434;
}

body {
    /* font-family:  "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif; */
    font-family: "Inter", sans-serif;
}

html, body {
    overflow-x: hidden;
}

[id] {
	scroll-margin-top: 10vh;
}

header {
    background-color: #FFFFFF;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    margin: 0 auto;
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 80px;
}

header .logo img {
    width: 350px;
    height: 80px;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 44%;
    padding-right: 160px;
}

.nav-links a {
    font-weight: bold;
    font-size: 16px;
    color: #334155;
}

.nav-links .contact-btn {
    background-color: #cc0000;
    color: white;
    padding: 14px 20px;
    border-radius: 32px;
    border: solid 1px #cc0000;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
	transition: opacity 0.3s ease;
}

.contact-btn:hover {
    opacity: 0.8;
}

.contact-btn:active {
    background-color: white;
    color: #016934;
}

@media screen and (max-width: 450px) {
    header .logo img {
        width: 200px;
        height: 60px;
    }
}


/* ハンバーガーメニュー */
.burger {
    display: none;
    cursor: pointer;
}

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 25px;
    height: 3px;
    background-color: #cc0000;
    margin: 5px;
    transition: all 0.5s ease-in-out;
    margin-left: 30px;
}

.toggle .line1 {
    transform: translate(0px, 8px) rotate(45deg);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: translate(0px, -8px) rotate(-45deg);
}


@media screen and (max-width: 1400px) {
    .nav-links {
        padding-right: 80px;
        width: 50%;
    }
}

@media screen and (max-width: 920px) {
    .contact-btn {
        padding: 12px 18px;
        border-radius: 28px;
        font-size: 14px;
    }

    .burger {
        display: flex;
        align-items: center;
    }

    nav {
        margin: 0;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    header .logo{
        width: 24%;
        padding-left: 32px;
    }

    header .burger{
        padding-right: 32px;
    }
}

@media screen and (max-width: 540px) {
    header .logo {
        width: 30%;
    }
}

.nav-modal {
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
	top: 10vh;
    background-color: white;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-modal.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-modal ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 20vh;
    justify-content: center;
}

.nav-modal ul li {
    font-size: 20px;
    padding-bottom: 30px;
}

.top-wrapper {
    margin-top: 100px;
    width: 100vw;
    display: flex;
    aspect-ratio: 16/9;
}

#background-video {
    object-fit: cover;
}

/* 事業内容 */
.wrapper {
    width: 100vw;
    padding: 120px;
    display: flex;
    justify-content: center;
}

.wrapper.service-wrapper {
    background-color: #FFFFFF;
}

.wrapper .service-container {
    width: 75%;
}

.title {
    text-align: center;
    padding-bottom: 80px;
}

.title h1 {
    font-size: 40px;
    font-weight: bold;
    color: #cc0000;
}

.title p {
    color: #990000;
    font-size: 16px;
    padding-bottom: 16px;
}

.service-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
}

.service-content {
    width: 48%;
    margin-bottom: 80px;
}

.service-content img {
    width: 100%;
    border-radius: 16px;
}

.service-content h2 {
    color: #cc0000;
    font-size: 24px;
    font-weight: bold;
    margin: 24px 0;
}

.service-content p {
    font-size: 16px;
    color: #475569;
    line-height: 2;
}

.service-content .sp-br {
    display: none;
}

.slider button {
    display: none;
}

@media screen and (max-width: 1400px) {
    .wrapper.service-wrapper {
        padding: 120px 0;
    }

    .wrapper .service-container {
        width: 90%;
    }
}

@media screen and (max-width: 1180px) {
    .service-content .pc-br {
        display: none;
    }
}

@media screen and (max-width: 950px) {
    .wrapper.service-wrapper {
        padding: 64px 0;
    }

    .service-container .title {
        padding-bottom: 64px;
    }

    .service-contents {
        flex-direction: column;
    }

    .service-content {
        width: 100%;
    }

    .title h1 {
        font-size: 24px;
    }

    .title p {
        font-size: 12px;
        padding-bottom: 8px;
    }
}

/* @media screen and (max-width: 768px) {
    .slider {
        width: 100%;
        position: relative;
        overflow: hidden;
        height: 430px;
    }

    .service-contents {
        width: 100%;
        justify-content:normal;
    }

    .service-content {
        width: 60%;
        height: 430px;
        position: absolute;
        transition: transform 0.5s ease;
    }

    .service-content p {
        font-size: 14px;
    }

    .service-content h2 {
        font-size: 16px;
    }

    .slider button {
        display: block;
        position: absolute;
        z-index: 100;
        top: 150px;
    }
    
    .next-btn {
        right: 16%;
    }
    
    .prev-btn {
        right: 82%;
    }
} */

@media screen and (max-width: 660px) {
    .wrapper.service-wrapper {
        padding: 32px 0;
    }

    .service-container .title {
        padding-bottom: 32px;
    }

    .service-content h2 {
        font-size: 20px;
        margin: 16px 0;
    }

    .service-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 450px) {
    .wrapper.service-wrapper {
        background-color: #FFFFFF;
    }

    .service-content .sp-br {
        display: block;
    }
}

/* 経営理念 */

.wrapper.philosophy-wrapper {
    background-color: #CCCCCC;
}

.wrapper.philosophy-wrapper .philosophy-wrap-contents {
    width: 75%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.philosophy-wrapper .philosophy-wrap-contents .sp-section {
    display: none;
}

.philosophy-wrapper .philosophy-wrap-contents .philosophy-section {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.philosophy-wrapper .philosophy-wrap-contents .pc-section .title {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.philosophy-wrapper .philosophy-wrap-contents .pc-section .title p {
    color: #990000;
    font-size: 16px;
    padding-bottom: 16px;
}

.philosophy-section .philosophy-contents {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.philosophy-contents h1 {
    color: #cc0000;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 80px;
}

.philosophy-contents p {
    font-size: 16px;
    line-height: 2.0;
}

.philosophy-wrapper .philosophy-wrap-contents img {
    width: 48%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

@media screen and (max-width: 1700px) {
    .wrapper.philosophy-wrapper .philosophy-wrap-contents {
        width: 90%;
    }
}

@media screen and (max-width: 1400px) {
    .wrapper.philosophy-wrapper {
        padding: 120px 0;
    }
}

@media screen and (max-width: 1200px) {
    .wrapper.philosophy-wrapper {
        padding: 80px 0;
    }

    .wrapper.philosophy-wrapper .philosophy-wrap-contents {
        flex-direction: column;
        justify-content: flex-start;
    }

    .philosophy-wrapper .philosophy-wrap-contents .pc-section {
        display: none;
    }

    .philosophy-wrapper .philosophy-wrap-contents .sp-section {
        display: block;
        padding-bottom: 64px;
    }

    .philosophy-wrapper .philosophy-wrap-contents img {
        width: 100%;
        margin-bottom: 24px;
    }

    .philosophy-contents h1 {
        padding-bottom: 32px;
    }
}

@media screen and (max-width: 660px) {
    .wrapper.philosophy-wrapper {
        padding: 64px 0;
    }

    .philosophy-wrapper .philosophy-wrap-contents .sp-section {
        padding-bottom: 32px;
    }

    .philosophy-contents h1 {
        font-size: 28px;
    }

    .philosophy-contents p {
        font-size: 14px;
        padding-bottom: 16px;
    }
}

/* 会社概要 */

.wrapper.about-wrapper {
    background-color: #FFFFFF;
}

.wrapper .about-container {
    width: 50%;
}

.about-container .title {
    text-align: center;
    padding-bottom: 80px;
}

.about-container .title h1 {
    font-size: 40px;
    font-weight: bold;
    color: #cc0000;
}

.about-container .title p {
    color: #990000;
    font-size: 16px;
    padding-bottom: 16px;
}

.about-contents {
    border-top: 1px solid #CCCCCC;
}

.about-contents hr {
    color: #CCCCCC;
    margin-top: 40px;
}

.about-content {
    margin-bottom: 40px;
}

.about-item {
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.about-item .index {
    width: 30%;
    font-size: 16px;
    font-weight: bold;
    color: #cc0000;
}

.about-item .item {
    font-size: 16px;
    color: #334155;
    line-height: 1.5;
}

@media screen and (max-width: 1200px) {
    .wrapper .about-container {
        width: 100%;
    }
}

@media screen and (max-width: 770px) {
    .wrapper.about-wrapper {
        padding: 32px 0 80px 0;
    }

    .wrapper .about-container {
        width: 90%;
    }

    .about-container .title {
        padding-bottom: 32px;
    }

    .about-container .title h1 {
        font-size: 24px;
    }

    .about-container .title p {
        font-size: 12px;
    }

    .about-contents {
        border-top: none;
    }

    .about-contents hr {
        margin-top: 16px;
    }

    .about-content {
        margin-bottom: 16px;
    }

    .about-item {
        display: block;
        margin-top: 0;
    }

    .about-item .index {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 450px) {
    .about-wrapper table {
        font-size: 10px;
        line-height: 1.4;
    }
	
	.about-wrapper th, td {
		font-size: 12px;
	}
}

/* 採用情報 */
.wrapper.recruit-wrapper {
    background-color: #cc0000;
}

.wrapper .recruit-container {
    width: 75%;
    display: flex;
    justify-content: space-between;
}

.recruit-container .title {
    text-align: start;
    padding-bottom: 80px;
}

.recruit-container .title h1 {
    font-size: 40px;
    font-weight: bold;
    color: #FFFFFF;
}

.recruit-container .title p {
    color: #CCCCCC;
    font-size: 16px;
    padding-bottom: 16px;
}

.recruit-table {
    width: 60%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 32px;
}

.recruit-content-upper {
    display: flex;
}

.recruit-content-upper .recruit-item {
    margin-bottom: 24px;
}

.recruit-item .sp-br {
    display: none;
}

.recruit-item-left,
.recruit-item-right {
    width: 50%;
}

.recruit-content-lower {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 16px;
    padding-top: 16px;
    padding-bottom: 48px;
}

.recruit-content-lower .recruit-item {
    display: flex;
}

.recruit-item p {
    line-height: 1.5;
}

.recruit-item .index {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #CCCCCC;
    margin-right: 32px;
}

.recruit-item .index span {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #CCCCCC;
    margin-right: 2px;
}

.recruit-item .item {
    font-size: 14px;
    color: #FFFFFF;
}

@media screen and (max-width: 1650px) {
	.wrapper .recruit-container {
        width: 90%;
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (max-width: 1400px) {
	.wrapper.recruit-wrapper {
        padding: 120px 0;
    }
}

@media screen and (max-width: 1120px) {
    .wrapper.recruit-wrapper {
        padding: 32px 0 80px 0;
    }

	.wrapper .recruit-container {
        width: 90%;
        flex-direction: column;
    }

    .recruit-container .title {
        padding-bottom: 32px;
    }

    .recruit-table {
        width: 100%;
    }
}

@media screen and (max-width: 850px) {
	.recruit-content-upper {
        display: block;
    }

    .recruit-content-lower .recruit-item {
        display: block;
    }
}

@media screen and (max-width: 660px) {
    .recruit-container .title h1 {
        font-size: 28px;
    }

    .recruit-container .title p {
        font-size: 12px;
        padding-bottom: 8px;
    }

    .recruit-table {
        padding: 16px;
    }

    .recruit-item-left,
    .recruit-item-right {
        width: 100%;
    }

    .recruit-item .index {
        font-size: 14px;
    }

    .recruit-item .sp-br {
        display: block;
    }

    .recruit-item .item {
        line-height: 2;
    }

    .recruit-content-upper .recruit-item {
        margin-bottom: 16px;
    }

    .recruit-content-lower {
        margin-top: 32px;
    }
}

/* お問合わせ */
.wrapper.top-contact-wrapper {
    background-color: #990000;
    margin: 0 auto;
    display: block;
}

.top-contact-wrapper .title {
    padding-bottom: 32px;
}

.top-contact-wrapper .title h1 {
    font-size: 32px;
    color: #FFFFFF;
}

.top-contact-wrapper .contact-btn {
    margin: 0 auto;
    width: 265px;
    height: 65px;
    background-color: #CCCCCC;
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-contact-wrapper .contact-btn a {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
}

@media screen and (max-width: 550px) {
    .wrapper.top-contact-wrapper {
        padding: 56px 0 96px 0;
    }

    .top-contact-wrapper .title h1 {
        font-size: 24px;
    }

    .top-contact-wrapper .contact-btn a {
        font-size: 16px;
    }
}

/* フッター */
.sp-copy {
    display: none;
}

footer {
    background-color: #FFFFFF;
    height: 320px;
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding: 80px 80px 160px 80px;
}

footer .logo {
    margin-bottom: 50px;
}

footer .logo img {
    width: 350px;
    height: 80px;
}

.footer-contents {
    display: flex;
    justify-content: space-between;
}

.footer-contents p {
    font-size: 16px;
    color: #334155;
}

.footer-contents p:last-child {
    font-weight: normal;
    color: #64748B;
}

.links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 30%;
}

.links li a {
    font-size: 16px;
}

.sp-footer-btn {
	display: none;
}

footer .contact-btn {
	padding: 8px 0;
    width: 30%;
    margin: 12px auto 0;
}

@media screen and (max-width: 1400px) {
    .links {
        width: 40%;
    }
}

@media screen and (max-width: 1000px) {
    footer {
        height: auto;
        padding: 48px 32px;
    }

    footer .logo h1 {
        margin-bottom: 48px;
    }

    .footer-contents {
        display: block;
    }

    .links {
        width: 100%;
        padding-bottom: 48px;
    }

    .footer-contents p {
        text-align: end;
    }
}

@media screen and (max-width: 768px) {
    .pc-copy {
        display: none;
    }

    .sp-copy {
        display: block;
    }

    footer .logo h1 {
        font-size: 28px;
    }

    .links li a {
        font-size: 12px;
    }
    
    .footer-contents p {
        font-size: 10px;
    }
}

@media screen and (max-width: 450px) {
    footer .logo img {
        width: 330px;
    }
}

/*お問合せページ*/
.contact-wrapper {
    text-align: center;
    display: block;
    padding: 0;
}

.contact-container {
    background-color: #cc0000;
    margin-top: 100px;
    padding-top: 120px;
}

.contact-container .title h1 {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
}

.contact-container .title p {
    color: #CCCCCC;
    font-size: 16px;
    padding-bottom: 16px;
}

form {
    background-color: #FFFFFF;
    padding-top: 80px;
}

.contact-form-wrapper {
    width: 50%;
    margin: 0 auto;
    padding: 16px 96px;
    display: block;
    background-color: #FFFFFF;
    border-radius: 8px;
}

.contact-form-wrapper .form-desc {
    padding: 64px;
}

.contact-form-wrapper .form-desc .sp-br {
    display: none;
}

.contact-form-wrapper .form {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form-wrapper .form p {
    margin-bottom: 16px;
}

.contact-form-wrapper .form p:last-child {
    margin-bottom: 0;
}

.contact-form-wrapper .form label {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 16px;
}

.wpcf7-form-control {
	color: #343434;
    background-color: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    height: 55px;
	width: 100%;
	border-radius: 5px;
	margin: 10px 0 20px; 
    padding-left: 16px;
    line-height: 20px;
    font-size: 20px;
}

.wpcf7-form-control::placeholder {
    font-size: 16px;
    color: #CCCCCC;
}

.wpcf7-textarea {
    height: 200px;
    padding-top: 16px;
    padding-left: 16px;
}

.form-btn {
	width: 100%;
	text-align: center;
}

.wpcf7-submit {
    width: 160px;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    margin: 20px auto; /* 自動的に中央揃え */
    background-color: rgb(244, 244, 244);
    transition: background-color 0.3s ease, color 0.3s ease;
	transition: opacity 0.3s ease;
    border: 1px solid #ccc;
    
}

.wpcf7-spinner{
	display: none !important;
}

.wpcf7-submit:hover {
	opacity: 0.8;
}

.wpcf7-submit:active {
    background-color: #016934;
    color: white;
}

.contact-form-wrapper sup {
    color: #cc0000;
    padding-left: 5px;
}

.input-area {
    background-color: #FFFFFF;
    padding: 32px 0;
}

input {
    width: 300px;
    height: 65px;
    border-radius: 32px;
    background-color: #cc0000;
    color: #FFFFFF;
    cursor: pointer; /* ホバー時のポインター変更 */
}

@media screen and (max-width: 1400px) {
    .contact-form-wrapper {
        width: 80%;
    }
}

@media screen and (max-width: 960px) {
    .contact-form-wrapper {
        width: 100%;
    }

    form {
        padding-top: 0;
    }

    .input-area {
        background-color: #FFFFFF;
        padding: 32px 0 72px 0;
    }
}

@media screen and (max-width: 780px) {
    .contact-form-wrapper .form-desc .sp-br {
        display: block;
    }
}

@media screen and (max-width: 660px) {
    .contact-container {
        padding-top: 72px;
    }

    .contact-container .title {
        padding-bottom:  48px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-form-wrapper .form-desc {
        line-height: 2;
        padding: 0 0 16px 0;
    }

    .input-area {
        padding: 0 0 72px 0;
    }

    .contact-form-wrapper .form label {
        font-size: 14px;
    }

    .wpcf7-form-control::placeholder {
        font-size: 14px;
        font-weight: normal;
    }
}

.email-link {
	color: #007BFF;
    text-decoration: underline;
    font-weight: bold;
}

.email-link:hover {
    color: #0056b3;
    text-decoration: none;
}	