/* ==========================================================
   カラー・フォント設定（キーカラーはここで一元管理）
   ========================================================== */
:root {
  --primary-color: #3b66cd;        /* メインアクセントカラー（ボタン・リンク・小見出し・アイコン） */
  --primary-color-dark: #2c50a8;   /* hover・濃いめのアクセント */
  --primary-color-pale: #eaf0fb;   /* 淡い面 */
  --color-heading: #24324d;        /* 見出し・ナビ文字（濃紺） */
  --color-text: #5f6b7a;           /* 本文 */
  --color-hero-bg: #0b1426;        /* Hero背景（画像読み込み前） */
  --color-hero-heading: #ffffff;   /* Hero見出し */
  --color-hero-text: #ffffff;      /* Heroリード文 */
  --color-hero-overlay: linear-gradient(180deg, rgba(10, 22, 48, 0.5) 0%, rgba(10, 22, 48, 0.45) 100%);  /* 濃紺オーバーレイ */
  --color-cta-bg: linear-gradient(135deg, #1b2d5c 0%, #3b66cd 100%);  /* 濃紺→メインカラー */
  --font-ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif; }

html {
  scroll-behavior: smooth; }

body {
  line-break: strict; }

h1, h2, h3 {
  word-break: auto-phrase; }

* {
  font-size: 100.01%; }

html {
  font-size: 62.5%;
  height: 100%; }

body {
  margin: 0;
  height: 100%;
  font: 1.3rem/1.61538 "Montserrat", var(--font-ja); }

p {
  font-family: "Source Sans Pro", var(--font-ja); }

.btn, a {
  -webkit-transition: color linear .4s, background-color linear .4s, border-color linear .4s;
  transition: color linear .4s, background-color linear .4s, border-color linear .4s; }
  .btn:hover, a:hover {
    text-decoration: none;
    outline: none; }

.btn-link {
  display: inline-block;
  vertical-align: top;
  background: #f4f4f4;
  border-radius: 3px;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.3571428;
  padding: 7px 24px; }
  .btn-link:hover {
    background: #e0e0e0; }

#wrapper {
  width: 100%;
  height: 100%;
  display: table;
  overflow: hidden;
  table-layout: fixed; }

#footer {
  width: 100%;
  overflow: hidden;
  display: table-footer-group;
  height: 1%; }

.logo {
  float: left;
  margin: 0 0 0 15px;
  width: 151px;
  height: 41px; }

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 31px 0 32px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(196, 194, 202, 0.23);
  -webkit-backface-visibility: hidden;
  /* Prevent Chrome bug because of on-scroll effect in other section */ }
  #header .btn {
    float: right;
    margin: 2px 0 0 59px;
    height: 38px;
    min-width: 145px;
    padding: 7px;
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 22px;
    letter-spacing: 0; }

#nav {
  overflow: hidden;
  text-align: right;
  font-size: 0;
  letter-spacing: -4px;
  white-space: nowrap; }
  #nav .nav-drop {
    overflow: hidden; }
  #nav ul {
    padding: 9px 0 5px;
    margin: 0; }
  #nav li {
    display: inline-block;
    vertical-align: top;
    font-size: 1.6rem;
    line-height: 24px;
    font-weight: bold;
    letter-spacing: 0;
    white-space: normal;
    margin: 0 0 0 34px; }
    #nav li a {
      display: block;
      color: var(--color-heading); }
      #nav li a:hover {
        text-decoration: none;
        color: var(--primary-color); }

.nav-opener {
  display: none;
  float: right;
  width: 31px;
  height: 31px;
  position: relative;
  text-indent: -9999px;
  overflow: hidden; }

.nav-opener:before, .nav-opener:after, .nav-opener span {
  background: #333;
  border-radius: 4px;
  position: absolute;
  top: 17px;
  left: 3px;
  right: 3px;
  height: 3px;
  margin-top: -2px;
  /* height/2 */
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear; }

.nav-opener:before {
  content: '';
  top: 8px;
  left: 30%; }

.nav-opener:after {
  content: '';
  top: 26px; }

