@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

@font-face {
    font-family: 'Impact';
    src: 
         url('../fonts/impact.woff') format('woff'),
         url('../fonts/impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/centurygothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/centurygothic_bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    line-height: 1.8;
}

.title-jp {
    font-size: 28px;
    font-weight: 500;
    color: rgba(42, 42, 42, 1);
    text-align: center;
    margin-bottom: 0;
    line-height: 1.5;
}

.title-en {
    font-family: 'Century Gothic';
    font-size: 24px;
    font-weight: 400;
    background: linear-gradient(to bottom, rgba(37, 100, 73, 1), rgba(102, 198, 157, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;  
    line-height: 1.5;
}

.title-wrap {
    position: relative;
}

.title-wrap .title-bg {
    text-align: center;
}

.title-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*=======  Common=========*/
.container {
    max-width: 1460px;
}

.sp-show {
    display: none;
}

.sp-none {
    display: inline-block;
}

.mgt-10 {
    margin-top: 10px;
}

.mgt-20 {
    margin-top: 20px;
}

.mgt-30 {
    margin-top: 30px;
}

.mgt-40 {
    margin-top: 40px;
}

.mgt-60 {
    margin-top: 60px;
}

.mgt-80 {
    margin-top: 80px;
}

.mgt-100 {
    margin-top: 100px;
}

.mgb-10 {
    margin-bottom: 10px;
}

.mgb-20 {
    margin-bottom: 20px;
}

.mgb-30 {
    margin-bottom: 30px;
}

.mgb-40 {
    margin-bottom: 40px;
}

.mgb-60 {
    margin-bottom: 60px;
}

.mgb-80 {
    margin-bottom: 80px;
}

.txt-center {
    text-align: center;
}

.txt-bold {
    font-weight: 700;
}

/*======= Header =========*/

.hdr__logo-container {
    display: flex;
    align-items: center;
    gap: 15px;    
}

.hdr__logo-img {
    max-height: 60px;
    width: auto;
}

.hdr__logo-text {
    display: flex;
    flex-direction: column;
}

.hdr__logo-text1 {
    font-size: 19px;
    color: rgba(134, 62, 7, 1);
    font-weight: 700;
}

.hdr__logo-text2 {
    font-size: 32px;
    font-weight: 700;
    color: rgba(37, 100, 73, 1);
}

.hdr__navi-tel-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
    width: 100%;
    padding-right: 20px;
    position: relative;
    margin-right: 10px;
}

.hdr__navi-tel-row {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.hdr__navi-tel-container img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.hdr__navi-tel {
    font-size: 30px;
    font-weight: 700;
    color: #256449;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}

.hdr__navi-tel:hover {
    color: rgba(42, 42, 42, 1);
    text-decoration: none;
}

.hdr__navi-tel-text {
    font-size: 15px;
    color: rgba(6, 131, 83, 1);
    line-height: 1.4;
    display: block;
}

.btn-contact {
    background: linear-gradient(to right, rgba(228, 6, 6, 1),rgba(255, 164, 79, 1));
    color: #fff!important;   
    font-weight: 700;
    padding: 15px 25px!important;
    border-radius: 35px;
    text-decoration: none;
    width: fit-content!important;
}

.btn-contact:hover {
    color: #fff!important;
}

/*======= Main FV =========*/
#main {
    position: relative;   
    height: 100%;
    width: 100%;  
    z-index: 2;
    overflow: hidden;  
    margin-top: 70px;  
}

#main .container-fluid {
    padding: 0;
}

#main h2 img {
    width: 100%;
}

.main-video {
    width: 100%;
    height: auto;
    filter: brightness(0.6);
}

.main-content-wrapper {
    position: relative;
}

.main-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);    
}

.main-content-text p {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    text-shadow: 5px 5px 8px rgba(46, 46, 46, 0.3);
}

.main-content-text2 {
    font-size: 52px;
}

