@charset "UTF-8";
html, body {
    overflow-x: hidden;
}
body {
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100vw;
}

.inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 15px;
}
.inner2 {
    margin: 0 auto;
    max-width: 1040px;
    padding: 0 20px;
}
/*logo*/
header .logo {
    font-family: "Rampart One";
    font-weight: 400;
    font-size: 3rem;
    background: linear-gradient(to right, #77c4e2, #3498db); /* グラデーションの指定 */
    -webkit-background-clip: text; /* テキストに背景をクリップ */
    -webkit-text-fill-color: transparent; /* テキストの色を透明に */
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin: 20px 0 20px 0;
    text-shadow: 1px 0 0 #77c4e2;
}
/*globalnav*/
.hamburger {
    margin: 10px auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hamburger .btn-gNav {
    position: fixed;
    top: 55px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 12;
    opacity: 0.7;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(160, 246, 248, 0.9);
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}
.hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}
.hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}
/***activeクラスが付与されると線が回転して×になる***/
.hamburger .btn-gNav.active span:nth-of-type(1) {
    top: 0px;
    left: 0px;
    transform: translateY(6px) rotate(-135deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(2) {
    opacity: 0;
    transform: translateX(50px);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(3){
    top: 12px;
    left: 0px;
    transform: translateY(-6px) rotate(135deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
/**回転して×はここまで**/
.btn-gNav {
    display: none;
}
.gNav .gNav-menu {
    display: flex;
    justify-content: space-between;
}
.gNav .gNav-menu li {
    margin: 0 auto;
    padding: 0 10px;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
}
.gNav .gNav-menu li a {
    color: inherit;
    text-decoration: none;
}
.gNav .gNav-menu li a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #77c4e2;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: -5px;
}
.gNav .gNav-menu li a:hover{
	color: #77c4e2;
}
.gNav .gNav-menu li a:hover::after {
    width: 100%;
}
/*globalnav end*/

/*main*/
.background {
    height: 90vh;
    background: linear-gradient(45deg, #77c4e2, #50e3c2);
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 100px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.headline {
    font-size: clamp(1.5rem, 7vh, 5rem);
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.word {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    margin: 15px 15px;
    display: inline-block;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
}

.word.active {
    animation: fadeInScale 0.6s ease forwards;
}

.word:hover {
    transform: scale(1.1);
}

.word:nth-child(1) { animation-delay: 0.2s; }
.word:nth-child(2) { animation-delay: 0.4s; }
.word:nth-child(3) { animation-delay: 0.6s; }
.word:nth-child(4) { animation-delay: 0.8s; }
.word:nth-child(5) { animation-delay: 1.0s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0; /* 初期状態では見えない */
    transition: opacity 0.5s;
    visibility: hidden; /* 初期状態では表示しない */
}

.particle.active {
    visibility: visible; /* アクティブな場合に表示する */
    animation: particles 2s ease infinite; /* アクティブな場合にアニメーションを開始 */
}

@keyframes particles {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1.5); /* 上に動かす */
        opacity: 1;
    }
    100% {
        transform: translateY(-40px) scale(0); /* 完全に消す */
        opacity: 0;
    }
}

.parallax {
    border-radius: 50px;
    box-shadow: 0 0px 16px rgb(0, 0, 0, .16);
    position: absolute;
    aspect-ratio: 1 / 1;
    z-index: -999;
}
@keyframes parallax-large-anim {
    from {
    transform: translateY(500px);
    }
    to {
    transform: translateY(0px);
    }
}
.large {
    background-color: rgba(98, 146, 158, 0.7);
    width: 100px;
    animation: parallax-large-anim linear;
    animation-timeline: scroll();
}
@keyframes parallax-medium-anim {
    from {
    transform: translateY(50px);
    }
    to {
    transform: translateY(0px);
    }
}
.medium {
    background-color: rgba(185, 49, 79, 0.7);
    width: 75px;
    animation: parallax-large-anim linear;
    animation-timeline: scroll();
}
@keyframes parallax-small-anim {
    from {
    transform: translateY(-500px);
    }
    to {
    transform: translateY(0px);
    }
}
.small {
    background-color: rgba(221, 185, 103, 0.7);
    width: 50px;
    animation: parallax-small-anim linear;
    animation-timeline: scroll();
}
.concept, .service-section {
    position: relative;
    margin-bottom: 100px;
    padding: 20px;
    background-color: #fff;
    opacity: 0.9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.content_title {
    font-size: 3rem;
    font-weight: bold;
    margin: 15px 0 30px;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.content_title.show {
    opacity: 1;
    transform: translateY(0);
}
.concept-text p {
    margin-bottom: 15px;
    line-height: 2;
    color: #666;
    text-align: justify;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.concept-text p.show {
    opacity: 1;
    transform: translateY(0);
}
.catch {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}
.concept-service-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px;
}
.concept-service {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
    flex: 1 1 calc(50% - 20px);
    min-width: 200px;
    position: relative;
}
.image-container {
    position: relative;
    margin-bottom: 10px;
}
.hover-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(0px);
}
.concept-service:hover .hover-image {
    opacity: 0.5;
    filter: blur(2px);
}
.concept-service:hover .text-overlay {
    opacity: 1;
    filter: blur(0);
}
.concept-service:hover {
    background-color: #e1e1e1; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}
.concept-service h4 {
    font-size: 1.375rem;
    font-weight: bold;
    color: #333;
    min-height: 100px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.concept-service h4.show {
    opacity: 1;
    transform: translateY(0);
}
.concept-service ul {
    font-size: 1.15rem;
    font-weight: 500;
    text-align: justify;
    letter-spacing: 1.5px;
    color: #000;
    margin: 0;
    flex-grow: 1;
}
/*indexコンテンツボタン*/
.botton-area {
    text-align: center;
}
.cta-button {
    display: inline-block;
    background-color: #77c4e2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px; 
    text-decoration: none;
    margin: 20px auto;
    transition: background-color 0.3s;
    text-align: center;
}
.cta-button:hover {
    background-color: #62a3bc;
}


/**company**/
.company {
    margin-top: 50px;
    /*padding: 30px;*/
    /*background-color: #fff;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    /*position: relative;*/
}
h3.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
h3.fade-in.visible {
    opacity: 1; /* visibleクラスを追加してopacityを変更 */
    transform: translateY(0);
}
.company-text {
    margin-bottom: 100px;
}
.table {
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.row.visible {
    opacity: 1;
    transform: translateY(0);
}
.row:hover {
    transform: scale(1.02); /* 少し拡大することで注目を引く */
}
.row:last-child {
    border-bottom: none;
}
.head {
    font-weight: bold;
    width: 30%;
    font-size: 1.2em;
    color: #555;
}
.body {
    width: 70%;
    font-size: 1.1em;
    color: #666;
    line-height: 2;
}
.gMap-head {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 100px;
    color: #333;
}
.gMap {
    margin-top: 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.gMap iframe {
    width: 100%;
    height: 600px;
}
/**service**/
.service {
    margin: 50px 0 40px 0;
}
.initial {
    color: #77c4e2;
}
.service-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}
.service-card {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.service-card.show {
    opacity: 1;
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex: 1;
}
.service-number {
    font-size: 24px;
    font-family: var(--mclogi-font-family-en);
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
}
.service-icon {
    font-size: 36px;
}
.service-text {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    margin-right: 20px; /* 画像とのスペース */
    flex: 1; /* 残りのスペースを占有 */
}
.service-photo {
    border-radius: 15px;
    overflow: hidden;
    flex: 0 0 50%;
}
.service-photo img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}
.service-photo img:hover {
    transform: scale(1.05);
}
.service-text ul {
    list-style: disc;
    font-size: 1rem;
    padding-left: 20px;
    margin: 10px 0;
}

/*お問い合わせ*/
.contact-page {
    margin-top: 50px;
}
.page-heading {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.contactform {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    width: 100%;
    margin: 20px auto;
}
.contactform h4 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333333;
}
.item {
    margin-bottom: 15px;
}
.label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555555;
}
.form_tit {
    margin: 0;
}
.label-required {
    color: #ff0000;
}
.label-required-any {
    color: #555555;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.btn {
    text-align: center;
}
button[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
    background-color: #77c4e2;
    color: #333;
}
.kakunin {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 120px auto;
}
.kakunin h4 {
    margin-bottom: 15px;
}
.sousin-btn {
    text-align: center;
    margin-bottom: 15px;
}
.modoru-btn {
    text-align: center;
    margin-top: 15px;
}
.back-btn {
    background-color: #c0c0c0;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.back-btn:hover {
    background-color: #77c4e2;
    color: #333;
}
.back-btn a {
    text-decoration: none;
}
.miss {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 120px auto;
}
.miss-text {
    margin-bottom: 35px;
}
.miss-btn {
    background-color: #c0c0c0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.miss-btn a {
    text-decoration: none;
}
.miss-btn:hover {
    background-color: #77c4e2;
    color: #333;
}
.end {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 120px auto;
}
/**submit**/
.end h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.contact-ckecktext p {
    font-size: 0.9rem;
    line-height: 2;
    margin-bottom: 15px;
}
.contact-ckecktext li {
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.contact-ckecktext li strong{
    font-weight: bold;
}

/**topスクロール**/
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background-color: #444;
}

/*footer*/
.footer_area {
    margin: 100px 0 50px 0;
    text-align: center;
}
.footer_area p {
    font-size: 12px;
}
.footer-gNav .gNav-menu {
    display: flex;
    justify-content: center;
    margin: 0 0 75px 0;
}
.footer-gNav .gNav-menu li {
    margin: 0 30px;
    padding: 0 10px;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
}
.footer-gNav .gNav-menu li a {
    color: inherit;
    text-decoration: none;
    position: relative;
}
.footer-gNav .gNav-menu li a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #77c4e2;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: -5px;
}
.footer-gNav .gNav-menu li a:hover {
	color: #77c4e2;
}
.footer-gNav .gNav-menu li a:hover::after {
    width: 100%;
}
.copy {
    color: #666;
}

/**404**/
.error-404 {
    text-align: center;
    background-color: #ffffff;
    margin: 200px 0 150px;
    padding: 60px;
    border-radius: 35px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.error-404 h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}
.error-404 p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}
.error-404 a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border: 1px solid #f9dab2;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.error-404 a:hover {
    background-color: #f9dab2;
    color: #ffffff;
}
.top-btn {
    margin-top: 70px;
}

/*SP設定*/
@media (max-width: 992px) {
    .service-body {
        flex-direction: column;
        width: 90%;
    }
    .service-text-leftbox,
    .service-text-rightbox {
        width: 100%;
        margin-right: 0;
        margin-top: -25px;
        order: 2;
    }
    .service-photo {
        width: 100%;
        order: 1;
        margin-bottom: -20px;
    }
    .service-photo img {
        height: 300px;
        object-fit: cover; /* 画像を中央に収める */
    }
}
@media (max-width: 968px) {
    .concept-service {
        flex: 1 1 calc(50% - 20px); /* 2列 */
    }
}
@media screen and (max-width: 820px) {
    .item {
        display: block;
    }
    .label {
        display: block;
        margin-bottom: 5px;
    }
}
@media screen and (max-width: 767px) {
    /*ナビ*/
    .btn-gNav {
        display: block;
    }
    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(160, 220, 248, 0.9);
        font-size: 16px;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }
    .gNav.open {
        right: 0;
        height: 80vh;
        z-index: 2;
    }
    .gNav .gNav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        /*justify-content: center;*/
    }
    .gNav .gNav-menu li {
        width: 86%;
        padding: 15px;
        font-size: 16px;
        letter-spacing: 2px;
        border-bottom: #ffffff 1px solid;
        color: #ffffff;
    }
    .gNav .gNav-menu li a:hover{
        color: #333;
    }
    .gNav .gNav-menu li a::after {
        content: "";
        display: block;
        height: 2px;
        width: 0;
        background-color: #77c4e2;
        transition: width 0.3s ease;
        position: absolute;
        left: 0;
        bottom: -2px;
    }
    /*indexページコンテンツ*/
    .content_title {
        font-size: 2.5rem;
    }
    .hover-image {
        height: 200px;
    }
    .concept-service ul {
        font-size: 1.05rem;
    }
    /*サービスページ*/
    .service-card {
        flex-direction: column;
        align-items: center;
    }
    .service-photo {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    .service-number {
        font-size: 1.25rem;
    }
    .service-icon {
        font-size: 1.875rem;
    }
    .service-text {
        font-size: 1rem;
        margin-right: 0;
    }
    .service-text ul {
        font-size: 0.875rem;
    }
    .service-container {
        padding: 0px;
    }

    /*footer-nav*/
    .footer-gNav .gNav-menu li {
        margin: 0 auto;
    }
    #back-to-top {
        bottom: 15px;
        right: 15px;
        font-size: 20px;
        padding: 8px;
    }
}
@media (max-width: 600px) {
    .contactform {
        padding: 15px 20px;
    }
    .contactform h4 {
        font-size: 1.3em;
    }
    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 0.9em;
    }
    button[type="submit"] {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
@media (max-width: 576px) {
    /*indexページ*/

    /*サービスページ
    .service-text-box {
        padding: 30px;
    }
    .service-number {
        font-size: 25px;
    }
    .service-text {
        font-size: 12px;
    }
    .service-photo img {
        height: 250px;
    }
    .service-text-leftbox, .service-text-rightbox {
        padding: 50px;
    }*/
}
@media (max-width: 480px) {
    header .logo {
        margin: 20px 0 20px 0;
        font-size: 1.8rem;
    }
    .hamburger .btn-gNav {
        top: 45px;
    }
    .headline {
        font-size: 10vw;
        padding-left: 0;
    }
    #back-to-top {
        bottom: 10px;
        right: 10px;
        font-size: 18px;
        padding: 7px;
    }
    .concept-service-box {
        margin: 0;
    }
    .content_title {
        font-size: 2rem;
    }
    .footer-gNav .gNav-menu li {
        font-size: 0.8rem;
    }
    h3.fade-in {
        font-size: 1.7em;
        margin-bottom: 15px;
    }
}