/* 移設元 https://okinawa-cellular.jp/about-us/allforfamily/ inline <style> block 3 から取り込み */
/* 注: 内部のコメントアウトブロックは移設元 inline style 内でも未使用の dead code
   (Reset & Base / .el_btn 旧版 / 旧 .bl_introItem__imgLink 等)。
   本プロジェクトでは /css/common.css の共通 reset が代替担当。移設元との対応関係追跡のため保持。 */
/* ==========================================================================
  1. Reset & Base
========================================================================== */
/*
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #333333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-size: 100%;
  font-weight: normal;
  margin: 0;
}
*/

/* ==========================================================================
  2. Utility / Variables
========================================================================== */
:root {
  --width-inner: 1080px;
  --space-sm: 36px;
  --space-md: 40px;
  --space-lg: 80px;
  --font-lg: 20px;
}

@media (min-width: 768px) {
  :root {
    --space-sm: 40px;
    --space-md: 80px;
    --space-lg: 120px;
    --font-lg: 24px;
  }
}

.ly_inner {
  width: 100%;
  max-width: var(--width-inner);
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* ==========================================================================
  3. Layout & Sections
========================================================================== */
.ly_main {
  width: 100%;
  padding-bottom: var(--space-lg);
  overflow: hidden;
}

.ly_section {
  width: 100%;
  margin-bottom: var(--space-lg);
}

.ly_section:last-child {
  margin-bottom: 0;
}

.ly_section--compact {
  margin-bottom: var(--space-md);
}

.el_sectionTitle {
  font-size: var(--font-lg);
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
  color: #000;
}

.ly_main img {
  height: auto;
}

@media print, screen and (min-width: 768px) {
  .el_sectionTitle {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
  4. Content Blocks
========================================================================== */

/* [1] Title Logo Area */
.bl_heroTitle {
  width: 627px;
  max-width: 80%;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;

  opacity: 0;
  animation: bl_heroTitle_fadeIn 1.5s ease-in 0s forwards;
}

@keyframes bl_heroTitle_fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.el_heroTitleLogo {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {
  .bl_heroTitle {
    padding: 160px 0;
  }
}
/* [2] Concept Message Area */
.bl_conceptMsg {
  width: 100%;
  padding: 0;
}

.bl_conceptMsg__inner {
  width: 100%;
}

.bl_conceptMsg__img {
  width: 100%;
  height: auto;
}

/* [3] TV CM Area */
.bl_tvCm {
  text-align: center;
  padding: 0;
}

.el_subText {
  display: block;
  margin-bottom: 30px;
  font-size: 12px;
  color: #000;
}

.bl_videoWrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.bl_videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media print, screen and (min-width: 768px) {
  .el_subText {
    font-size: 14px;
  }
}

/* [4] Net PR Logo Area */
.bl_prLogo {
  text-align: center;
  padding: 0;
  width: 100%;
  margin-bottom: 35px;
  overflow: hidden;
}

.el_prLogoImg {
  width: 300px;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {
  .bl_prLogo {
    margin-bottom: 120px;
  }

  .el_prLogoImg {
    width: 871px;
  }
}

/* [5] Introduction Area */
.bl_introList {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.bl_introItem {
  position: relative;
  width: 100%;
}

.bl_introItem__img {
  width: 100%;
}

.bl_introItem__img img {
  width: 100%;
  height: auto;
}

/* [6] Archive Area */
.bl_archive {
  text-align: center;
  padding: 40px 5%;
  width: 100%;
  background: #f50;
}

/*
.el_archiveImg {
  width: 100%;
  max-width: none;
  height: auto;
}
*/

.ly_archive_head img {
  width: 100%;
}

.ly_archive_head {
  position: relative;
}

.ly_archive_head_btn {
  position: absolute;
  bottom: 6.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 7.5%;
}

@media print, screen and (min-width: 768px) {
  .ly_archive_head_btn {
    bottom: 16%;
    left: auto;
    right: 13%;
    transform: translateX(0);
    width: 26.5%;
    height: 9%;
  }
}

/*
.el_btn{
  display: inline-block;
  width: 280px;
  max-width: 78%;
  border-radius: 30px;
  padding: 20px 30px;
  text-align: center;
  color: #000;
  text-decoration: none;
  transition: all .3s;
}

.el_btn.el_btn--arrow::after{
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 10px;
  background: url(/image/aff/allforfamily_icon_arrow.png) no-repeat 0 0/contain;
}

.el_btn:link{
  background: #fff;
  color: #000;
}

.el_btn:link:hover{
  opacity: .7;
}

.bl_introItem__imgLink{
  position: absolute;
  right: 11%;
  bottom: 7%;
  left: 11%;
  margin: auto;
}
*/

.el_btn {
  margin: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bl_introItem__imgLink {
  position: absolute;
  right: 10.4%;
  bottom: 7%;
  left: 10.4%;
  border-radius: 55px;
  height: 8%;
  bottom: 7.7%;
  max-width: none;
}

.bl_introItem__imgLink_pos02 {
  bottom: 4.3%;
  height: 8.8%;
}

.bl_archive .el_sectionTitle {
  margin-top: 30px;
  margin-bottom: 30px;
  color: #fff;
}

.bl_archive__content_imgWrap {
  padding: 50px 30px;
  border-radius: 0 0 15px 15px;
  background: #fff;
}

.bl_archive__content_imgWrap img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

a.bl_introItem__imgLink.bl_introItem__imgLink_pos03 {
  right: 12%;
  bottom: 26%;
}

@media print, screen and (min-width: 768px) {
  .bl_archive {
    padding: 100px 0 100px 5%;
  }

  .el_btn {
    font-size: 17px;
  }

  .bl_introItem__imgLink.bl_introItem__imgLink_pos02 {
    bottom: 14.6%;
  }

  .bl_introItem__imgLink {
    right: 12%;
    bottom: 15.3%;
    left: 62%;
  }

  .bl_archive__content_imgWrap {
    padding: 100px 30px;
    border-radius: 0 0 0 30px;
  }

  .bl_archive__content_imgWrap img {
    width: 350px;
  }
}

@media print, screen and (min-width: 1280px) {
  /* .bl_introItem__imgLink{
    bottom: 11%;
    width: 25%;
  } */

  .bl_archive__content_imgWrap {
    border-radius: 0 0 0 90px;
  }
}

/* [7] Instagram Area */
.bl_instagram {
  background: #fff;
}

.bl_instagram__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.el_icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("/about-us/allforfamily/image/kansyasai_ico_insta.png") no-repeat 0 0 / contain;
}

.bl_instagram__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl_instagram__content_imgWrap {
  padding: 0 30px;
  border-radius: 0 0 15px 15px;
  background: #fff;
}

@media print, screen and (min-width: 768px) {
  .bl_instagram__header {
    margin-bottom: 100px;
  }

  /* .bl_instagram__content_imgWrap{
    padding: 100px 30px;
  } */

  .bl_instagram__content_imgWrap img {
    width: 350px;
  }
}

@media (max-width: 768px) {
  a.bl_introItem__imgLink.bl_introItem__imgLink_pos03 {
    bottom: 13%;
  }
}

/* ==========================================================================
     8. 本プロジェクト共通 /common/css/app.css の .el_btn 汎用装飾を無効化
     ========================================================================== */
/* 本プロジェクトでは .el_btn が「青背景 + 水色枠線 + ::after で矢印アイコン (icon-circle-arrow.svg)」
     を持つ汎用ボタンとして広く使われている (common/css/app.css の specificity 0,1,0)。
     移設元の .el_btn は intro 画像内に焼き込まれたボタンデザイン上の透明クリック領域として使う
     意図で、本プロジェクト共通装飾と意味が異なる。
     dir02_allforfamily スコープ (specificity 0,2,0) で全プロパティを上書きして移設元意図を復元する。
     Why: 2026-05-12 dev 検証で .el_btn の rgb(0,64,152) 青背景と矢印アイコンが intro アンカーに
     当たり、移設元の透明クリック領域意図と異なる表示になっていた (TICKET-083 差し戻し)。 */
/* 共通 .el_btn の汎用装飾 (青背景 + 水色枠線 + シャドウ + 矢印 ::after) を完全に無効化。
     intro_01 / intro_02 のアンカーは画像内焼き込みボタン上の透明クリック領域として使う
     (移設元と同じ実装、HTML+CSS でのボタン再描画は二重表示になるため不採用)。 */
.dir02_allforfamily .el_btn,
.dir02_allforfamily .el_btn--arrow {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-width: 0;
  min-height: 0;
  font-weight: inherit;
  padding: 0;
  color: transparent;
}

.dir02_allforfamily .el_btn::after,
.dir02_allforfamily .el_btn--arrow::after {
  content: none;
  background: none;
}

/*----------------------------------------
  familystory
  移設元 /about-us/allforfamily/familystory/ の inline <style> から取り込み。
  .un_familystory スコープで他 allforfamily 配下 (top-aff) への副作用を防ぐ。
----------------------------------------*/

/* レイアウト */
.un_familystory .ly_centered {
  width: calc(100% - 40px);
  max-width: 1440px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .un_familystory .ly_centered {
    width: calc(100% - 80px);
  }
}

/* ブロック */
.un_familystory .bl_img {
  position: relative;
  display: block;
  width: 100%;
}
.un_familystory .bl_img__comingSoon {
  max-width: 270px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .un_familystory .bl_img__comingSoon {
    max-width: 365px;
  }
}

/* エレメント */
.un_familystory .el_lv2Heading {
  margin-bottom: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .un_familystory .el_lv2Heading {
    margin-bottom: 60px;
    font-size: 40px;
  }
}

.un_familystory .el_link_wrap {
  margin-top: 50px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .un_familystory .el_link_wrap {
    margin-top: 148px;
  }
}
.un_familystory .el_link {
  display: inline-block;
  text-decoration: underline;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .un_familystory .el_link {
    font-size: 20px;
  }
}

/* ユニーク */
.un_familystory {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  overflow: hidden;
}
.un_familystory img {
  display: block;
  width: 100%;
  height: 100%;
}

.un_familystory_main {
  padding: 35px 0 74px;
  background-color: #ff5500;
}
@media screen and (min-width: 768px) {
  .un_familystory_main {
    padding: 80px 0;
  }
}

.un_familystory_sub {
  position: relative;
  padding: 11.2vw 0 90px;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .un_familystory_sub {
    padding-bottom: 190px;
  }
}
.un_familystory_sub::after {
  content: "";
  display: block;
  position: absolute;
  top: -0.8vw;
  left: 0;
  width: calc(100% + 10px);
  height: 11.2vw;
  background: url("/about-us/allforfamily/image/deco_wavy.png") no-repeat center;
  background-size: 100% 100%;
}

.un_familystoryApply {
  padding-top: 35px;
}
@media screen and (min-width: 768px) {
  .un_familystoryApply {
    padding-top: 50px;
  }
}
.un_familystoryApply .bl_img {
  width: auto;
  margin-inline: -10px;
}
@media screen and (min-width: 768px) {
  .un_familystoryApply .bl_img {
    width: 100%;
    margin-inline: 0;
  }
}
.un_familystoryApply_btn {
  display: block;
  position: absolute;
  bottom: 9.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 8.5%;
}
@media screen and (min-width: 768px) {
  .un_familystoryApply_btn {
    bottom: 12.5%;
    left: auto;
    right: 27%;
    transform: translateX(0);
    width: 25.5%;
  }
}

.un_familystoryArchive {
  padding-top: 50px;
}

.bl_application-detail .el_ul > li {
  padding-left: 0;
}
.bl_application-detail .el_ul > li::before {
  content: none;
}

.bl_apply > a {
  display: inline-block;
}
