/* ==========================================

                ABOUT US

========================================== */
.about-hero-section {
            height: 50vh;
            position: fixed;
            top: 0;
            left: 0;
	right:0;
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            z-index: 1;
	margin:auto;
        }
        
        .about-hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 120%;
            height: 120%;
/*             background: linear-gradient(135deg, rgba(100, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), 
                        url('http://xs395609.xsrv.jp/04/wp-content/uploads/2025/09/about-back.png'); */
			            background: url('https://n-frontier.jp/wp-content/uploads/2025/09/about-back.jpg');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            will-change: transform;
            z-index: 1;
			left: 50%;
  width: 110vw;         /* 画面より常に広く */
  height: 50vh;        /* 画面より常に高く */
  transform: translate3d(-50%, 0, 0); /* 中央基準に */
  transform-origin: center center;
        }
#service-hero-background {
background: url('https://n-frontier.jp/wp-content/uploads/2025/09/service.jpg');
background-size: cover;
background-position: right;
}
#company-hero-background {
background: url('https://n-frontier.jp/wp-content/uploads/2025/09/company.jpg');
background-size: cover;
background-position: right;
}
#member-hero-background {
background: url('https://n-frontier.jp/wp-content/uploads/2025/10/member-back.jpg');
background-size: cover;
background-position: right;
}
.about-hero-background::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(34 51 90 / 51%); /* 白なら rgba(255,255,255,.25) */
  pointer-events: none;
}
        .about-hero-content {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 20px;
            color: white;
            position: relative;
            z-index: 3;
            will-change: transform, opacity;
			text-align: center;
        }
        
        .about-hero-title {
            font-size: 60px;
            font-weight: 900;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
            letter-spacing: 4px;
            animation: aboutFadeInLeft 1s ease-out;
        }
        
        .about-hero-subtitle {
            font-size: 20px;
            opacity: 0.9;
            font-weight: bold;
            letter-spacing: 2px;
            animation: aboutFadeInLeft 1s ease-out 0.2s both;
        }
        
        /* Corporate Philosophy セクション - 上に被さる */
        .about-philosophy-section {
            background: #f5f7fa;
            padding: 100px 0;
            text-align: center;
            position: relative;
            z-index: 2;
            margin-top: 50vh; /* ヒーローセクションの高さ分の余白 */
            box-shadow: 0 -20px 40px rgba(0,0,0,0.1);
        }
        
        .about-container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .about-section-tag {
            color: #1976d2;
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 2px;
            margin-bottom: 10px;
            animation: aboutFadeInUp 0.8s ease-out 0.2s both;
        }
        
        .about-section-subtitle {
            color: #666;
            font-size: 1.1rem;
            margin-bottom: 40px;
            animation: aboutFadeInUp 0.8s ease-out 0.4s both;
        }
        
        .about-main-title {
            font-size: 64px;
            font-weight: bold;
            font-style: italic;
            line-height: 1.2;
            margin-bottom: 30px;
            background: linear-gradient(90deg, #00d4aa 0%, #1976d2 50%, #1565c0 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: aboutFadeInUp 0.8s ease-out 0.6s both;
        }
.service-title {
    font-size: 50px;
}
        .about-philosophy-content {
            max-width: 100%;
            margin: 0 auto;
            text-align: left;
        }
        
        .about-philosophy-text {
            font-size: 16px;
            color: #333;
            line-height: 2;
            margin-bottom: 15px;
            text-align: center;
            animation: aboutFadeInUp 0.8s ease-out 1s both;
        }
        
        .about-philosophy-text:nth-of-type(2) { animation-delay: 1.2s; }
        .about-philosophy-text:nth-of-type(3) { animation-delay: 1.4s; }
        .about-philosophy-text:nth-of-type(4) { animation-delay: 1.6s; }
        
        /* オフィス画像セクション */
        .about-office-section {
            padding: 80px 0;
            background: white;
            position: relative;
            z-index: 2;
        }
        
        .about-office-image-wrapper {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            animation: aboutFadeInUp 0.8s ease-out 0.5s both;
        }
        
        .about-office-image {
            width: 100%;
            max-width: 700px;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .about-office-image:hover {
            transform: scale(1.02);
        }
        
        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .about-nav {
                display: none;
            }
            
            .about-hero-title {
                font-size: 48px;
            }
            
            .about-hero-subtitle {
                font-size: 16px;
            }
            
            .about-main-title {
                font-size: 48px;
            }
            
            .about-philosophy-section {
                padding: 60px 0;
            }
            
            .about-office-section {
                padding: 60px 0;
            }
        }
        
        @media (max-width: 480px) {
            .about-hero-title {
                font-size: 36px;
            }
            
            .about-main-title {
                font-size: 36px;
            }
        }
        
        /* アニメーション定義 */
        @keyframes aboutFadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes aboutFadeInLeft {
            0% {
                opacity: 0;
                transform: translateX(-30px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }
/* ==========================================

                ABOUT US 二つ目

========================================== */
.about-feature {
    position: relative;
    z-index: 20;
	background-color: #edf8ff;
	padding-bottom: 5rem;
}
.ttl1__en {
    font-size: 1rem;
    color: #5fb8f0;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
	margin-bottom: 2rem;
}
.ttl1__en::after {
    content: "";
    width: 5rem;
    height: .1rem;
    background-color: #5fb8f0;
    top: 50%;
    right: -6.5rem;
    transform: translateY(-50%);
    margin-left: 1.5rem;
}
.ttl1--nega {
    width: 80%;
    margin: auto;
    padding: 7rem 0;
}
.ttl1__ja {
    font-size: 2rem;
}
.feature-wrap {
    width:80%;
    margin: auto;
}
.feature-position {
    position: relative;
	margin-bottom: 3rem;
}
.feature-position,.feature-text {
	height: 300px;
}
#feature-img {
    width: 30%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%); /* X/Y 方向に半分戻す */
	z-index: 1;
}
#feature-text-wrap {
    position: absolute;
    background-color: #fff;
    width: 75%;
	height: 100%;
}
.feature-text {
    position: relative;
}
#feature-number {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #1f2c50;
    color: #fff;
    padding: 10px;
    font-size: 1.5rem;
}
.feature-text p {
    width: 65%;
    line-height: 1.8rem;
}
.bold-f {
    font-weight: bold;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #00d4aa 0%, #1976d2 50%, #1565c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
}
/* 子を絶対配置で垂直センター */
.feature-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;              /* 必要に応じて */
  padding-left: 2rem;
}
.feature-position2 #feature-img {
	right:inherit;
    left: 20%;
}
.feature-position2 #feature-text-wrap {
    right: 0;
}
.feature-position2 #feature-number {
	left:inherit;
    right: 0;
}
.feature-position2 .feature-center {
    padding-left: 10rem;
}
.feature-position2 .feature-text p {
    width: 90%;
}
/* ==========================================

                SERVICE

========================================== */
.about-img {
    margin-top: 3rem;
}
.service-title {
    text-align: center;
}
.service-p {
    text-align: center;
    margin-bottom: 4rem;
}
/* ==========================================

                MEMBER1

========================================== */
.representative-text span {
    line-height: 1.2;
    background: linear-gradient(90deg, #00d4aa 0%, #1976d2 50%, #1565c0 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1rem;
    -webkit-text-stroke: 0.2px #1871cd;
}
.representative-opp {
    flex-flow: row-reverse;
}
.member-section {
    padding: 5rem 6rem;
}
.member-section .representative {
    margin-bottom: 10rem;
}
.member-section .about-office-image {
    width: 95%;
}
/* ==========================================

               COMPANY

========================================== */
.slider {
      width: 100%;
      max-width: 100%; /* 表示領域の幅 */
      overflow: hidden;
      position: relative;
      border: 5px solid #fff;
	z-index: 98;
    background-color: #fff;
    }
    .slide-track {
      display: flex;
      width: calc(100%); /* 画像を2回並べるので倍 */
      animation: scroll 30s linear infinite;
    }
    .slide-track img {
      width: 100%;
      object-fit: contain;
    }
    @keyframes scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
.company {
    position: relative;
    z-index: 10;
    background-color: #fff;
	padding: 10rem 0;
	padding-bottom: 1rem;
}
.company-table {
            width: 100%;
            max-width: 850px;
            border-collapse: collapse;
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin: auto;
        }
        
        .company-table td {
            border: 1px solid #ddd;
            padding: 15px;
            vertical-align: top;
            font-size: 1.1rem;
            line-height: 1.6;
			position: relative;
    vertical-align: middle;
        }
        
        .label-cell {
            background-color: #212a4b;
            font-weight: bold;
            width: 120px;
            text-align: center;
			color: #fff;
        }
        
        .content-cell {
            background-color: white;
        }
.bold {
    font-weight: bolder;
}
        .map-button {
            display: inline-flex;
            align-items: center;
            background-color: white;
            border: 2px solid #4CAF50;
            color: #4CAF50;
            padding: 5px 12px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 1.1rem;
            margin-left: 10px;
            font-weight: bold;
        }
        
        .map-button:before {
            content: "📍";
            margin-right: 5px;
        }
        
        .map-button:after {
            content: "→";
            margin-left: 5px;
        }
        
        .office-section {
            margin-bottom: 15px;
        }
        
        .office-title {
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .office-details {
            margin-bottom: 3px;
            color: #666;
        }
/* 経歴 */
.career-body {
            margin: 0;
            padding: 0px 20px;
            background-color: #fff;
            line-height: 1.6;
	position: relative;
    z-index: 10;
padding-top: 5rem;
}
        
        .career-container {
            max-width: 850px;
            margin: 0 auto;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 40px;
			margin-bottom: 5rem;
        }
        
        .career-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 40px;
            color: #333;
        }
        
        .career-timeline {
            position: relative;
            padding-left: 0;
        }
        
        .career-timeline::before {
            content: '';
            position: absolute;
            left: 80px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #3fabf3;
        }
        
        .career-item {
            position: relative;
            margin-bottom: 25px;
            display: flex;
            align-items: flex-start;
        }
        
        .career-year {
            width: 60px;
            font-weight: bold;
            color: #3fabf3;
            font-size: 14px;
            flex-shrink: 0;
            text-align: right;
        }
        
        .career-dot {
            width: 12px;
            height: 12px;
            background-color: #3fabf3;
            border-radius: 50%;
            margin: 0 15px;
            margin-top: 6px;
            flex-shrink: 0;
            border: 3px solid white;
            box-shadow: 0 0 0 2px #3fabf3;
        }
        .career-content {
            flex: 1;
            font-size: 1.1rem;
            color: #333;
            padding-top: 2px;
        }
        
        .career-highlight {
            color: #4CAF50;
            font-weight: bold;
        }
        
        .career-amount {
            color: #e74c3c;
            font-weight: bold;
        }
.map {
    max-width: 850px;
    margin: 0 auto;
    padding: 5rem 0;
}
.representative {
    display: flex;
}
.representative .about-main-title {
    font-size: 2rem;
    text-align: left;
    padding: 2rem;
}
.representative .about-philosophy-content {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8rem;
    padding-left: 2rem;
}
.representative h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.representative h3 span {
    line-height: 1.2;
    background: linear-gradient(90deg, #00d4aa 0%, #1976d2 50%, #1565c0 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
}
.representative h6 {
    font-size: 0.9rem;
}
.representative .about-main-title {
    margin-bottom: 0px;
}
.representative {
animation: aboutFadeInUp 0.8s 
ease-out 0.6s both;
}
.representative-text {
    line-height: 2.2rem;
}
/* ==========================================

              CONTACT

========================================== */
.hp-form {
    width: 100%;
    margin: auto;
    background-color:#f4f3f1;
    padding: 3rem 1.3rem;
}
#form table {
    width: 70%;
    margin: auto;
}
.waku {
    width: 90%;
    margin: auto;
    background-color: #e4ffcf;
    border-radius: 15px;
    padding: 2rem 0;
}
.wakuimg {
    padding-bottom: 1rem;
}
table {
    width: 90%;
    padding: 2rem;
    background-color: #fff;
    margin: auto;
}
.trtr {
    width: 90%;
    display: block;
    margin: auto;
}
.thth {
    display: flex;
    justify-content: space-between;
    width: 90%;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}
.thth span {
    color: #ff0000;
    padding: 0.2rem 0.5rem !important;
    font-size: 0.8rem;
}
.tdtd {
    display: block;
}
.tdtd input, .tdtd textarea {
    width: 100%;
    background-color: #fff;
    border: 1px solid #c1c1c1;
    border-radius: 6px;
}
.wpcf7-spinner {
    display: none;
}
.contact-area h2 {
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    padding-bottom: 2rem;
    padding-top: 7rem;
    color: #6a6254;
    background-color: #f0f0f0;
    margin: 0;
}
.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
    display: flex;
}
p {
    margin-top: 0 !important;
}
.hp-form-btn {
    text-align: center;
    width: 100%;
    margin: auto !important;
    padding-bottom: 3rem !important;
	margin-top: 3rem !important;
}
.wpcf7-select {
    width: 100%;
    margin: auto;
    border: 1px solid #c7c7c7;
    padding: 1rem;
    border-radius: 5px;
}
/* 性別ラジオ：横並び＆余白を最小限に */
.wpcf7 .wpcf7-radio{
  display:flex;
  align-items:center;
  gap: 18px;              /* ← 選択肢どうしの間（男性↔女性） */
  white-space: nowrap;
}