.nav-active .nav-opener span {
  opacity: 0; }

.nav-opener:hover {
  opacity: .9; }

.nav-active .nav-opener:after, .nav-active .nav-opener:before {
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 16px;
  left: 5%;
  right: 5%; }

.nav-active .nav-opener:after {
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg); }

.visual {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--color-hero-text);
  font-size: 0;
  letter-spacing: -4px;
  padding: 104px 0 0;
  background: var(--color-hero-bg); }
  /* Hero画像：どの比率の写真でも領域いっぱいに表示（差し替え用） */
  .visual .bg-stretch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: center; }
  /* 写真の上でも文字が読めるよう暗めのオーバーレイ */
  .visual:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--color-hero-overlay); }
  .visual > .container {
    display: inline-block;
    vertical-align: top;
    position: relative;
    z-index: 1;
    font-size: 2.4rem;
    line-height: 1.5;
    letter-spacing: 0; }
  .visual h1 {
    margin: 0 0 32px;
    font-size: 5.2rem;
    line-height: 1.4;
    font-weight: bold;
    color: var(--color-hero-heading); }
  .visual p {
    margin: 0 0 8px; }
    .visual p.tagline {
      line-height: 1.9;
      font-size: 1.8rem; }
  .visual .text-block {
    padding: 110px 0 150px; }

#cta {
  position: relative;
  z-index: 1;
  margin: -80px 0 55px;
  text-align: center;
  color: #777777;
  font-size: 1.4rem;
  line-height: 1.28571428; }
  #cta .btn {
    margin: 0 0 16px;
    height: 62px;
    font-size: 2.1rem;
    line-height: 26px;
    font-weight: bold;
    padding: 17px;
    min-width: 390px; }

.text-box {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.9;
  color: var(--color-text);
  padding-bottom: 23px; }
  .text-box h2 {
    margin: 0 0 36px;
    font-size: 4.4rem;
    line-height: 1.45;
    color: var(--color-heading);
    font-weight: bold; }
  .text-box p {
    margin: 0 0 35px; }

.rounded {
  border-radius: 40px; }

.main {
  padding: 47px 0; }
  .main p {
    margin: 0 0 23px; }