/*======= News Section =========*/
#news {
    padding: 80px 0 60px;
    background: rgba(246, 255, 251, 1);
    margin-top: -10px;
}

.news-wrapper {
    margin-top: 60px;
    border: 1px solid rgba(6, 131, 83, 1); 
}

.news-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px; 
}

.news-item .news-date {
    margin-right: 60px;
    color: rgba(6, 131, 83, 1);
    /* font-size: 18px; */
    font-weight: 500;
    padding: 10px;
}

.news-item .news-title {    
    color: #068353;
    text-decoration: none;   
    padding: 10px;
    width: 70%;
}


.news-item .news-title:hover {
    color: #068353;
    text-decoration: none;
}

.news-item .news-title p {
    margin-bottom: 0;
}

/*======= About us Section =========*/
#aboutus {
    padding: 20px 0 20px;
    background-image: url('../images/bg-aboutus.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.about-wrapper {
    background: #fff;
    padding: 40px 0 20px 40px;   
    margin: 20px;
}

.about-title {
    margin-top: 40px;
}

.about-desc {
    margin-top: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    color: rgba(6, 131, 83, 1);
}

.about-content {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}

.about-content-text {
    flex: 100%;
    max-width: calc(100% / 2 - 30px);
    margin: 0 30px 30px 0;
    /* font-size: 18px; */
    color: rgba(6, 131, 83, 1);
}

.about-content-img {
    flex: 100%;
    max-width: calc(100% / 2);
    margin: 0 0 30px 0;
}

.about-content-img img {
    width: 100%;
}

/*======= Message Section =========*/
#message {
    padding: 80px 0 60px;
    background: rgba(246, 255, 251, 1);
}

.message-wrapper {
    padding: 0 40px 40px;
}

.message-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;      
}

.message-item-text {
    flex: 100%;
    max-width: calc(100% / 2 - 30px);
    margin: 0 30px 30px 0;
    /* font-size: 18px; */
    color: rgba(6, 131, 83, 1);
}

.message-item-img {
    flex: 100%;
    max-width: calc(100% / 2);
    margin: 0 0 30px 0;
}

.message-item-img img {
    width: 100%;
}

.txt-sign {
    /* font-size: 18px;     */
    color: rgba(42, 42, 42, 1);
    text-align: right;
}

.ceo-name {
    color: rgba(42, 42, 42, 1);
    font-size: 20px;
    font-weight: 700;
}

/*======= Profile Section =========*/
#profile {
    padding: 80px 0 60px;
    background: rgba(243, 242, 242, 1);
}

.profile-wrapper {
    
}

.profile-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;      
}

.profile-item-img {
    flex: 100%;
    max-width: calc(100% / 2);
    margin: 0 0 30px 0;
    text-align: center;
}

.profile-item-img img {
    width: 50%;   
}

.profile-item-img-label {
    color: rgba(6, 131, 83, 1);
    /* font-size: 18px; */
    margin-top: 20px;
}

.profile-item-text {
    flex: 100%;
    max-width: calc(100% / 2);
    margin: 0 0 30px 0;
}

.profile-title {
    color: rgba(42, 42, 42, 1);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.profile-item-text p {
    color: rgba(6, 131, 83, 1);
    /* font-size: 18px; */
}

table.tbl-profile {
    /* font-size: 18px; */
    color: rgba(6, 131, 83, 1);
    width: 100%;
    border-collapse: collapse;
}

table.tbl-profile tr td:first-child {
    /* width: 35%; */
    margin-top: 20px;
}

table.tbl-profile tr td {
    vertical-align: top;
    display: block;
}

/*======= Middle Section =========*/
#middle img {
    width: 100%;
}


/*======= Office Information Section =========*/
#office-information {
    padding: 80px 0 60px;    
}


table.tbl-office-information {
    /* font-size: 18px;    */
    width: 100%;
    border-collapse: collapse;
    max-width: 800px;
    margin: 0 auto;
}

