/* ------------------------------------------------
  Fonts & Root
------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary: #0c5591;
  --body: #333;
  --note01: #888;
  --btntext01: #fff;
  --btnhover01: #2c78b5;
  --bglight01: #f5f8fb;
  --bgdark01: #2c78b5;
  --dark: #3e3f42;
  --btngradient01: linear-gradient(145deg, rgba(75, 155, 192, 1) 1%, rgba(57, 85, 207, 1) 100%);
  --btngradient02: linear-gradient(145deg, rgba(92, 186, 230, 1) 0%, rgba(85, 113, 237, 1) 100%);
  --bggradient01: linear-gradient(145deg, rgba(92, 186, 230, 0.15) 1%, rgba(85, 113, 237, 0.15) 100%);
  --box-shadow: 0 5px 20px rgba(12, 85, 145, .2);
}

/* ------------------------------------------------
  Base
------------------------------------------------- */
html,
body {
  overflow-x: clip;
  /* hiddenより描画が安定 */
  touch-action: pan-y;
  /* 横スワイプ無効化 */
  overscroll-behavior-x: none;
  /* 横方向のオーバースクロール無効 */
}

body {
  font-family:
    "Noto Sans", sans-serif,
    -apple-system, BlinkMacSystemFont,
    "游ゴシック体", YuGothic,
    "Yu Gothic M",
    "游ゴシック Medium", "Yu Gothic Medium",
    "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3,
    "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",
    "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--body);
  font-weight: 300;
  font-feature-settings: "palt";
}

img {
  width: 100%;
}

a {
  color: var(--dark);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4,
.display-6 {
  font-weight: 600;
}

h1,
h2,
h3,
h5 {
  background: linear-gradient(145deg, #4b9bc0 0%, #3955cf 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

h1,
h2 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.4;
}

h3,
h5 {
  font-size: 20px;
  line-height: 1.4;
}

.ste01 {
  color: var(--primary);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
}

.pic01 {
  position: relative;
  overflow: hidden;
}

.text-justify {
  text-align: justify;
}

.text-justify01 {
  text-align: justify;
  line-height: 1.8;
  font-size: 15px;
}

.text-justify01 ol {
  padding-left: 0;
  margin-left: -1em;
  list-style-position: inside;
}

.text-justify01 li {
  margin-bottom: .8em;
}

.text-justify01 li strong {
  color: #333;
}

.text-justify01 h5 {
  color: #222;
  font-size: 18px;
  margin-bottom: 1rem;
}

.text-spacing01 {
  letter-spacing: .3rem;
}

.text-note01 {
  color: var(--note01);
  font-size: 12px;
  margin-left: 6px;
}

.text-dark01 {
  color: var(--body);
}

.lead-text {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  line-height: 1.8;
}

/* Background utils */
.bg-light01 {
  background-color: var(--bglight01);
}

.bg-dark01 {
  background-color: var(--bgdark01);
}

.bg-grad01 {
  background: var(--bggradient01);
}

/* ------------------------------------------------
  Responsive line breaks
------------------------------------------------- */
@media (min-width:576px) {
  .br-pc {
    display: block
  }

  .br-sp {
    display: none
  }
}

@media (max-width:575px) {
  .br-pc {
    display: none
  }

  .br-sp {
    display: block
  }
}

/* .br-pc02: 768–991 & >=1200 で表示、それ以外は非表示 */
.br-pc02 {
  display: none;
}

@media (min-width:768px) and (max-width:991px) {
  .br-pc02 {
    display: block
  }
}

@media (min-width:1200px) {
  .br-pc02 {
    display: block
  }
}

/* ------------------------------------------------
  Navigation
------------------------------------------------- */
.navbar {
  box-shadow: var(--box-shadow);
}

.logo {
  width: 140px;
}

.logo01 {
  width: clamp(240px, 25vw, 420px);
}

.logo01f {
  width: 200px;
}

.navbar .nav-link {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .07em;
  margin-left: 8px;
}

.nav_hr {
  display: none;
}

@media (max-width:991px) {
  .logo {
    margin: 5px 0 0 6px;
  }

  .navbar .nav-link {
    text-align: left;
    font-size: 14px;
    margin: -6px auto;
    width: 80%;
  }

  .nav_hr {
    display: inline-block;
    text-align: center;
    color: #000;
    width: 80%;
    margin: 0 0 7px
  }
}

/* Hamburger button */
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all .3s ease-in-out;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

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

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

/* Mobile overlay collapse */
@media (max-width:991px) {
  .navbar .overlay-collapse {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    height: calc(100vh - 64px);
    background: #fff;
    overflow-y: auto;
    padding: 1rem 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 400ms ease, opacity 400ms ease, visibility 0s linear .25s;
    will-change: transform, opacity;
    z-index: 10;
  }

  .navbar .overlay-collapse.collapse.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .navbar .overlay-collapse.collapsing {
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0ms ease, opacity 0ms ease, visibility 0s linear .25s;
  }
}

/* Anchor offset (fixed header) */
[id] {
  scroll-margin-top: 60px;
}

/* Nav arrow on mobile */
.nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link i {
  display: none;
}

@media (max-width:991px) {
  .nav-link {
    justify-content: space-between;
    font-size: 1.1rem;
    padding: .75rem 1.25rem;
  }

  .nav-link span {
    margin-left: -10px;
  }

  .nav-link i {
    display: inline-block;
    font-size: 1.2rem;
    color: #333;
    margin-right: -10px;
  }
}

/* ------------------------------------------------
  Buttons
------------------------------------------------- */
.btn,
.btn:hover,
.btn:focus,
.btn:active {
  transition: none !important;
}

.btn-header,
.btn-cta {
  color: var(--btntext01);
  border: none;
  border-radius: 0;
  background: var(--btngradient01);
}

.btn-header {
  font-size: 13px;
  padding: 14px 18px;
  width: 180px;
  margin-left: 18px;
}

.btn-cta {
  font-size: 20px;
  font-weight: 500;
  padding: 18px 0;
  width: 360px;
  position: relative;
  overflow: visible;
}

@media (max-width:400px) {
  .btn-cta {
    width: 92vw;
  }
}

.btn:hover,
.btn:active {
  color: var(--btntext01) !important;
  background: var(--btngradient02) !important;
  border-color: rgba(255, 255, 255, 0) !important;
}

.btn-cta i,
.btn-header i {
  font-size: 1.2em;
}

/* CTA decorative lines */
.btn-cta::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: #fff;
  z-index: 3;
}

.btn-cta::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: #000;
  z-index: 2;
}