.area {
  padding: 77px 0 47px;
  background: #f4f4f4; }
  .area h2 {
    margin: 0 0 28px;
    font-size: 4rem;
    line-height: 1.107;
    font-weight: bold; }

.slide-holder {
  padding: 0 0 0 65px; }
  .slide-holder .img-slide {
    position: relative;
    margin: 0 0 -140px; }
    .slide-holder .img-slide img {
      position: relative;
      top: 0;
      left: -20px; }

/* See Blueprint http://tympanus.net/codrops/2013/07/18/on-scroll-effect-layout/ */
.scroll-effect-init .img-slide {
  -webkit-transition: -webkit-transform 1s;
  transition: transform 1s; }

.scroll-effect-init .img-slide {
  -webkit-transform: translateX(50px);
  -moz-transform: translateX(50px);
  transform: translateX(50px); }

.slide-holder.scroll-effect-animate .img-slide {
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1; }

.visual-list {
  margin: 0 -25px -40px -15px;
  padding: 28px 0;
  list-style: none;
  color: #777777; }
  .visual-list .img-holder {
    float: left;
    width: 90px;
    text-align: center;
    margin: 7px 45px 0 0; }
    .visual-list .img-holder img {
      vertical-align: top; }
  .visual-list .text-holder {
    overflow: hidden; }
  .visual-list li {
    padding: 0 0 29px; }
  .visual-list h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: bold;
    color: var(--color-heading); }
  .visual-list p {
    margin: 0 0 21px; }

.footer-holder {
  position: relative;
  padding: 62px 15px 92px;
  font-size: 1.4rem;
  line-height: 1.6428571429;
  color: #777777; }
  .footer-holder:before {
    content: '';
    position: absolute;
    height: 1px;
    top: 0;
    right: 15px;
    left: 15px;
    background: #f4f4f4; }
  .footer-holder .logo {
    margin: 0 0 23px;
    padding: 4px 0 0;
    float: none;
    display: block; }
    .footer-holder .logo + p {
      line-height: 21px; }
  .footer-holder h4 {
    margin: 0 0 14px;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: bold; }
  .footer-holder ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.55; }
    .footer-holder ul a {
      color: var(--primary-color); }
      .footer-holder ul a:hover {
        color: var(--primary-color-dark); }
  .footer-holder .text-holder {
    padding: 0 0 0 10px; }
  .footer-holder address {
    display: block;
    margin: -3px 0 0;
    font-style: normal;
    line-height: 23px; }

@media only screen and (max-width: 992px) {
  .nav-opener {
    display: inline-block;
    vertical-align: top; }

  .opener-holder {
    float: right;
    display: inline-block;
    vertical-align: top;
    position: relative;
    padding: 0 0 0 25px;
    margin: 7px 25px 0; }
    .opener-holder:before {
      position: absolute;
      content: "";
      width: 1px;
      left: 0;
      top: 0;
      bottom: -6px;
      background: #f4f4f4; }

  #header {
    position: relative;
    padding: 0; }
    #header > .container {
      padding: 29px 0 0; }
    #header .logo {
      margin: 3px 0 32px 25px; }
    #header .btn {
      float: none;
      height: 48px;
      font-size: 1.7rem;
      line-height: 22px;
      margin: 0;
      padding: 12px 40px;
      display: inline-block;
      vertical-align: top; }

  #nav {
    overflow: visible;
    font-size: 1.8rem;
    line-height: 1.3333333;
    letter-spacing: 0;
    font-weight: normal; }
    #nav .nav-drop {
      display: block;
      clear: both;
      width: 100%;
      max-width: 400px;
      position: absolute;
      right: 0;
      top: 100%;
      pointer-events: none;
      opacity: 0;
      -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s;
      -webkit-transform: translate3d(0, 30px, 0);
      transform: translate3d(0, 30px, 0); }
      #nav .nav-drop > ul {
        display: block;
        padding: 0;
        text-align: left; }
        #nav .nav-drop > ul li {
          position: relative;
          margin: 0;
          padding: 0 35px;
          display: block;
          font-size: 1.8rem;
          line-height: 1.3333333;
          font-weight: normal; }
          #nav .nav-drop > ul li.active:before {
            content: '';
            position: absolute;
            top: 20px;
            bottom: 20px;
            width: 4px;
            left: 0;
            background: var(--primary-color); }
          #nav .nav-drop > ul li a {
            display: block;
            margin: 0 -9999px;
            padding: 20px 9979px;
            border-bottom: 1px solid #3E3D3F;
            color: #fff;
            background: rgba(51, 51, 51, 0.98); }
            #nav .nav-drop > ul li a:active, #nav .nav-drop > ul li a:focus, #nav .nav-drop > ul li a:hover {
              text-decoration: none;
              color: var(--primary-color); }
          #nav .nav-drop > ul li.active {
            position: relative; }
            #nav .nav-drop > ul li.active a {
              color: #858585; }

  .nav-active #nav .nav-drop {
    pointer-events: auto;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }

  #cta {
    margin: -80px 0 41px; }

  .visual {
    padding: 0;
    min-height: 0; }
    .visual .text-block {
      padding: 70px 0 130px; }
  .visual h1 {
    font-size: 4rem; }

  .area {
    padding: 40px 0 47px; }

  .text-box {
    font-size: 1.6rem;
    line-height: 1.625;
    padding-bottom: 13px; }

  .main .text-box p {
    margin: 0 0 33px; }

  .text-box h2 {
    font-size: 3.4rem;
    line-height: 1.45; }

  .visual-list {
    margin: 0;
    padding: 28px 0 0 15px; }
    .visual-list .img-holder {
      width: 120px;
      margin: 7px 20px 0 0; }
    .visual-list li {
      padding: 0 0 19px; }

  .slide-holder {
    padding: 0;
    margin: 0 0 -130px;
    text-align: center; }

  .slide-holder .img-slide img {
    position: relative;
    left: -3px; }

  .area h2 {
    text-align: center;
    font-size: 3.6rem;
    line-height: 1.25; }

  .footer-holder {
    padding: 47px 19px 70px; }
    .footer-holder:before {
      left: 0;
      right: 0; }

  .footer-holder .logo + p {
    margin: 0 0 29px; }

  .footer-holder ul {
    margin: 0 0 26px; }

    .footer-holder .text-holder {
      padding: 0; }

  .footer-holder address {
    margin: -3px 0 29px; }

}
@media only screen and (max-width: 479px) {
  body {
    min-width: 320px; }

  #header > .container {
    padding: 10px 0 0; }

  #header .btn {
    height: 30px;
    margin: 8px 0 0;
    font-size: 1.2rem;
    line-height: 20px;
    padding: 3px 20px;
    min-width: 0; }
  #header .logo {
    margin: 4px 0 10px 10px;
    width: 130px; }

  .opener-holder {
    margin: 4px 10px;
    padding: 0 0 0 10px; }

  .visual > .container {
      font-size: 1.6rem;
      line-height: 1.5; }

  .visual h1 {
    margin: 0 0 20px;
    font-size: 2.6rem;
    line-height: 1.5; }

  .visual p.tagline {
    font-size: 1.4rem;
    line-height: 1.85;
    text-align: left; }

  .visual .text-block {
    padding: 40px 5px 100px; }

  #nav .nav-drop > ul li.active:before {
    top: 15px;
    bottom: 15px; }

  .area, .main {
    padding: 40px 0; }

  #cta {
    margin: -61px 0 0; }
    #cta .btn {
      margin: 0 0 12px;
      height: 42px;
      font-size: 1.4rem;
      line-height: 20px;
      padding: 10px 30px;
      min-width: 0; }

  .text-box {
    font-size: 1.5rem;
    line-height: 1.85; }
    .text-box h2 {
      font-size: 2.4rem;
      line-height: 1.5; }

  .area h2 {
    margin: 0 0 20px;
    font-size: 2.8rem;
    line-height: 1.25; }

  .visual-list {
    padding: 20px 0 0; }
    .visual-list .img-holder {
      margin: 0 10px 0 0; }
    .visual-list .text-holder {
      overflow: visible; }

  .slide-holder {
    margin: 0 0 -80px; }
    .slide-holder .img-slide img {
      height: 416px;
      width: auto; }

  .footer-holder {
    padding: 30px 0; }

}