table.tbl-office-information tr td:first-child {
    width: 30%;
    /* font-size: 18px; */
    font-weight: 700;
    color: rgba(42, 42, 42, 1);
}

table.tbl-office-information tr td:last-child {
    /* font-size: 18px; */
    color: rgba(6, 131, 83, 1);
}

table.tbl-office-information tr td {
    vertical-align: middle;
    padding: 20px 5px;
    border-bottom: 1px solid rgba(204, 204, 204, 1);
}

.txt-name {
    font-weight: 700;
    color: rgba(42, 42, 42, 1);
}

.btn-access {
    background: rgba(6, 131, 83, 1);
    color: #fff;
    /* font-size: 18px; */
    font-weight: 700;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 35px;
    width: fit-content;
    margin: 40px auto 0;
    display: block;
}

.btn-access:hover {
    color: #fff;
    text-decoration: none;
}

/*======= Business Section =========*/
#business {
    padding: 80px 0 60px;    
    background: rgba(243, 242, 242, 1);
}

.business-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    row-gap: 40px;
    column-gap: 60px;
    max-width: 1040px;  
    margin: 0 auto;
}

.business-item {
    width: calc((100% - 1 * 60px) / 2); /* 4 items per row, 3 gaps */   
}

.business-item-img img {
    width: 100%;
}

.business-item-text {
    margin: 20px 0;
    background: rgba(37, 100, 73, 1);
    color: #fff;
    padding: 20px 5px;
}

.business-item-text h4 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.business-item-desc {
    color: rgba(6, 131, 83, 1);
    /* font-size: 18px; */
    padding: 0 20px;
}

.business-item-note {
    color: rgba(228, 6, 6, 1);
    font-size: 18px;   
}

/*======= Fees and Compensation Section =========*/
#fees-compensation {
    padding: 80px 0 60px;    
    background: rgba(255, 255, 255, 1);
}

.business2-text {
    color: rgba(6, 131, 83, 1);
    /* font-size: 18px; */
}

.business2-text a {
    color: rgba(46, 37, 100, 1);
    font-weight: 700;
    text-decoration: underline;
}

.txt-red {
    color: rgba(228, 6, 6, 1);
}

table.tbl-business2 {
    /* font-size: 18px; */
    color: rgba(6, 131, 83, 1);
    width: 100%;
    border-collapse: collapse;
    max-width: 1040px;
    margin: 40px auto 0;
}


table.tbl-business2 tr td {
    padding: 20px;   
    border: 1px solid rgba(6, 131, 83, 1);
}

table.tbl-business2 tr td.first-col {
    color: rgba(42, 42, 42, 1);
    background: rgba(241, 249, 245, 1);
    font-weight: 700;
}

table.tbl-business2 tr td.no-bordertop {   
    border-top: none;
}

table.tbl-business2 tr td.no-borderbottom {   
    border-bottom: none;
}

.table-pc {
    display: block;
}

.table-sp {
    display: none;
}

.business2-note {   
    color: rgba(6, 131, 83, 1);
    /* font-size: 18px; */
    max-width: 1040px;
    margin: 20px auto 0;
}

.business2-note p {
    margin-bottom: 0;
}

.business2-note p span {
    margin-right: 10px;
}

/*======= Access Section =========*/
#access {
    padding: 80px 0 60px;
    background: rgba(241, 249, 245, 1);
}

.access-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.access-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center; 
    justify-content: center;
}

.access-item-img {
    flex: 100%;
    max-width: calc(40% - 30px);
    margin: 0 30px 40px 0;
}

.access-item-img img {
    width: 100%;
}

.access-item-text {
    flex: 100%;
    max-width: calc(60% - 30px);
    margin: 0 0 40px 0;
    /* font-size: 18px; */
    color: rgba(6, 131, 83, 1);
}

/*======= Inquiry Section =========*/
#inquiry {
    padding: 80px 0 60px;    
}

