@charset "UTF-8";

/* 全体設定 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロールを防ぐ */
    width: 100%;
    font-family: "Noto Sans JP", serif;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1;
    color: #333; /* 全体のテキスト色 */
}

i{
    padding: 5px;
    margin-left: 5px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ヘッダー */
.header{
    display: flex;
    position: fixed;
    padding: 35px 48px;
    width: 100%;
    height: auto;
    font-family: "Montserrat", serif;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    /*アニメーション*/
    opacity: 0;
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.2s;
    transform: translateY(-48px);
}
/*アニメーション挙動*/
.header.visible{
    transform: translateY(0);
    opacity: 1;
}

.header-title{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4,0.4,0,1);
}
.header-title:hover{
    opacity: 0.7;
    transform: scale(1.05, 1.05);
}
.global-navigation ul{
    display: flex;
}
.global-navigation-item{
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    padding: 0 12px;
    letter-spacing: 0.15em;
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4,0.4,0,1);
}
.global-navigation-item:hover{
    opacity: 0.7;
    transform: scale(1.05, 1.05);
}

/* ハンバーガーメニュー */
.menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面の外に隠れている */
    width: 300px;
    height: 100vh;
    background-color: #03304f;
    color: #fff;
    transition: right 0.3s ease; /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000; /* メニューのz-indexを高く設定 */
}

/* メニューが開いているとき */
.menu.open {
    height: 100dvh;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #03304f;
    box-shadow: -5px 0px 30px rgb(0, 0, 0, 0.3);
    z-index: 1000; /* メニューのz-indexを高く設定 */
}

.menu li a{
    display:block;
}

.recaptcha-area{
    margin-bottom: 12px;
}
.recaptcha-text{
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}
.recaptcha-text a{
    text-decoration: underline;
    text-decoration-color: #1558d6;
    color: #1558d6;
    margin: 0 2px;
}
.recaptcha-text a:hover{
    color: #10076f;
    text-decoration-color: #10076f;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 13px;
    right: 20px;
    width: 25px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
    list-style-type: none;
    color: #fff;
    margin-top: 58px;
    z-index: 15;
}

.menu li {
    padding: 20px 0;
    border-bottom: 1px solid #fff;
    z-index: 15
}

/* 背景画像 */
.background {
    position: fixed;
    width: 100%;
    height: 450px;
    z-index: -1;
    filter: brightness(0.8);
    /*アニメーション*/
    transition: 3s cubic-bezier(0.42, 0, 0.6, 1.19) 0s;
    transform: scale(1.05, 1.05);
}
/*アニメーション挙動*/
.background.visible {
    transform: scale(1, 1);
}
.background img {
    object-fit: cover;
    height: 500px;
    width: 100%;
}

/* ホーム（index.php）だけ全画面表示 */
body.home .background,
body.front-page .background {
    height: 100vh;
}
body.home .background img,
body.front-page .background img {
    height: 100%;
}