.wpcf7 .wpcf7-radio .wpcf7-list-item{
  margin:0;               /* CF7のデフォ余白をリセット */
}

.wpcf7 .wpcf7-radio .wpcf7-list-item > label{
  display:inline-flex;
  align-items:center;
  gap: 8px;               /* ← 丸と文字の間（丸↔「男性」） */
}

.wpcf7 .wpcf7-radio input[type="radio"]{
  margin:0;               /* ブラウザ既定の余白を消す */
}
/* CF7 チェックボックス：横並び・余白調整 */
.wpcf7 .wpcf7-checkbox{
  display:flex;
  align-items:center;
  gap: 18px;                 /* ← 選択肢どうしの間（大阪↔東京↔静岡） */
  flex-wrap: nowrap;         /* 折り返したくない場合。折り返すなら 'wrap' */
  white-space: nowrap;
}
.wpcf7 .wpcf7-checkbox .wpcf7-list-item{
  margin:0;                  /* CF7のデフォ余白をリセット */
}
.wpcf7 .wpcf7-checkbox .wpcf7-list-item > label{
  display:inline-flex;
  align-items:center;
  gap: 8px;                  /* ← チェックボックスと文字の間 */
}
.wpcf7 .wpcf7-checkbox input[type="checkbox"]{
  margin:0;                  /* 既定の余白を除去 */
}
input, textarea, select,
.wpcf7-form-control {
  color: #111 !important;            /* 入力文字色 */
  background-color: #fff !important; /* 背景 */
  caret-color: #111;                 /* キャレット色 */
}
.hp-form-btn input {
    background-color: #375c97 !important;
    padding: 1rem 2rem !important;
    border: none;
    color: #fff !important;
    font-weight: 800;
}
#form tbody {
    padding-bottom: 3rem !important;
    display: block;
}
/* 画面が狭い時は少し詰める（任意） */
@media (max-width:480px){
#form tbody {
    padding-bottom: 3rem !important;
    display: block;
}
  .wpcf7 .wpcf7-radio{ gap: 14px; }
  .wpcf7 .wpcf7-radio .wpcf7-list-item > label{ gap: 6px; }
}