/* ==========================================================
   会社サイト用 追加スタイル
   ========================================================== */

/* Bootstrapのパープル系をキーカラーで上書き */
a {
  color: var(--primary-color); }
  a:hover, a:focus {
    color: var(--primary-color-dark); }

.text-primary {
  color: var(--primary-color); }

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color); }
  .btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark); }

/* 固定ヘッダー分、アンカー移動位置を調整（PCのみヘッダー固定） */
@media only screen and (min-width: 993px) {
  html {
    scroll-padding-top: 104px; } }

/* テキストロゴ（ロゴ画像確定までの仮） */
.logo-text {
  display: block;
  font-size: 2.4rem;
  line-height: 41px;
  font-weight: bold;
  white-space: nowrap;
  color: var(--color-heading); }
  .logo-text:hover, .logo-text:focus {
    color: var(--primary-color);
    text-decoration: none; }

/* セクション小見出し */
.section-label {
  display: block;
  margin: 0 0 12px;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: bold;
  letter-spacing: .12em;
  color: var(--primary-color);
  text-align: center; }

#cta .btn {
  box-shadow: 0 8px 24px rgba(15, 26, 39, 0.25); }

/* サービス（元テンプレート構造） */
.area h2 .section-label {
  text-align: inherit; }

.visual-list .num {
  display: inline-block;
  margin: 0 10px 0 0;
  color: var(--primary-color); }

