@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;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
}

.title-jp {
    font-size: 36px;
    font-weight: 700;
    color: rgba(58, 107, 165, 1);
    text-align: center;   
}

/*=======  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;
}

/*======= Header =========*/
.btn-contact {
    background: rgba(219, 161, 28, 1);
    color: #fff!important;   
    font-weight: 700!important;
    font-size: 18px;
    padding: 10px 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;    
}

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

#main h2 img {
    width: 100%;
}

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

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

.main-content-text h2 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 5px 5px 5.3px rgba(4, 43, 35, 1);
}

.main-content-text p {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    text-shadow: 5px 5px 5.3px rgba(4, 43, 35, 1);
}

.main-content-text h3 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 5px 5px 5.3px rgba(4, 43, 35, 1);
}

.btn-download {
    background: rgba(219, 161, 28, 1);
    color: #fff!important;   
    font-weight: 700!important;
    font-size: 36px;
    padding: 10px 25px!important;
    border-radius: 35px;
    text-decoration: none;
    width: fit-content!important;    
}

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

.btn-download2 {
    background: rgba(219, 161, 28, 1);
    color: #fff!important;   
    font-weight: 700!important;
    font-size: 16px;    
    text-decoration: none;
    width: fit-content!important;
    padding: 10px;
    position: fixed;
    bottom: 0;
    right: 5%;
    text-align: center;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.btn-download2:hover {    
    text-decoration: none;
}

/*======= Introduction Section =========*/
#introduction {
    padding: 80px 0 60px;
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 400px;
    height: 100%;
    width: 100%;     
}

.introduction-text h4 {
    font-size: 24px;
    font-weight: 700;
    color: rgba(58, 107, 165, 1);
    text-align: center;
    margin-bottom: 20px;
}

.introduction-text p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
    text-align: center;
}

.introduction-img {   
    margin: 0 auto; 
    text-align: center;
}

.introduction-img img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.btn-youtube a {
    color: rgba(219, 161, 28, 1);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;   
    border: 3px solid rgba(219, 161, 28, 1); 
    background: #fff;
    padding: 10px 20px;
    border-radius: 35px;
    width: fit-content;
    margin: 0 auto;
    display: block;
}

.btn-youtube a img:first-child {
    margin-right: 10px;
}

/*======= Event Section =========*/
#event {
    padding: 80px 0 60px;
    background-image: url('../images/bg2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.news-wrapper {   
    border: 1px solid rgba(58, 107, 165, 1);
    background: #fff;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    height: 200px;
    overflow-y: scroll;
}

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

.news-item .news-date {
    color: rgba(51, 51, 51, 1);
    flex: 100%;
    max-width: 20%;
    text-align: right;
}

.news-item .news-title {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
    flex: 100%;
    max-width: 80%;
    padding-left: 40px;
}

.news-item a {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
}

.news-item a:hover {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
}

/*======= Update Section =========*/
#update {
    padding: 80px 0 60px;
    background: rgba(245, 247, 250, 1);
}


/*======= Bonus Section =========*/
#bonus {
    padding: 80px 0 60px;
    background-image: url('../images/bg3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -10px;
}

.bonus-intro {
    color: rgba(47, 75, 83, 1);
    text-align: center;
}

.btn-download3 {
    background: rgba(219, 161, 28, 1);
    color: #fff!important;   
    font-weight: 700!important;
    font-size: 16px;
    padding: 10px 25px!important;
    border-radius: 35px;
    text-decoration: none;
    width: 270px;
    text-align: center; 
    display: inline-block;   
}

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

.bonus-img img {
    width: 100%;
}

