/* ��{�ݒ�ƃ��Z�b�g */
:root {
    --primary-color: #936E66; /* Apple���u���[ */
    --secondary-color: #333;
    --light-gray: #f8f8f8;
    --text-color: #333;
    --white: #fff;
    --yellow: #FEA923;
    --beige:#EAD0C0;
    --lavbl:#faf0f0b4;
    --gradient:linear-gradient(45deg, #2af598 0%, #009efd 100%);
    --border-color: #e0e0e0;
    --font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* �X���[�Y�X�N���[�� */
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
/*     background-color: rgba(255,255,255,0.5); */
    background-image: url(sozai/white_00028.jpg);
    background-color:rgba(255,255,255,0.68);
    background-blend-mode:lighten;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

    a:hover {
        color: #0056b3;
    }

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

.container_H {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px;
}

/* �w�b�_�[ */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.header-logo {
    position: absolute;
    top: 10%;
    left:3%;
    width: 3%;
    height: 3%;
    object-fit: contain /* �摜���R���e�i�ɍ��킹�ăg���~���O */;
    border-radius: 5px;
    opacity: 1;

}

.footer-logo {
    position: absolute;
    bottom: 5%;
    left:3%;
    width: 3%;
    height: 3%;
    object-fit: contain /* �摜���R���e�i�ɍ��킹�ăg���~���O */;
    border-radius: 5px;
    opacity: 1;

}

.nav-menu ul {
    display: flex;
    
}

.nav-menu li {
    margin-left: 30px;

}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
    /* �i�r�Q�[�V�����z�o�[���̉����A�j���[�V���� */
    .nav-menu a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease-out;
    }

    .nav-menu a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

/* �n���o�[�K�[���j���[ */
.hamburger-menu {
    display: none; /* PC�ł͔�\�� */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--secondary-color);
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }

    /* �n���o�[�K�[���j���[�A�N�e�B�u���̃X�^�C�� (JS�� .active �N���X��t�^) */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

/* ���o�C���i�r�Q�[�V���� */
.mobile-nav {
    display: none; /* ������Ԃł͔�\�� */
    position: absolute;
    top: 70px; /* �w�b�_�[�̍����ɍ��킹�� */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), padding 0.5s ease; /* �J�A�j���[�V���� */
}

    .mobile-nav.active {
        display: block;
        max-height: 500px; /* �\���ȍ�����ݒ� */
        padding: 20px 0;
    }

    .mobile-nav ul {
        text-align: center;
    }

    .mobile-nav li {
        margin-bottom: 15px;
    }

    .mobile-nav a {
        color: var(--secondary-color);
        font-size: 1.1rem;
        padding: 10px;
        display: block;
    }

        .mobile-nav a:hover {
            background-color: var(--light-gray);
            color: var(--primary-color);
        }

/* Hero Section (�X���C�h�V���[) */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* �����𒲐� */
    min-height: 400px;
    overflow: hidden;
    margin-bottom:50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
    
}

.slide {
    display: none; /* ������Ԃ͔�\�� JS�Ő��� */
    width: 65%;
    height: 100%;
    position: absolute;
    margin-bottom: 30px;
    top: 20%;
    right: 10%;
    border-radius: 1%;
    border-style:hidden;
    -webkit-mask-image: radial-gradient(rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 73%);
    mask-image: radial-gradient(rgb(255, 255, 255) 10%, rgba(255, 255, 255, 0) 73%);
}

    .slide img {
        width: 100%;
        height: 100%;
        position:absolute;
        right:0%;
        object-fit:cover; /* �摜���R���e�i�ɍ��킹�ăg���~���O */
        object-position: right top; /* �������� */
        border-radius: 5%;
        opacity: 1;

    }