/* お問い合わせCTA */
.contact-area {
  padding: 90px 0;
  background: var(--color-cta-bg);
  color: #fff;
  text-align: center; }
  .contact-area h3 {
    margin: 0 0 24px;
    font-size: 3.2rem;
    line-height: 1.5;
    font-weight: bold;
    color: #fff; }
  .contact-area p {
    margin: 0 0 36px;
    font-size: 1.7rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88); }
  .contact-area .btn-contact {
    min-width: 280px;
    height: 58px;
    padding: 16px 40px;
    font-size: 1.8rem;
    line-height: 26px;
    font-weight: bold;
    background: #fff;
    border-color: #fff;
    color: var(--primary-color-dark); }
    .contact-area .btn-contact:hover, .contact-area .btn-contact:focus {
      background: var(--primary-color-pale);
      border-color: var(--primary-color-pale);
      color: var(--primary-color-dark); }

/* HubSpotフォーム設置エリア（埋め込み前は高さ0） */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left; }
  .contact-form:has(*) {
    margin-top: 48px;
    padding: 32px;
    background: #fff;
    border-radius: 6px;
    color: var(--color-text); }

/* フッター */
.footer-holder .company {
  display: block;
  margin: 0 0 6px;
  color: var(--color-heading); }

.footer-holder .copyright {
  margin: 30px 0 0;
  font-size: 1.2rem; }

@media only screen and (max-width: 992px) {
  .footer-holder .copyright {
    margin: 10px 0 0; } }

@media only screen and (max-width: 479px) {
  .contact-area {
    padding: 56px 0; }
    .contact-area h3 {
      font-size: 2.2rem; }
    .contact-area p {
      font-size: 1.5rem;
      text-align: left; }
    .contact-area .btn-contact {
      min-width: 0;
      width: 100%;
      max-width: 320px; } }

/* サービス右側画像は元テンプレート通り下へはみ出す（タブレット・スマホ時）ため、直後のCTAに余白を確保 */
@media only screen and (max-width: 992px) {
  .area + .contact-area {
    padding-top: 220px; } }

@media only screen and (max-width: 479px) {
  .area + .contact-area {
    padding-top: 136px; } }

/* ==========================================================
   Hero写真（images/kv02.jpg。表示位置のみ調整）
   ========================================================== */
.visual .hero-photo {
  background-color: var(--color-hero-bg);
  background-image: url(../images/kv02.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 35%; }

@media only screen and (max-width: 479px) {
  .visual .hero-photo {
    background-position: 24% 30%; } }

/* ==========================================================
   私たちについて（左：テキスト／右：画像）
   ========================================================== */
.about-box {
  padding: 20px 0 30px;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1.95; }
  .about-box .section-label {
    text-align: left; }
  .about-box h2 {
    margin: 0 0 32px;
    font-size: 3.6rem;
    line-height: 1.5;
    font-weight: bold;
    color: var(--color-heading); }
  .about-box p {
    margin: 0 0 20px; }
    .about-box p:last-child {
      margin-bottom: 0; }

.about-img {
  padding: 20px 0 30px 30px; }
  .about-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 6px; }

@media only screen and (min-width: 993px) {
  .about-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; }
    .about-row:before, .about-row:after {
      display: none; } }

@media only screen and (max-width: 992px) {
  .about-box {
    padding: 10px 15px 0; }
    .about-box h2 {
      font-size: 3rem; }
  .about-img {
    padding: 36px 15px 20px; } }

@media only screen and (max-width: 479px) {
  .about-box {
    padding: 0;
    font-size: 1.5rem;
    line-height: 1.9; }
    .about-box h2 {
      margin: 0 0 24px;
      font-size: 2.4rem; }
  .about-img {
    padding: 30px 0 10px; } }

/* ==========================================================
   サービス：文字サイズ（各+1px）と補足リスト
   ========================================================== */
.visual-list h3 {
  font-size: 1.7rem; }

.visual-list p {
  font-size: 1.4rem; }