/* メインエリア */
main{
    width: 100%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
/*メインビジュアル*/
.billboard{
    width: 100%;
    height: auto;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/*ページタイトル*/
.page-title-wrapper{
    width: 100%;
    padding: 192px 96px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}
.page-title-area{
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-shadow: 1px 1px 10px #000;
}
.page-title{
    font-family: "Montserrat", serif;
    font-size: 72px;
    color: #fff;
    font-weight: 600;
    width: fit-content;
    opacity: 0;
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.2s;
    transform: translateX(-48px);
}
.page-title.visible{
    opacity: 1;
    transform: translateX(0);
}
.page-title-jp{
    font-size: 32px;
    color: #fff;
    font-weight: 600;
    width: fit-content;
    line-height: 1.4;
    opacity: 0;
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.2s;
    transform: translateX(-48px);
}
.page-title-jp.visible{
    opacity: 1;
    transform: translateX(0);
}
.page-sub-title{
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    width: fit-content;
    margin-top: 10px;
    opacity: 0;
    transform: translateX(-48px);
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.3s;
}
.page-sub-title.visible{
    opacity: 1;
    transform: translateX(0);
}
.page-article{
    background-color: #F8F8FF;;
    width: 100%;
    padding: 72px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-content{
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 24px;
}

/* 基本テキストスタイル */
.page-h2{
    font-size: 26px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-top: 48px;
    margin-bottom: 36px;
    position: relative;
    padding-bottom: 4px;
    border-bottom: 4px solid #b4d8f1;
}
.page-h2:before {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 20%;
    height: 4px;
    content: '';
    background: #03304f;
}
.page-h3{
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    margin-top: 12px;
    border-left: solid 4px #03304f;/*左線*/
    padding-left: 0.5em;
}
.page-h4{
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    position: relative;
    padding: 0 0 0 20px;
}
.page-h4:after, .page-h4:before{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
    left: 6px;
	box-sizing: border-box;
	width: 6px;
	height: 6px;
	border: 6px solid transparent;
	border-left: 6px solid #000;
}
.page-h5{
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.page-text{
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0em;
    width: 100%;
    margin-bottom: 18px;
}
.page-text a, .page-li a, .career-content a{
    text-decoration: underline;
    text-decoration-color: #1558d6;
    color: #1558d6;
    margin: 0 2px;
    font-weight: normal;
}
.page-text a:hover, .page-li a:hover, .career-content a:hover{
    color: #10076f;
    text-decoration-color: #10076f;
}
.page-img{
    width: 100%;
    max-width: 900px;
    margin-bottom: 24px;
    box-shadow: 5px 5px 5px #f2f2f2;
}

/*アニメーション挙動なし*/
.no-animation{
    transition: none;
    opacity: 1;
    transform: none;
}

/*セクションcss*/
.section-title-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 48px;
}
.section-title {
    font-family: "Orbitron", serif;
    font-weight: 600;
    font-size: 48px;
    margin-block: 20px 10px;
    color: #0F0404; /* タイトルの色を調整 */
    opacity: 0;
    transform: translateX(-48px);
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.2s;
}
.section-title.visible{
    opacity: 1;
    transform: translateX(0);
}
.section-title-ja {
    font-size: 20px;
    font-weight: 500;
    color: #1A1A1A;
    opacity: 0;
    transform: translateX(-48px);
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.3s;
}
.section-title-ja.visible{
    opacity: 1;
    transform: translateX(0);
}
.section-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 0.2s;
    opacity: 0;
}
.section-text-area.visible{
    opacity: 1;
}
.section-text {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

/* 共通：セクション用見出し（各ページで再利用） */
.section-title-h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin-bottom: 36px;
    margin-top: 48px;
}
.section-title-h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3949ab 0%, #5c6bc0 100%);
    border-radius: 2px;
}

.section-title-h3 {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-top: 36px;
    margin-bottom: 24px;
    padding-left: 20px;
}
.section-title-h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5c6bc0 0%, #7986cb 100%);
    border-radius: 2px;
}

.section-title-h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-top: 24px;
    margin-bottom: 16px;
    padding-left: 24px;
}
.section-title-h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(57, 73, 171, 0.2);
}

