@charset "UTF-8";
/* =========================================================
   新トップページ（テスト版 /front-test/）
   page-front-test.php 専用。function_modules/front-test_assets.php で読み込み
   ※ html { font-size: 62.5% } のため 1rem = 10px
   ※ 寸法はデザインの等倍アートボード（PC 1500px / SP 375px）から採寸
   ※ FV の基本スタイルは styles.css のティザー用（.fv-section 等）を流用し、ここでは差分だけ上書き
========================================================= */

.ft {
  --ft-green: #00c300;      /* サービスアイコンの円 */
  --ft-green-bg: #dcf4df;   /* サービスエリア背景（既存 .topStart と同色） */
  --ft-red: #e60012;        /* NEW の帯 */
  --ft-text: #000;
}

/* =========================================================
   FV（ティザーとの差分）
   - 高さ：画面いっぱい → PC・SP とも 700px 固定
   - SCROLL 誘導なし
========================================================= */
.ft .fv-section {
  min-height: 0;
  height: 700px;
  align-items: flex-start; /* 中央寄せではなく、デザインの位置に上から積む */
}
.ft .fv-content {
  padding: 46px 40px 0; /* 700px に収めるため、デザインより余白を詰めている */
}
.ft .fv-catchphrase {
  font-size: 48px !important;
  margin: 0 0 44px !important;
}
/* 1行目の下線（デザインの白いライン） */
.ft .ftCatchLine {
  display: inline-block;
  font-style: normal;
  color: inherit;
  line-height: 1.2;
  letter-spacing: 0.28em; /* デザイン（Noto Sans）の文字幅に合わせる */
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}
.ft .fv-catchphrase span {
  margin-top: 26px;
  letter-spacing: 0.18em !important;
}
.ft .fv-icons {
  margin-bottom: 14px !important;
}
.ft .fv-icons-txt {
  font-size: 14px;
}
.ft .fv-subtext {
  font-size: 19px !important;
  line-height: 1.8 !important;
  margin-bottom: 28px !important;
}
.ft .fv-release {
  margin-top: 0;
}
.ft .release-svg-title {
  margin-bottom: 12px;
}
.ft .release-svg-date {
  width: 700px;
}

/* view more（ティザーへのリンク）：白枠のピル型。ホバーで白く塗りつぶし、矢印が伸びる */
.ft .ftFvMore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 0 30px 0 36px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(120, 140, 255, 0.35);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.ft .ftFvMoreTxt {
  font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1;
}
.ft .ftFvMoreArrow {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}
.ft .ftFvMoreArrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: rotate(35deg);
  transform-origin: right center;
}
.ft .ftFvMore:hover {
  background: #fff;
  color: #1a1660;
  text-decoration: none;
  box-shadow: 0 0 26px rgba(160, 175, 255, 0.7);
}
.ft .ftFvMore:hover .ftFvMoreArrow {
  width: 48px;
}

/* =========================================================
   ACCSのサービス（緑背景エリア：サービス一覧＋ご検討中／ご利用中）
========================================================= */
.ftServiceArea {
  background: var(--ft-green-bg);
  padding: 53px 0 50px;
  margin-bottom: 60px;
}
.ftService {
  width: 1200px;
  margin: 0 auto;
}
.ftService h2.topSectionTit {
  color: #3e3a39;
  letter-spacing: 0.3em;
  margin: 0 0 44px;
}
.ftService h2.topSectionTit span::after {
  margin: 23px auto 0;
}

/* --- カード一覧：PC は上段 4 枚・下段 3 枚 --- */
.ftServiceList {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ftSvc {
  grid-column: span 3;
  margin: 0;
}
.ftSvc--row,
.ftSvc--wide {
  grid-column: span 4;
}
.ftSvc a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 204px;
  padding-top: 46px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
  color: var(--ft-text);
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ftSvc a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.ftSvcIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--ft-green);
}
.ftSvcIcon img {
  width: 60px;
  height: 60px;
  display: block;
}
.ftSvcName {
  margin-top: 14px;
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.4;
  color: var(--ft-text);
}

/* 下段（でんき・防犯カメラ・コミュニティチャンネル）はアイコン左・文字右 */
.ftSvc--row a,
.ftSvc--wide a {
  flex-direction: row;
  height: 124px;
  padding: 0 0 0 67px;
}
.ftSvc--wide a {
  justify-content: center;
  padding: 0;
}
.ftSvc--row .ftSvcName,
.ftSvc--wide .ftSvcName {
  margin: 0 0 0 24px;
  letter-spacing: 0.1em;
}

/* NEW の帯（左上の斜め帯）
   デザインどおりカードの角丸に切られず、カードの外へ 3px はみ出した位置で水平・垂直にカットする。
   外側の .ftSvcNew が切り抜き枠、内側の span が回転した帯 */