.visual-list .points {
  margin: -8px 0 21px;
  padding: 0;
  list-style: none;
  font-size: 1.4rem;
  line-height: 1.7; }
  .visual-list .points li {
    position: relative;
    padding: 0 0 2px 14px; }
    .visual-list .points li:before {
      content: '';
      position: absolute;
      top: .7em;
      left: 2px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--primary-color); }

/* サービス：PC時のみ左カラム（01〜03）を60px広げ、右側（見出し・画像）を60px右へ */
@media only screen and (min-width: 993px) {
  #services .col-md-5 {
    width: calc(41.66667% + 60px); }
  #services .col-md-7 {
    width: calc(58.33333% - 60px); } }

/* サービス：PC時のみ左カラムの文字をひとまわり拡大 */
@media only screen and (min-width: 993px) {
  .visual-list h3 {
    font-size: 1.9rem; }
  .visual-list p,
  .visual-list .points {
    font-size: 1.5rem; } }

/* ==========================================================
   私たちについて：PC時は左右反転（左：画像／右：テキスト）。間隔30pxは維持、スマホはテキスト→画像のまま
   ========================================================== */
.about-img img {
  aspect-ratio: auto; }

@media only screen and (min-width: 993px) {
  .about-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse; }
  .about-img {
    padding: 20px 30px 30px 0; } }

/* ==========================================================
   サービス：右側写真（列幅に合わせて表示）
   ========================================================== */
.slide-holder .img-slide img {
  left: 0;
  width: 100%;
  height: auto;
  border-radius: 6px; }

@media only screen and (max-width: 479px) {
  .slide-holder .img-slide img {
    width: 100%;
    height: auto; } }

/* ==========================================================
   サービス：スマホ時はアイコン中央・テキストは下に配置
   ========================================================== */
@media only screen and (max-width: 767px) {
  .visual-list .img-holder {
    float: none;
    width: auto;
    margin: 0 0 16px;
    text-align: center; }
  .visual-list .text-holder {
    overflow: visible; } }

/* ==========================================================
   サービス：PC時のみ右カラム写真を元のサイズ（1184×624）・右へはみ出す形に
   ========================================================== */
@media only screen and (min-width: 993px) {
  .slide-holder .img-slide img {
    left: -20px;
    width: 1184px;
    max-width: none;
    height: 624px;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: 50% 40%; } }

/* ==========================================================
   スマホ・タブレットもヘッダー固定
   ========================================================== */
@media only screen and (max-width: 992px) {
  #header {
    position: fixed; }
  .visual {
    padding-top: 105px; }
  html {
    scroll-padding-top: 105px; } }

@media only screen and (max-width: 479px) {
  .visual {
    padding-top: 65px; }
  html {
    scroll-padding-top: 65px; } }

/* ==========================================================
   フッター：ロゴ／会社名／住所／説明文を縦に配置
   ========================================================== */
.footer-holder .footer-info .logo {
  margin: 0 0 14px; }
.footer-holder .footer-info .company {
  margin: 0 0 2px; }
.footer-holder .footer-info address {
  margin: 0 0 14px; }
.footer-holder .footer-info p {
  margin: 0;
  line-height: 1.6428571429; }

/* サービス見出し「解決できること」：私たちについての見出しと同じ色に */
#services h2.text-primary {
  color: var(--color-heading); }

/* ==========================================================
   フッター：プライバシーポリシーリンク
   ========================================================== */
.footer-holder .footer-links {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.6; }
  .footer-holder .footer-links li {
    display: inline-block;
    margin: 0 20px 0 0; }
  .footer-holder .footer-links a {
    color: #777777;
    text-decoration: underline; }
    .footer-holder .footer-links a:hover {
      color: var(--primary-color); }

@media only screen and (max-width: 992px) {
  .footer-holder .footer-links {
    margin: 20px 0 0; } }

/* ==========================================================
   下層ページ（/privacy/ ・ /contact/）
   ========================================================== */
.page-main {
  padding: 104px 0 0;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1.9; }