/* ------------------------------------------------
  Hero
------------------------------------------------- */
video.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .8;
  z-index: -2;
}

.hero {
  background-image: url("../images/.jpg");
  background-position: top;
  background-size: cover;
  position: relative;
  z-index: 2;
}

.hero-t01 {
  font-size: clamp(32px, 8vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .05em;
}

.hero-img01 {
  width: 100%;
  height: 600px;
  background: url("../images/fv01.jpg") center/cover no-repeat;
}

@media (max-width:911px) {
  .hero-img01 {
    height: 500px
  }
}

@media (max-width:767px) {
  .hero-img01 {
    height: 340px
  }
}

section {
  padding-top: clamp(75px, 10vw, 85px);
  padding-bottom: clamp(75px, 10vw, 85px);
}

section.hero {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width:991px) {
  section.hero {
    padding-top: 80px;
    padding-bottom: 0;
  }
}

.hero-white-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: #fff;
  z-index: 0;
  pointer-events: none;
}

.hero-bottom-img {
  position: absolute;
  left: 50%;
  bottom: -146px;
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width:767px) {
  .hero-bottom-img {
    bottom: -130px
  }
}

.hero-bottom-img img {
  width: clamp(400px, 50vw, 550px);
  height: auto;
  display: block;
}

@media (max-width:400px) {
  .hero-bottom-img img {
    width: 94vw
  }
}

/* ------------------------------------------------
  Sections & anchors
------------------------------------------------- */
#mission {
  padding-top: 40px;
}

#program {
  margin-top: -100px;
}

#process {
  margin-top: -80px;
}

#merit {
  margin-top: 0;
  scroll-margin-top: 80px;
}

@media (max-width:767px) {
  #merit {
    scroll-margin-top: 70px
  }
}

.mission-t01 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
}

@media (max-width:411px) {
  .mission-t01 {
    font-size: 30px
  }
}

#merit .ste01,
#merit h2 {
  text-align: left;
}

@media (max-width:767px) {

  #merit .ste01,
  #merit h2 {
    text-align: center;
  }
}