.bonus-text h4 {
    color: rgba(47, 75, 83, 1);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.bonus-text p {
    color: rgba(47, 75, 83, 1);
}

.bonus-btn {
    margin-top: 30px;
}

.bonus-note-title {
    text-align: center;
    color: rgba(47, 75, 83, 1);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.bonus-note ul {
    margin-left: -15px;
}

/*======= FAQ Section =========*/
#faq {
    padding: 80px 0 80px;
    background: rgba(245, 247, 250, 1);
}

.faq-wrap {
    width: 80%;
    margin: 0 auto;
}

/*======= Author Section =========*/
#author {
    padding: 80px 0 40px;
    background-image: url('../images/bg4.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.author-wrapper {
    width: 80%;
    margin: 0 auto;
}

.author-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.author-img img {
    width: 100%;
}

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

.author-text {
    flex: 100%;
    max-width: 60%;
    margin: 0 0 30px 0;  
}

.author-text h4 {
    font-size: 24px;
    font-weight: 700;
}

.author-name {
    color: rgba(58, 107, 165, 1);
    font-size: 20px;
    font-weight: 700;
}

.author-title {
    background: rgba(58, 107, 165, 1);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.author-note {
    flex: 100%;
    width: 100%;
}

.author-note-title {
    color: rgba(58, 107, 165, 1);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.author-note a {
    text-decoration: underline;
    color: rgba(58, 107, 165, 1);
}

.author-note2 a {
    text-decoration: underline;
    margin-bottom: 10px;
    display: block;
    word-break: break-all;
}

.author-note2 p {
    margin-bottom: 0;
}


/*======= Contact Section =========*/
#contact {
    padding: 80px 0 80px;
    background-image: url('../images/bg5.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-wrapper {
    width: 80%;
    margin: 0 auto;
}

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

.line-icon img {
    max-width: 100%;
}

.form-group {
    /* display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap; */
    /* Adds consistent spacing between label and input */
}

.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: 260px;
    max-width: 20%;
    /* Adjust based on your longest label */
    white-space: nowrap;
    /* Prevents label from wrapping */
}

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

.form-group .required {
    color: #fff;
    background: rgba(58, 107, 165, 1);    
    margin-left: 5px;
    font-size: 16px;
    padding: 3px 20px;
    float: right;
    font-weight: 700;
}

.form-group .norequired {
    color: #fff;
    background: rgba(160, 160, 160, 1);    
    margin-left: 5px;
    font-size: 16px;
    padding: 3px 20px;
    float: right;
    font-weight: 700;
}

.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: rgba(219, 161, 28, 1);
    color: #fff;   
    font-weight: 700;
    padding: 15px 30px;
    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;
}



/*======= Blog Section =========*/
#blog {
    padding: 80px 0 80px;
    background-image: url('../images/bg-features.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.blog-wrapper {
    margin-top: 60px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

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

.blog-item:nth-child(3n) {
    margin: 0 0 30px 0;
}

.blog-img img {
    width: 100%;
}

.blog-content {
    margin-top: 10px;
    border: 1px solid #000;
    padding: 10px;
    background: rgba(255, 222, 21, 1);  
    color: rgba(24, 38, 113, 1);
    position: relative;
    display: block;
}

.blog-content:hover {
    text-decoration: none;
    color: rgba(24, 38, 113, 1);
}

.blog-date {
    display: inline-block;
    margin-right: 30px;
}

.blog-title {
    display: inline-block;    
}

.blog-title::after {
    content: '';
    background-image: url('../images/arrow_circle_right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;  /* Adjust size as needed */
    height: 20px; /* Adjust size as needed */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.blog-name {
    margin-top: 10px;
}

.btn-wrap2 {
    margin-top: 40px;
}

.form-control {
    border: none;
}


/*======= Thanks Section =========*/
#thanks {
    padding: 140px 0 80px;
    background-image: url('../images/bg5.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*======= Sticky Buttons =========*/
.sticky-btn {
    display: none; /* Hidden by default, shown only on mobile */
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 5px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;    
}

.sticky-btn .btn-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #DBA11C;
    color: #DBA11C;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    flex: 1;
    margin: 0;
    transition: all 0.3s ease;
}

.sticky-btn .btn-item:hover {
    background: #DBA11C;
    color: #fff;
    text-decoration: none;
}

.sticky-btn .btn-item img {
    width: 18px;
    height: 18px;
    margin: 0 5px;
}

.sticky-btn .btn-item img:first-child {
    margin-right: 8px;
    margin-left: 0;
}

.sticky-btn .btn-item img:last-child {
    margin-left: 8px;
    margin-right: 0;
}

/*======= Footer Section =========*/
.footer1 {
    background: rgba(177, 217, 255, 1);
}

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

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

.footer-right {
    flex: 100%;
    max-width: 50%;
    margin: 0 0 30px 0;
    padding-right: 10px;
    padding-left: 40px;
    border-left: 1px solid #000;
}

.footer-left img {
    max-width: 100%;
}

.footer-right img {
    max-width: 100%;
}

.footer-right a:nth-child(2) {
    margin-top: 20px;
    display: inline-block;
}

.ft-info {
    margin-top: 40px;
    margin-bottom: 0;
}

.ft-info a {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.ft-info a:hover {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
}

.copyright {
    background: rgba(24, 38, 113, 1);
    color: #fff;
    padding: 20px 0;
}

.ft-sns-list {
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    margin-left: 10px;
    display: inline-block;
}

/* Authentication Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.auth-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.auth-modal-header {
    background-color: #3a6ba5;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.auth-modal-body {
    padding: 30px;
}

.auth-modal-body p {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3a6ba5;
}

.btn-auth, .btn-cancel {
    padding: 12px 24px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-auth {
    background-color: #3a6ba5;
    color: white;
}

.btn-auth:hover {
    background-color: #2d5a8a;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 15px;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .auth-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .auth-modal-header {
        padding: 15px;
    }
    
    .auth-modal-header h3 {
        font-size: 18px;
    }
    
    .auth-modal-body {
        padding: 20px;
    }
    
    .btn-auth, .btn-cancel {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}