/*テーマ色ボタンデザイン*/
.button-area{
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
.button{
    padding: 16px 24px;
    margin-block: 0 16px;
    background-color: #03304f;
    color: #fff;
    border-radius: 8px;
    border: none;
    transition: 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.button:hover {
    background-color: #022a42;
}
.button-text{
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}
/*アイコンだけを改行しないように*/
.button-text span{
    display: inline-block;
}



/*ipad対応*/
@media screen and (max-width:1279px) {
    .header{
        padding: 24px;
    }
    .header-title{
        font-size: 16px;
    }

    .page-title-wrapper{
        padding: 168px 48px 144px;
    }
    .page-title{
        font-size: 64px;
    }
    .page-title-jp{
        font-size: 28px;
    }
    .page-sub-title{
        font-size: 18px;
    }
    .page-article{
        padding: 64px 48px;
    }

    .page-content{
        padding: 0;
    }
    .page-h2{
        font-size: 24px;
    }
    .page-h3{
        font-size: 20px;
    }
    .page-h4{
        font-size: 18px;
        margin-bottom: 18px;
        padding: 0 0 0 18px;
    }
    .page-h4:after, .page-h4:before{
        left: 5px;
        width: 5px;
        height: 5px;
        border: 5px solid transparent;
        border-left: 5px solid #000;
    }
    .page-h5{
        font-size: 16px;
        font-weight: 500;
    }
    .page-text{
        width: 100%;
        font-size: 15px;
        margin-bottom: 10px;
    }

    /*セクションcss*/
    .section-title{
        font-size: 38px;
    }
    .section-title-ja{
        font-size: 20px;
    }
    .section-text{
        font-size: 15px;
    }

    /* 見出し（共通）のサイズ調整 */
    .section-title-h2 {
        font-size: 24px;
        margin-top: 36px;
    }
    .section-title-h3 {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 24px;
        padding-left: 16px;
    }
    .section-title-h4 {
        font-size: 18px;
        margin-top: 20px;
        padding-left: 20px;
    }

    /*テーマ色ボタンデザイン*/
    .button{
        padding: 12px 20px;
    }
    .button-text{
        font-size: 14px;
    }

    /*フッター*/
    footer{
        padding: 48px 0 24px;
    }
}

/*スマホ対応*/
@media screen and (max-width:768px) {
    /*ヘッダー*/
    .header{
        padding: 20px;
    }
    .header-title{
        font-size: 15px;
        letter-spacing: 0em;
    }
    .global-navigation{
        display: none;
    }
    .menu{
        display: block;
    }
    /*ハンバーガーメニュー*/
    .fa-bars{
        font-size: 24px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hamburger{
        width: 20px;
        top: 15px;
    }
    .hamburger span{
        height: 2px;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .page-title-wrapper{
        padding: 144px 0 112px;
    }
    .page-title-area{
        padding: 0 24px;
    }
    .page-title{
        font-size: 40px;
    }
    .page-title-jp{
        font-size: 24px;
    }
    .page-article{
        padding: 36px 24px;
    }

    .page-h2{
        font-size: 20px;
    }
    .page-h3{
        font-size: 18px;
    }
    .page-h4{
        font-size: 16px;
        padding: 0 0 0 15px;
    }
    .page-h5{
        font-size: 15px;
    }
    .page-text{
        font-size: 14px;
        margin-bottom: 10px;
    }

    /*セクションCSS*/
    .section-title-area{
        margin-bottom: 28px;
    }
    .section-title{
        font-size: 32px;
        margin-block: 10px 5px;
    }
    .section-title-ja{
        font-size: 18px;
    }
    .section-text{
        font-size: 14px;
        margin-bottom: 14px;
    }

    /* 見出し（共通）のサイズ・装飾調整 */
    .section-title-h2 {
        font-size: 20px;
        margin-bottom: 24px;
        margin-top: 32px;
    }
    .section-title-h2::after {
        width: 50px;
        height: 2px;
        bottom: -6px;
    }
    .section-title-h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
        padding-left: 16px;
    }
    .section-title-h3::before {
        left: 0;
        width: 3px;
    }
    .section-title-h4 {
        font-size: 16px;
        margin-top: 16px;
        padding-left: 18px;
    }
    .section-title-h4::before {
        width: 6px;
        height: 6px;
    }

    /*テーマ色ボタンデザイン*/
    .button{
        margin-block: 6px 20px;
        padding: 12px 18px;
    }
    .button-text{
        font-size: 12px;
    }

    /*フッター*/
    footer{
        padding: 36px 0 24px;
    }
}

/* CTAヒーローセクション - 特別なクラス */
.cta-hero-section {
    width: 100%;
    position: relative;
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.cta-hero-background {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.cta-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cta-hero-section:hover .cta-hero-background img {
    transform: scale(1.05);
}

.cta-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85));
    backdrop-filter: blur(1px);
}

.cta-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 500px;
    padding: 0 20px;
    line-height: 1.6;
}

.cta-hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-hero-description {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3aa0ff, #2583ff);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(58, 160, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(58, 160, 255, 0.4);
    background: linear-gradient(135deg, #4db0ff, #3690ff);
    border-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: #fff;
}

.cta-hero-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(58, 160, 255, 0.3);
}

.cta-hero-button-text {
    font-weight: 700;
}

.cta-hero-button-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 0;
    padding: 0;
}

.cta-hero-button:hover .cta-hero-button-icon {
    transform: translateX(4px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 1279px) {
    .cta-hero-background {
        height: 280px;
    }
    
    .cta-hero-title {
        font-size: 22px;
    }
    
    .cta-hero-description {
        font-size: 15px;
    }
    
    .cta-hero-button {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .cta-hero-section {
        margin: 32px 0;
        border-radius: 12px;
    }
    
    .cta-hero-background {
        height: 250px;
    }
    
    .cta-hero-content {
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .cta-hero-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .cta-hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .cta-hero-button {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14px;
        gap: 8px;
        box-sizing: border-box;
    }
}

/* インラインCTAボタン - セクション間の誘導用 */
.cta-section-inline {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 28px 0 48px;
}

.cta-button-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3aa0ff, #2583ff);
    color: #fff;
    padding: 16px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 15px rgba(58, 160, 255, 0.25);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cta-button-inline:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(58, 160, 255, 0.35);
    background: linear-gradient(135deg, #4db0ff, #3690ff);
    text-decoration: none;
    color: #fff;
}

.cta-button-inline:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(58, 160, 255, 0.3);
}

.cta-button-inline-text {
    font-weight: 600;
}

.cta-button-inline-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 0;
    padding: 0;
}

.cta-button-inline:hover .cta-button-inline-icon {
    transform: translateX(3px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 1279px) {
    .cta-section-inline {
        margin: 24px 0 40px;
    }
    
    .cta-button-inline {
        padding: 14px 22px;
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .cta-section-inline {
        margin: 18px 0 32px;
    }
    
    .cta-button-inline {
        padding: 12px 20px;
        font-size: 13px;
        gap: 8px;
    }
}