.page-head {
  padding: 40px 0 56px;
  background: var(--primary-color-pale); }
  .page-head .breadcrumb {
    margin: 0 0 28px;
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 1.3rem;
    line-height: 1.6; }
    .page-head .breadcrumb > li + li:before {
      content: "\003e";
      padding: 0 10px;
      color: #999; }
    .page-head .breadcrumb > .active {
      color: var(--color-text); }
  .page-head .section-label {
    text-align: left; }
  .page-head h1 {
    margin: 0;
    font-size: 3.6rem;
    line-height: 1.45;
    font-weight: bold;
    color: var(--color-heading); }

.page-body {
  max-width: 880px;
  padding: 64px 0 100px; }
  .page-body h2 {
    margin: 56px 0 16px;
    padding: 0 0 10px;
    font-size: 2.2rem;
    line-height: 1.5;
    font-weight: bold;
    color: var(--color-heading);
    border-bottom: 1px solid #e3e8f2; }
  .page-body h3 {
    margin: 40px 0 12px;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: bold;
    color: var(--color-heading); }
  .page-body p {
    margin: 0 0 16px; }
  .page-body ul {
    margin: 0 0 16px;
    padding: 0 0 0 1.4em; }
    .page-body ul li {
      margin: 0 0 4px; }
  .page-body address {
    margin: 0 0 16px;
    font-style: normal; }
  .page-body .lead {
    margin: 0 0 8px;
    font-size: 1.6rem;
    line-height: 1.9; }
  .page-body .policy-date {
    margin: 48px 0 0;
    text-align: right; }

/* お問い合わせページ */
.contact-page .page-body {
  max-width: 800px; }
.contact-page .contact-lead {
  margin: 0 0 40px; }
.contact-form-wrap {
  min-height: 120px;
  padding: 40px;
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 6px; }
  /* ローカル確認用ダミー表示：HubSpotコードを貼ると自動で消える */
  .contact-form-wrap:not(:has(*)) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 320px;
    background: #f7f9fc;
    border-style: dashed; }
    .contact-form-wrap:not(:has(*)):before {
      content: "お問い合わせフォーム準備中";
      color: #999;
      font-size: 1.5rem; }
.contact-form-note {
  margin: 24px 0 0;
  font-size: 1.4rem;
  line-height: 1.8; }
  .contact-form-note p {
    margin: 0; }

@media only screen and (max-width: 992px) {
  .page-main {
    padding-top: 105px; }
  .page-head {
    padding: 32px 15px 44px; }
    .page-head h1 {
      font-size: 3rem; }
  .page-body {
    padding: 48px 15px 80px; } }

@media only screen and (max-width: 479px) {
  .page-main {
    padding-top: 65px;
    font-size: 1.5rem; }
  .page-head {
    padding: 24px 0 32px; }
    .page-head .breadcrumb {
      margin: 0 0 20px; }
    .page-head h1 {
      font-size: 2.4rem; }
  .page-body {
    padding: 36px 0 64px; }
    .page-body h2 {
      margin: 44px 0 14px;
      font-size: 1.9rem; }
    .page-body .lead {
      font-size: 1.5rem; }
  .contact-form-wrap {
    padding: 24px 16px; }
    .contact-form-wrap:not(:has(*)) {
      min-height: 240px; }
  .contact-form-note {
    font-size: 1.3rem; } }

/* お問い合わせ：HubSpotフォーム設置後、スマホでは外枠の余白をなくす（フォーム側の余白と二重になるため） */
@media only screen and (max-width: 479px) {
  .contact-form-wrap:has(*) {
    padding: 0; } }

/* Hero文字：白＋うっすら影で視認性を確保 */
.visual h1,
.visual p.tagline {
  text-shadow: 0 1px 3px rgba(10, 22, 48, 0.35), 0 0 14px rgba(10, 22, 48, 0.35); }

/* ==========================================================
   スマホ調整：ヘッダーボタン文字の上下中央／Hero下の余白／サービス見出し中央寄せ
   ========================================================== */
@media only screen and (max-width: 479px) {
  #header .btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1; }
  #cta {
    margin-bottom: 32px; } }

@media only screen and (max-width: 767px) {
  .visual-list h3 {
    text-align: center; } }