.contact-form {
    width: 80%;
    margin: 40px auto 0;    
}

.form-group p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group p label {
    flex: 100%;
    min-width: 300px;
    max-width: 20%;
    /* Adjust based on your longest label */
    white-space: nowrap;
    /* Prevents label from wrapping */   
    font-weight: 700; 
}

.form-group3 p label {
    /* min-width: 200px; */
}

.form-group .required {
    color: #fff;
    background: rgba(37, 100, 73, 1);
    border-radius: 25px;
    margin-left: 5px;
    font-size: 16px;
    padding: 3px 40px;
    float: right;
}

.form-group .norequired {
    color: #fff;
    background: rgba(157, 157, 157, 1);
    border-radius: 25px;
    margin-left: 5px;
    font-size: 16px;
    padding: 3px 40px;
    float: right;
}

.form-group p .wpcf7-form-control-wrap {
    flex: 1;
    padding: 8px;
    border: 1px solid #000;
    border-radius: 0;
    background-color: #fff;
    color: rgba(89, 89, 89, 1);
}

.form-group3 p .wpcf7-form-control-wrap {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: rgba(89, 89, 89, 1);
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control {
    background: #fff;
    border: none;
    color: #000;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.form-control02 {
    background: #fff;
    border: none;
    width: 100%;
    color: #000;
}

.form-group .form-control02 {
    flex: 1;
    /* Takes up remaining space */
    padding: 8px;
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
}

/* Special styling for textarea */
.form-group textarea {
    height: 140px;
    flex: 1;
    color: #000;
    /* Adjust height as needed */
    resize: vertical;
    /* Allows vertical resizing */
    border: none
}

.wpcf7-list-item {
    width: 210px;
}

.btn-submit {
    /* display: block;
    margin: 20px auto 0; */
    cursor: pointer;
    /* background: transparent;
    border: none; */
}

.wpcf7-form-control-wrap {
    display: inline-block;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
    outline: none !important;
}

/* Remove blue glow/outline from Contact Form 7 inputs */
.wpcf7-form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ccc !important;
}

/* Specifically target input and textarea elements */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ccc !important;
}

/* Override autofill background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* For Firefox */
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
}

.btn-submit:focus {
    outline: -webkit-focus-ring-color none;
}

.btn-submit {
    background: linear-gradient(to right, rgba(228, 6, 6, 1), rgba(255, 164, 79, 1));
    color: #fff;   
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 35px;
    text-decoration: none;
    width: fit-content!important;
    margin: 40px auto 0;
    border: none;
}

.btn-submit:hover {
    color: #fff!important;
    text-decoration: none;
}

.btn-submit img {
    margin-left: 10px;
}

/*======= Thanks Section =========*/
#thanks {
    padding: 80px 0 60px;   
    min-height: 400px;   
    margin-top: 100px;
}

.thanks-wrapper {
    text-align: center;
}

/*======= Footer Section =========*/
.footer1 {
    background: rgba(243, 242, 242, 1);
}

.footer-wrap {    
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1460px;
    margin: 0 auto;
    padding: 50px 15px 20px;
}

.footer-left {
    flex: 100%;
    max-width: calc(50% - 30px);
    margin: 0 30px 30px 0;
}

.footer-right {
    flex: 100%;
    max-width: 50%;
    margin: 0 0 30px 0;
    padding-right: 10px;
    color:#068353;
}

.ft-name {
    font-size: 32px;
    font-weight: 700;
    color: rgba(37, 100, 73, 1);
    vertical-align: middle;
}

.ft-address {
    font-size: 18px;
}

.ft-tel a {
    color: #256449;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
}

.ft-tel img {
    margin-right: 5px;
}

.ft-info {
    font-size: 18px;
}

.copyright {
    background: rgba(37, 100, 73, 1);
    color: #fff;
    padding: 20px 0;
    font-size: 12px;
    text-align: center;
}