/* �t�F�[�h�A�j���[�V���� */
.fade {
    animation-name: fade;
    animation-duration: 3.0s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* �X���C�h�V���[ �C���W�P�[�^�[ */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .dot.active, .dot:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }


.hero-text {
    position: absolute; /* �X���C�h�V���[�̏�ɕ\�� */
    width: 60%;
    height: 75%;
    
    top: 15%;
    left: 5%;
    transform: translateX(-50%);
/**    transform: translateY(-50%);*/
/**    right:100px; **/
    z-index: 5;
    text-align: center;
    color: rgb(51, 51, 51);
    padding: 30px 40px;
    border-radius: 5px;
    animation: slide-up 1s ease-out forwards; /* �e�L�X�g�̃A�j���[�V���� */
    opacity: 0; /* ������� */
    /**border-radius: 30px;**/
}

 
.matrix .bg-wrap,
.matrix .bg-wrap .inn {
  display: block;
}
 
.matrix .bg-wrap {
  overflow: hidden;
  opacity: 0;
}
 
.matrix .bg-wrap + .bg-wrap {
  margin-top: 10px;
}
 
.matrix .bg-wrap .inn.large {
  font-size: 36px;
  font-weight: bold;
}
.matrix .bg-wrap .inn.small {
  font-size: 15px;
}
 
.matrix .bg-wrap .inn {
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
 
.matrix.is-animated .bg-wrap {
  opacity: 1;
}
 
.matrix.is-animated .bg-wrap .inn {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.hero-image {
    position: absolute; /* �X���C�h�V���[�̏�ɕ\�� */
    width: 40%;
    height: 30%;
    object-position: center; /* �������� */
    transform: translateX(-50%);
    bottom: 5%;
    right: 5%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.5); /* �e�L�X�g�w�i */
    padding: 30px 40px;

    animation: slide-up 1s ease-out forwards; /* �e�L�X�g�̃A�j���[�V���� */
    opacity: 0; /* ������� */
    border-radius: 50%;
}


@keyframes slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-image: linear-gradient(to right, #c5cac5 0%, #c4ccc4 0%, #b771d8 0%, #cf7cca 33%, #e9699e 66%, #ec73a5 100%);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px; /* �ۂ݂̂���{�^�� */
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.1s ease, transform 0.1s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(14, 0, 145, 0.321);
}

    .cta-button:hover {
        background-image: linear-gradient(to right, #b8cbb8 0%, #b8cbb8 0%, #b465da 0%, #cf6cc9 33%, #ee609c 66%, #ee609c 100%);
        color: var(--white);
        transform: translateY(-3px); /* �z�o�[���ɏ������� */
        box-shadow: 0 4px 10px rgba(14, 0, 145, 0.521);
    }

/* �R���e���c�Z�N�V�������� */
.content-section {
    padding: 100px 0;
    opacity: 0; /* ������Ԃ͔�\�� */
    transform: translateY(30px); /* ������Ԃ͏������� */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    
}
    /* �t�F�[�h�C���A�j���[�V�����p�N���X (JS�ŕt�^) */
    .content-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .content-section h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 60px;
        position: relative;
        padding-bottom: 15px;
    }

        /* �Z�N�V�����^�C�g���̉����A�j���[�V���� */
        .content-section h2::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            transition: width 0.5s ease;
        }
/* �z�o�[�͕s�v�Ȃ̂ŁA�펞�\�� */


.bg-light {
    background-image: linear-gradient(135deg, rgba(253,252,251,0.0) 0%, rgba(226,209,195,0.0) 100%);
    position: relative;    
    width: 80%;
    height: 100%;
    left: 10%;


    border-top: 0px solid var(--border-color);
/*  border-bottom: 1px solid var(--border-color); */
    border-radius: 30px;
    
}






/* ���ȏЉ� */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex-shrink: 0; /* �摜���k�܂Ȃ��悤�� */
    text-align: center;



}

    .about-image img {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
}



/* ���O */
.philosophy-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    grid-template-rows: repeat(auto-fit, minmax(300px, 2fr));    
    gap: 30px;
    text-align: center;

}


.philosophy-item {
    padding: 30px;
  	height: 100%;
    border-radius: 50%;
    border-color:rgba(255, 202, 142, 0.367);
    box-shadow: 0 5px 15px rgba(75, 60, 60, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 222, 184, 0.167);
    width:fit-content;
    height:fit-content;
}

    .philosophy-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.icon-feature {
    font-size: 2.5rem;
    color: #F8BAA3;
    margin-bottom: 20px;
}

.philosophy-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* �T�[�r�X���e */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;

}

.service-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden; /* �摜�̂͂ݏo���h�~ */
    text-align: center;
    background-color:rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .service-item img {
        width: 100%;
        height: 180px; /* �摜�̍����𓝈� */
        object-fit: cover; /* contain�ɕύX���ăx�N�g���摜�S�̕\�� */
        padding: 0px; /* �����ɗ]�� */
        background-color: var(--light-gray); /* �w�i�F */
    }

    .service-item h3 {
        font-size: 1.2rem;
        margin: 20px 0 10px;
        color: var(--primary-color);
    }

    .service-item p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }

.price-info {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

    .price-info h3 {
        margin-bottom: 10px;
        font-size: 1.4rem;
    }


        .plan-footer .note {
            font-size: 0.8rem;
            color: #777;
            margin-bottom: 15px;
        }

/* ���� */
.achievements-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.achievement-item_1 {
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: url(flowers-1231678_6401.png);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:lighten;
    background-size: cover;
}

.achievement-item_1:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


.achievement-item_2 {
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: url(floral-5725376_6401.png);
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
    background-size: cover;
}

.achievement-item_2:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


.achievement-item_3 {
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: url(ai-generated-8058676_6401.png);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:lighten;
    background-size: cover;
}

.achievement-item_3:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}



.achievement-number_1 {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #F8BAA3;
    margin-bottom: 10px;
}

.achievement-number_2 {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #F58B89;
    margin-bottom: 10px;
}

.achievement-number_3 {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #EE4566;
    margin-bottom: 10px;
}

.achievement-item p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.achievement-item small {
    font-size: 0.85rem;
    color: #777;
}



.price-tab{
    position: relative;
    max-width: 90%;
    align-items: center;
    justify-content: center;
    padding: 10%;

}


body {
    margin: 0;
    padding: 0 0 0px;
}

h1 {
    font-size: 150%;
    text-align: center;
    margin: 3rem 0;
}

h2 {
    font-size: 125%;
    text-align: center;
    margin: 2rem 0;
}

h3 {
    font-size: 120%;
    text-align: center;
    margin: 0;
}

.tabs + h2 {
    margin-top: 6rem;
}

.container_H header-container {
    width: calc( 100% - 2rem );
    max-width: 75rem;
    margin: 0 auto;
}

.container {
    width: calc( 100% - 2rem );
    max-width: 68rem;
    margin: 0 auto;
}


/*
-----------------------
共通
-----------------------
*/

.tabs {
  margin-top: 4rem;
  margin-bottom: 0.1rem;
  background-color: rgba(--white);
  box-shadow: 0 0 10px rgba(167, 167, 167, 0.9);
}


.tabs .tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  border-bottom: 2px solid rgba(41, 41, 41, 0.712);
  background-color: #ffffffe1;
  color: #3f002f;
  font-size: clamp( 11px, 3.5vw, 16px );
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}

    .tabs .tabs__item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }


/*
-----------------------
改善した例
-----------------------
*/

.tabs.tabs--type02 .tabs__list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tabs.tabs--type02 .tabs__item {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
  flex-basis: calc( 100% / 3 );
}

.tabs.tabs--type02 .tabs__item:hover,
.tabs.tabs--type02 .tabs__item:has(input:focus) {
  background-color: #dddddd;
}