/* ------------------------------------------------
  Cards / features / icons
------------------------------------------------- */
.card-effect {
  box-shadow: var(--box-shadow);
  background: #fff;
  padding: clamp(10px, 4vw, 25px);
  margin-inline: clamp(0px, (768px - 100vw)/2, 4px);
  transition: all .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vr,
.vr01 {
  position: relative;
  width: 1px;
  height: 40px;
  background: #000;
  opacity: 1;
  margin-top: -20px;
  z-index: 3;
}

.vr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #fff;
}

.vr01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #000;
}

.image-box {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #f2f2f2;
}

.image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shadow01 {
  box-shadow: var(--box-shadow);
}

.iconbox {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btngradient01);
  color: #fff;
  border-radius: 100px;
  flex: none;
  margin-top: 2px;
  font-size: 26px;
}

.iconbox i {
  position: relative;
  left: 1px;
}

.icon0 {
  left: -1px !important;
}

.iconbox.icon-only {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -10px;
}

.iconbox.icon-only i {
  background: linear-gradient(145deg, #4b9bc0 0%, #3955cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 3rem;
  line-height: 1;
}

@supports not (-webkit-background-clip:text) {
  .iconbox.icon-only i {
    color: #3955cf;
  }
}

.yyy i {
  background: linear-gradient(145deg, #4b9bc0 0%, #3955cf 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(54px, 8vw, 80px);
  line-height: 1.4;
}

/* Feature list layout */
.feature {
  display: grid;
  grid-template-columns: clamp(56px, 8vw, 72px) 1fr;
  align-items: start;
  column-gap: 4px;
  margin: 0;
}

.features-stack {
  display: grid;
  row-gap: 24px;
}

.iconbox-y {
  position: relative;
  top: 10px;
  width: clamp(60px, 7vw, 72px);
  height: clamp(60px, 7vw, 72px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.iconbox-y .icon-bg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.iconbox-y i {
  position: relative;
  z-index: 2;
  font-size: clamp(1.8rem, 3vw, 2rem);
  line-height: 1;
  color: #fff;
  top: 2px;
  left: 1px;
}

/* Process fine-tune */
#process .feature {
  align-items: center;
}

#process .feature .iconbox-y {
  top: -10px;
}

/* Media blocks */
.service {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.section-image {
  max-width: 420px;
  max-height: 240px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

/* Feature images */
.col-img {
  background: url("../images/merit_pic01.jpg") center/cover no-repeat;
  min-height: 500px;
}

@media (max-width:575px) {
  .col-img {
    min-height: 300px
  }
}

@media (min-width:992px) and (max-width:1199px) {
  .col-img {
    background-position: 70% center
  }
}

@media (min-width:1200px) {
  .col-img {
    background-position: 70% center
  }
}

.col-img02 {
  background: url("../images/process_pic01.jpg") center/cover no-repeat;
  min-height: 500px;
}

@media (max-width:575px) {
  .col-img02 {
    min-height: 300px
  }
}

/* Grid helpers */
.offset-md-half {
  margin-left: 2.5%;
}

@media (max-width:767px) {
  .offset-md-half {
    margin-left: 0
  }
}

/* ------------------------------------------------
  Project / team / social
------------------------------------------------- */
.project {
  position: relative;
  overflow: hidden;
}

.project img {
  transition: all .4s ease;
}

.project .overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 39, 71, .7);
  padding: 30px;
  display: flex;
  align-items: flex-end;
  transition: all .4s ease;
  opacity: 0;
}

.project:hover .overlay {
  opacity: 1;
}

.project:hover img {
  transform: scale(1.1);
}

.team-member img {
  width: 125px;
  height: 125px;
  border-radius: 100px;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  margin-left: 5px;
  transition: all .4s ease;
}

.social-icons a:hover {
  color: var(--primary);
  background: transparent;
}

/* ------------------------------------------------
  Forms
------------------------------------------------- */
form .form-control {
  border: transparent;
  border-radius: 0;
  background: #fff;
}

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

.form-group input,
.form-group textarea {
  font-size: 15px;
  padding: 10px 10px 10px 12px;
}

.form-group input.form-control {
  height: 56px;
}

.form-group textarea.form-control {
  height: 219px;
}

@media (max-width:767px) {
  .form-group textarea.form-control {
    height: 219px
  }
}

.form-group select.form-select {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  height: 56px;
  border-radius: 0;
}

/* Focus */
.form-control:focus,
.form-select:focus {
  border-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: #fff;
}

/* Placeholder (scoped to #contact) */
section#contact ::-webkit-input-placeholder,
section#contact :-moz-placeholder,
section#contact ::-moz-placeholder,
section#contact :-ms-input-placeholder {
  font-weight: 400;
  color: rgba(0, 0, 0, .5);
}

/* Validation icons / states */
.was-validated .form-select:valid,
.form-select.is-valid {
  border-color: #0d6efd !important;
  background-image:
    var(--bs-form-select-bg-img),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230d6efd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right .75rem center, right 1.75rem center;
  background-repeat: no-repeat;
  background-size: 1rem 1rem, .75rem .75rem;
}

.was-validated .form-select:invalid,
.form-select.is-invalid {
  border: none !important;
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #0d6efd !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230d6efd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: 1.1rem 1.1rem;
}

/* Invalid helper */
.custom-invalid {
  margin: 5px 0 0 3px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, .8);
}