.ftSvcNew {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 110px;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.ftSvcNew span {
  position: absolute;
  top: 13px;
  left: -31px;
  width: 140px;
  height: 28px;
  background: var(--ft-red);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  transform: rotate(-34.5deg);
}

/* 「各種手続き」は SP だけ「サポート」表記（b タグで PC/SP を出し分け） */
.tsSupport b {
  font-weight: inherit;
}


/* =========================================================
   ご検討中／ご利用中（既存 .topStart を緑エリア内に収める）
========================================================= */
.ftServiceArea .topStart {
  background: none;
  padding: 28px 0 0;
  margin: 0;
}

/* =========================================================
   SP（767px 以下 / アートボード 375px）
========================================================= */
@media screen and (max-width: 767px) {
  .ft .fv-section {
    min-height: 0;
    height: 700px;
  }
  .ft .fv-content {
    padding: 82px 15px 0 !important; /* view more ボタン分、デザインより 30px 上げている */
  }
  .ft .fv-catchphrase {
    font-size: 30px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 60px !important;
  }
  .ft .ftCatchLine {
    border-bottom-width: 1px;
    letter-spacing: 0.2em;
  }
  .ft .fv-catchphrase span {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.65;
    letter-spacing: 0.1em !important;
    margin-top: 19px;
  }
  .ft .icon-unit {
    width: 58px !important;
  }
  .ft .fv-icons {
    gap: 8px !important;
    margin-bottom: 19px !important;
  }
  .ft .fv-icons-txt {
    font-size: 10px;
    white-space: nowrap;
  }
  .ft .fv-subtext {
    font-size: 14px !important;
    line-height: 1.75 !important;
    margin: 0 auto 35px !important;
  }
  /* NEW SERVICE RELEASE / 2027 COMING SOON は左寄せ */
  .ft .fv-release {
    align-items: flex-start;
    width: 100%;
    padding-left: 5px;
  }
  .ft .release-svg-title {
    width: 330px !important;
    max-width: 100% !important;
    margin: 0 0 13px !important;
  }
  .ft .release-svg-date {
    width: 340px !important; /* SVG 内に余白があるため、文字幅がデザインの約 250px になる幅 */
    max-width: 100% !important;
  }
  .ft .release-svg-title img,
  .ft .release-svg-date img {
    margin: 0;
  }
  .ft .ftFvMore {
    margin-top: 16px;
    height: 40px;
    padding: 0 22px 0 26px;
    gap: 10px;
  }
  .ft .ftFvMoreTxt {
    font-size: 1.3rem;
  }
  .ft .ftFvMoreArrow {
    width: 26px;
  }

  /* 重要なお知らせ（SP はピンクの角丸ボックス） */
  .ft .hTrouble {
    padding: 12px 15px;
  }
  .ft .hTroubleInner {
    padding: 12px 14px;
    font-size: 1.3rem;
    line-height: 1.6;
  }
  .ft .troubleTit {
    margin-bottom: 4px;
  }
  .ft .troubleTit span {
    font-size: 1.3rem;
    font-weight: bold;
  }
  .ft .troubleTit svg,
  .ft .troubleTit i {
    display: none;
  }
  .ft li.troubleTxt time {
    font-size: 1.3rem;
    font-weight: bold;
  }

  /* デザインに無い「新規申し込み・資料請求」の帯は非表示 */
  .ftServiceArea .topStartInnerSp {
    display: none !important; /* 共通の .dispSp が !important のため */
  }

  .ftServiceArea {
    padding: 12px 15px 34px;
    margin-bottom: 40px;
  }
  .ftService {
    width: auto;
  }
  .ftService h2.topSectionTit {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .ftService h2.topSectionTit span::after {
    margin-top: 14px;
  }

  /* SP は 2 列。並び順：TV・ネット／スマホ・でんき／防犯・固定電話／コミュニティ */
  .ftServiceList {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }
  .ftSvc,
  .ftSvc--row {
    grid-column: span 1;
  }
  .ftSvc--wide {
    grid-column: span 2;
  }
  .ftSvcTv { order: 1; }
  .ftSvcNet { order: 2; }
  .ftSvcMobile { order: 3; }
  .ftSvcDenki { order: 4; }
  .ftSvcSecurity { order: 5; }
  .ftSvcTel { order: 6; }
  .ftSvcCommunity { order: 7; }

  .ftSvc a,
  .ftSvc--row a {
    flex-direction: column;
    height: 132px;
    padding: 24px 0 0;
  }
  .ftSvc--wide a {
    flex-direction: row;
    height: 94px;
    padding: 0;
  }
  .ftSvcIcon {
    width: 62px;
    height: 62px;
  }
  .ftSvcIcon img {
    width: 44px;
    height: 44px;
  }
  .ftSvcName,
  .ftSvc--row .ftSvcName {
    margin: 10px 0 0;
    font-size: 1.4rem;
    letter-spacing: 0;
  }
  .ftSvc--wide .ftSvcName {
    margin: 0 0 0 22px;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
  }
  .ftSvcNew {
    width: 80px;
    height: 58px;
  }
  .ftSvcNew span {
    top: 10px;
    left: -22px;
    width: 100px;
    height: 20px;
    font-size: 1.3rem;
    line-height: 20px;
  }

  .ftServiceArea .topStart {
    padding: 22px 0 0;
  }

  /* FV が見えている間はフッターの固定CTAを隠す（スクロールで FV を抜けると表示） */
  .footerTel {
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }
  .ftFvVisible .footerTel {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
  }
}