.tabs.tabs--type02 input {
  border: 0 !important;
  clip: rect( 0, 0, 0, 0 ) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.tabs.tabs--type02 .tabs__content {
  overflow: hidden;
  position: absolute;
  height: 0;
  background-color: #ffffff54;
}

.tabs.tabs--type02 .tabs__list:has(#type02-all > input:checked) ~ #type02-all__content,
.tabs.tabs--type02 .tabs__list:has(#type02-programming > input:checked) ~ #type02-programming__content,
.tabs.tabs--type02 .tabs__list:has(#type02-design > input:checked) ~ #type02-design__content {
  overflow: visible;
  position: static;
  height: auto;
  padding: 2rem;
}

.tabs.tabs--type02 .tabs__item:has(input:checked),
.tabs.tabs--type02 .tabs__item:has(input:focus:checked) {
    background-image: url(ai-generated-8058676_640.png);
    background-color:rgba(255,255,255,0.7);
    background-blend-mode:lighten;
    color: #1a1a1a;
}

.tabs-content{
    margin:0 auto
}

.design14 {
 display: flex;
 justify-content: center;
 width: 100%;
 border-spacing: 10px;
 background-color:rgba(255, 255, 255, 0);
 color: #312c00;
 margin-bottom: 50px;
}
.design14 th {
 padding: 2px;
 border: solid 1px #ffffff00;
}
.design14 td {
 padding: 2px;
 border: solid 1px #ffffff00;
}



.design10 {
 display: flex;
 justify-content: center;
 width: 100%;
 border-collapse: collapse;
 border-spacing: 0;


}
.design10 th {
 padding: 10px;
 padding-left:90px;
 padding-right:90px;
 border-bottom: solid 4px #778ca3;
 color: #778ca3
}
.design10 td {
 padding: 10px;
 border-bottom: solid 1px #778ca3;
}

.tabs__content p{
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #F58B89;
    margin:  0 auto; 
}

.design10 p{
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #F58B89;
    margin-bottom: 10px;
}




.testimonials h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.testimonial {
    background-color: var(--white);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

    .testimonial p {
        font-style: italic;
    }



.banner_0-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-bottom:40px;
    background-color: rgba(0,0,0,0.0);

}

.banner_0-item {
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
    border-radius: 1px;
    overflow: hidden; /* �摜�̂͂ݏo���h�~ */
    text-align: center;
    background-color: rgba(0,0,0,0.0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .banner_0-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .banner_0-item img {
        width: 100%;
        height: 100%; /* �摜�̍����𓝈� */
        object-fit: cover; /* contain�ɕύX���ăx�N�g���摜�S�̕\�� */
        padding: 0px; /* �����ɗ]�� */
        background-color: rgba(255, 255, 255, 0.8); /* �w�i�F */
    }


.qupon_plan-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-bottom:20px;
    background-color: rgba(0,0,0,0.0);

}

.qupon_plan-item {
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
    border-radius: 1px;
    overflow: hidden; /* �摜�̂͂ݏo���h�~ */
    text-align: center;
    background-color: rgba(0,0,0,0.0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .qupon_plan-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .qupon_plan-item img {
        width: 100%;
        height: 100%; /* �摜�̍����𓝈� */
        object-fit: cover; /* contain�ɕύX���ăx�N�g���摜�S�̕\�� */
        padding: 0px; /* �����ɗ]�� */
        background-color: rgba(255, 255, 255, 0.8); /* �w�i�F */
    }


.AI-match-image {
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
    border-radius: 1px;
    overflow: hidden; /* �摜�̂͂ݏo���h�~ */
    text-align: center;
    background-color: rgba(0,0,0,0.0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
    .AI-match-image:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }


.contact-image:hover {
        transform: translateY(-5px);
  filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
}

/* �R���^�N�g�t�H�[�� */
#contact p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 50px;
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }

.required {
    color: #e74c3c; /* �ԐF */
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit; /* body�̃t�H���g���p�� */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.3);
    }

.form-group textarea {
    resize: vertical; /* �c�����̂݃��T�C�Y�\�� */
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .submit-button:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

.contact-info {
    text-align: center;
    margin-top: 50px;
}

    .contact-info h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .contact-info p {
        margin-bottom: 10px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .contact-info i {
        margin-right: 10px;
        color: var(--primary-color);
        width: 20px; /* �A�C�R���̕��𑵂��� */
        text-align: center;
    }

/* �t�b�^�[ */
.footer {
    background-color: var(--secondary-color);
    color: #ccc;
    padding: 50px 0 30px;
    margin-top: 80px; /* main�Ƃ̊Ԃɗ]�� */
}

.footer-container {
    text-align: center;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
    justify-items: center;

}

.social-links {
    margin-bottom: 30px;
}

    .social-links a {
        color: #ccc;
        font-size: 1.8rem; /* �A�C�R���T�C�Y */
        margin: 0 15px;
        transition: color 0.3s ease;
    }

        .social-links a:hover {
            color: var(--primary-color); /* �z�o�[���ɐF�ύX */
        }

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-nav li {
    margin: 5px 15px;
}

.footer-nav a {
    color: #ccc;
    font-size: 0.9rem;
}

    .footer-nav a:hover {
        color: var(--white);
    }

.copyright {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 20px;
}

/* ���X�|���V�u�Ή� (�u���[�N�|�C���g��: 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* PC�i�r�Q�[�V�������\�� */
    }

    .hamburger-menu {
        display: block; /* �n���o�[�K�[���j���[��\�� */
    }

    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .content-section {
        padding: 60px 0;
    }

        .content-section h2 {
            font-size: 1.8rem;
            margin-bottom: 40px;
        }

    .about-content {
        flex-direction: column; /* �c���тɕύX */
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;

    }

    .about-text {
        text-align: left; /* �e�L�X�g�͍������ɖ߂� */
    }

    .philosophy-grid, .service-grid, .achievements-grid {
        grid-template-columns: 1fr; /* 1�J������ */
        gap: 25px;
    }

    .contact-form {
        padding: 30px;
    }

    .footer-nav ul {
        flex-direction: column;
    }

    .footer-nav li {
        margin: 8px 0;
    }

    .social-links a {
        font-size: 1.6rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 20px;
    }

        .hero-text h1 {
            font-size: 1.5rem;
        }

        .hero-text p {
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }
}



/* お問い合わせフォームスタイル */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

.privacy-policy {
    margin: 30px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.privacy-policy a {
    color: #d4a373;
    text-decoration: underline;
}

.required {
    color: #d4a373;
    font-size: 0.9em;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #d4a373;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #c08c5e;
}

.error-text {
    color: #e63946;
    font-size: 0.9em;
    margin-top: 5px;
}

.error-message {
    background: #ffecec;
    color: #e63946;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid #e63946;
}

/* 確認画面スタイル */
.confirmation-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.confirmation-box dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.confirmation-box dt {
    font-weight: bold;
    color: #555;
}

.confirmation-box dd {
    margin: 0;
    padding: 0;
    color:#0056b3;
}

.confirmation-form .button-group {
    display: flex;
    gap: 15px;
}

.confirmation-form .back-button {
    flex: 1;
    padding: 12px;
    background: #ddd;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.confirmation-form .submit-button {
    flex: 1;
}



/* 完了画面スタイル */
.complete-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: #4caf50;
    margin: 20px 0;
}

.success-text {
    font-size: 24px;
    color: #4caf50;
    margin-bottom: 30px;
}

.contact-info {
    margin: 30px 0;
    text-align: center;
}

.contact-info i {
    margin-right: 10px;
    color: #d4a373;
}

.back-to-top {
    display: inline-block;
    padding: 12px 30px;
    background: #d4a373;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: background 0.3s;
}

.back-to-top:hover {
    background: #c08c5e;
}

@media (max-width: 768px) {
    .confirmation-box dl {
        grid-template-columns: 1fr;
    }
    
    .confirmation-box dt {
        margin-top: 10px;
    }
}


/* プライバシーポリシー追加スタイル */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.privacy-article {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.privacy-article:last-child {
    border-bottom: none;
}

.privacy-article h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-align: left;
}

.privacy-article p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-article ol, .privacy-article ul {
    margin: 15px 0 15px 30px;
}

.privacy-article li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.privacy-date {
    text-align: right;
    font-size: 0.9rem;
    color: #777;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 20px;
    }
    
    .privacy-article h2 {
        font-size: 1.3rem;
    }
}