.invalid-feedback.position-absolute {
  display: none;
}

.was-validated .form-control:invalid~.invalid-feedback.position-absolute,
.form-control.is-invalid~.invalid-feedback.position-absolute {
  display: block;
}

/* Checkboxes */
.form-check-input:checked {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: .9em .9em;
  background-position: center;
}

/* Alerts */
.alert-success {
  color: var(--primary);
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  border: 0;
  margin: 0;
}

.alert {
  --bs-alert-bg: transparent;
  --bs-alert-padding-x: 1rem;
  --bs-alert-padding-y: 1rem;
  --bs-alert-margin-bottom: 1rem;
  --bs-alert-color: inherit;
  --bs-alert-border-color: transparent;
  --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);
  --bs-alert-border-radius: var(--bs-border-radius);
  --bs-alert-link-color: inherit;
  position: relative;
  padding: 0;
  margin-top: -10px;
  margin-bottom: 15px;
  color: var(--primary);
  background: transparent;
  border: none;
  border-radius: var(--bs-alert-border-radius);
}

.alert-danger {
  --bs-alert-color: var(--bs-danger-text-emphasis);
  --bs-alert-bg: var(--bs-danger-bg-subtle);
  --bs-alert-border-color: var(--bs-danger-border-subtle);
  --bs-alert-link-color: var(--bs-danger-text-emphasis);
}

input,
select,
textarea {
  outline: none;
}

form .form-control:-webkit-autofill,
form .form-control:-webkit-autofill:hover,
form .form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

/* iOS zoom prevention */
@supports (-webkit-touch-callout:none) {

  input,
  select,
  textarea,
  .form-control,
  .form-select {
    font-size: 16px !important;
    line-height: 1.5;
  }
}

@media (max-width:767.98px) {

  input,
  select,
  textarea,
  .form-control,
  .form-select {
    font-size: 16px;
  }
}

/* ------------------------------------------------
  Modal
------------------------------------------------- */
.form-check-label a {
  text-decoration: underline !important;
}

.modal-content {
  border-radius: 0 !important;
}

.modal-header .btn-close {
  position: relative;
  right: 10px;
}

/* ------------------------------------------------
  Footer
------------------------------------------------- */
.footer-top {
  padding: 90px;
}

.footer-top a {
  color: var(--body);
}

.footer-top a:hover {
  color: #fff;
}

.fmenu {
  color: #fff;
  font-size: 13px;
  font-weight: 300;
}

.copyright01 {
  background: #000;
  color: #b6b6b6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin: 0;
  width: 100%;
  letter-spacing: .1em;
  font-size: 10px;
}

.copyright01 p {
  margin: 0;
  line-height: 1;
}

/* ------------------------------------------------
  Helpers
------------------------------------------------- */
.pb100 {
  padding-bottom: 100px;
}

@media (max-width:991px) {
  .pb100 {
    padding-bottom: 160px
  }
}

@media (max-width:767px) {
  .container-fluid.text-center.mx-auto.pb100 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .col-md-8.text-justify01 {
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

/* Navbar toggler focus reset */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus,
.navbar-toggler-icon:active {
  outline: none !important;
  box-shadow: none !important;
}