@charset "UTF-8";

/* =========================================================
 * 1. LAYOUT GRIDS (2026年度固有のグリッドシステム)
 * ========================================================= */
.data_container__2026 {
  display: grid;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .data_container__2026 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  /* 学生時代の経験エリア配置 */
  .data_container__2026--experience {
    grid-template-areas:
      "area1 area2"
      "area3 area4"
      "area5 area5";
  }
  
  /* プライベートエリア配置 */
  .data_container__2026--private {
    grid-template-areas:
      "area6 area6"
      "area7 area7"
      "area8 area8";
  }

  .data_container__2026 .area_01 {
    grid-area: area1;
  }
  .data_container__2026 .area_01 .data_title {
    border-left: 20px solid var(--color-sparkle-lightblue);
  }
  .data_container__2026 .area_01 .data_img img {
    width: 64%;
  }

  .data_container__2026 .area_02 {
    grid-area: area2;
  }
  .data_container__2026 .area_02 .data_title {
    border-left: 20px solid var(--color-sparkle-orange);
  }
  .data_container__2026 .area_02 .data_img img {
    width: 40%;
  }

  .data_container__2026 .area_03 {
    grid-area: area3;
  }
  .data_container__2026 .area_03 .data_title {
    border-left: 20px solid var(--color-sparkle-coralpink);
  }
  .data_container__2026 .area_03 .data_img img {
    width: 40%;
  }

  .data_container__2026 .area_04 {
    grid-area: area4;
  }
  .data_container__2026 .area_04 img {
    min-height: 100%;
    max-height: 300px;
  }

  .data_container__2026 .area_05 {
    grid-area: area5;
  }
  .data_container__2026 .area_05 .data_title {
    border-left: 20px solid var(--color-sparkle-yellow);
  }

  .data_container__2026 .area_06 {
    grid-area: area6;
  }
  .data_container__2026 .area_06 .data_title {
    border-left: 20px solid var(--color-sparkle-green);
  }

  .data_container__2026 .area_07 {
    grid-area: area7;
  }
  .data_container__2026 .area_07 .data_title {
    border-left: 20px solid var(--color-sparkle-pink);
  }

  .data_container__2026 .area_08 {
    grid-area: area8;
  }
  .data_container__2026 .area_08 .data_title {
    border-left: 20px solid var(--color-sparkle-red);
  }
}

@media screen and (max-width: 767px) {
  .data_container__2026 {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .data_container__2026 .area_01 .data_title {
    border-left: 14px solid var(--color-sparkle-lightblue);
  }
  .data_container__2026 .area_01 .data_img img {
    width: 86%;
  }
  .data_container__2026 .area_02 .data_title {
    border-left: 14px solid var(--color-sparkle-orange);
  }
  .data_container__2026 .area_02 .data_img img {
    width: 60%;
  }
  .data_container__2026 .area_03 .data_title {
    border-left: 14px solid var(--color-sparkle-coralpink);
  }
  .data_container__2026 .area_03 .data_img img {
    width: 60%;
  }
  .data_container__2026 .area_05 .data_title {
    border-left: 14px solid var(--color-sparkle-yellow);
  }
  .data_container__2026 .area_06 .data_title {
    border-left: 14px solid var(--color-sparkle-green);
  }
  .data_container__2026 .area_07 .data_title {
    border-left: 14px solid var(--color-sparkle-pink);
  }
  .data_container__2026 .area_08 .data_title {
    border-left: 14px solid var(--color-sparkle-red);
  }
}

.data_container__2026 .area_04 img {
  border-radius: 30px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


/* =========================================================
 * 2. HOT TOPICS (学生時代に熱中していたこと)
 * ========================================================= */
.hot_topics_container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 960px;
  margin: 30px auto 0;
  padding: 0 24px;
}

.hot_topic_row {
  display: flex;
  width: 100%;
  gap: 2px;
}

.hot_topic_category {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  min-height: 80px;
  background-color: var(--color-bg-white);
  border-radius: 12px 0 0 12px;
  flex-shrink: 0;
}

.hot_topic_category .category_name {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.5;
  text-align: center;
}

.hot_topic_category .rank_badge {
  position: absolute;
  top: 0;
  left: 16px;
  width: 34px;
  height: 48px;
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  line-height: 1.5;
  padding-top: 5px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}

.rank-1 .rank_badge { background-color: var(--color-sparkle-yellow); }
.rank-2 .rank_badge { background-color: #c3c3c3; }
.rank-3 .rank_badge { background-color: #cb8c56; }

.hot_topic_comments {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  background-color: var(--color-bg-white);
  border-radius: 0 12px 12px 0;
}

.hot_topic_comments .comment_item {
  padding: 16px 24px;
  font-size: 1.4rem;
  line-height: 2;
  text-align: justify;
}

.hot_topic_comments .comment_item + .comment_item {
  border-top: 1px solid var(--color-border-beige);
}

@media screen and (max-width: 767px) {
  .hot_topics_container {
    gap: 16px;
    margin: 24px 0 0 0;
    padding: 0 20px;
  }
  .hot_topic_row {
    flex-direction: column;
    gap: 2px;
  }
  .hot_topic_category {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding-left: 60px;
    border-radius: 12px 12px 0 0;
  }
  .hot_topic_category .category_name {
    font-size: 1.6rem;
    text-align: left;
  }
  .hot_topic_category .category_name br {
    display: none;
  }
  .hot_topic_category .rank_badge {
    width: 28px;
    height: 40px;
    font-size: 1.8rem;
  }
  .hot_topic_comments {
    width: 100%;
    border-radius: 0 0 12px 12px;
  }
  .hot_topic_comments .comment_item {
    padding: 12px 18px;
    font-size: 1.4rem;
  }
}


/* =========================================================
 * 3. INDOOR VS OUTDOOR (インドア派VSアウトドア派)
 * ========================================================= */
/* --- 3-A. ベース（PC基準）スタイル --- */
.inout_container {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  width: 100%;
  max-width: 960px;
  margin: 10px auto 0;
  padding: 0 24px;
}

.inout_col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inout_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.inout_header .inout_label {
  font-weight: 700;
  margin: 0 8px 4px 0;
}

.inout_header .inout_ratio {
  font-family: brother-1816, sans-serif;
  font-weight: 600;
  line-height: 1;
}

.inout_header .inout_ratio .percent {
  font-size: 3rem;
  font-weight: 700;
  margin-left: 2px;
}

.indoor .inout_label,
.indoor .inout_ratio {
  color: var(--color-sparkle-green);
}
.outdoor .inout_label,
.outdoor .inout_ratio {
  color: var(--color-sparkle-darkgreen);
}

.inout_card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-white);
  border-radius: 100px 100px 0px 0px;
  overflow: hidden;
  padding: 60px 37px 0;
}

.inout_list {
  padding: 0;
  margin: 0 0 10px;
}

.inout_list li {
  position: relative;
  padding-left: 1.4em;
  font-size: 1.4rem;
  line-height: 2;
  text-align: justify;
  list-style: none;
  margin-bottom: 1.2em;
}

.inout_list li:last-child {
  margin-bottom: 0;
}

.inout_list li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: var(--color-dot-gray);
  border-radius: 50%;
}

.inout_img {
  margin-top: auto;
  width: calc(100% + 70px);
  margin-left: -35px;
  line-height: 0;
}

.inout_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* --- 3-B. PC表示時のフォントサイズ調整のみ --- */
@media screen and (min-width: 768px) {
  .inout_header .inout_label {
    font-size: 2.3rem;
  }
  .inout_header .inout_ratio {
    font-size: 6.4rem;
  }
}

/* --- 3-C. スマホ表示時の上書き（最下部に配置することで確実に優先適用） --- */
@media screen and (max-width: 767px) {
  .inout_container {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
    margin: 24px auto 0;
  }
  .inout_col {
    width: 100%;
  }
  .inout_header {
    margin-bottom: -16px;
  }
  .inout_header .inout_label {
    font-size: 2.0rem;
  }
  .inout_header .inout_ratio {
    font-size: 4.8rem;
  }
  .inout_card {
    border-radius: 60px 60px 0px 0px;
    padding: 40px 20px 0;
  }
  .inout_img {
    width: calc(100% + 48px);
    margin-left: -24px;
  }
}


/* =========================================================
 * 4. PHOTO RANKING (スマホの一番多い写真の種類ランキング)
 * ========================================================= */
.photo_ranking_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 960px;
  margin: 30px auto 0;
  padding: 0 24px;
}

.ranking_item {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ranking_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: var(--color-bg-white);
}

.ranking_header .rank_label {
  font-weight: 600;
  font-size: 2rem;
}

.ranking_header .rank_icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.95;
}

.ranking_body {
  background-color: var(--color-bg-white);
  padding: 18px 24px;
  border-radius: 0 0 12px 12px;
}

.ranking_list {
  padding: 0;
  margin: 0;
}

.ranking_list li {
  position: relative;
  padding-left: 1.4em;
  font-size: 1.4rem;
  line-height: 2;
  text-align: justify;
  list-style: none;
  margin-bottom: 0.8em;
}

.ranking_list li:last-child {
  margin-bottom: 0;
}

.ranking_list li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: var(--color-dot-gray);
  border-radius: 50%;
}

.ranking_item.header-only {
  border-radius: 12px;
}

.rank-food .ranking_header { background-color: var(--color-sparkle-pink); }
.rank-friends .ranking_header { background-color: var(--color-sparkle-lightpurple); }
.rank-landscape .ranking_header { background-color: var(--color-sparkle-purple); }
.rank-screenshot .ranking_header { background-color: #8495E0; }
.rank-oshi .ranking_header { background-color: var(--color-sparkle-lightblue); }

.sub_ranks_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .photo_ranking_container {
    margin: 24px auto 0;
    padding: 0 20px;
  }
  .ranking_item {
    margin-bottom: 16px;
  }
  .ranking_header .rank_label {
    font-size: 1.6rem;
  }
  .ranking_header .rank_icon {
    width: 24px;
    height: 24px;
  }
  .ranking_body {
    padding: 14px 18px;
  }
  .sub_ranks_wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}


/* =========================================================
 * 5. CONSTITUENT BUBBLES (自分を構成する3つの要素)
 * ========================================================= */
.bubbles_container {
  width: 100%;
  max-width: 960px;
  margin: 30px auto 0;
  padding: 0 24px;
}

.bubbles_intro {
  font-size: 2rem;
  line-height: 2;
  text-align: center;
}

.bubbles_intro b {
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .bubbles_wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 1 / 1.15;
  }
  
  .bubble_item {
    position: absolute;
    opacity: 0;
    transform: scale(1) translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .bubble_item.is-animated {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  
  /* 13個の吹き出し個別座標設定（PC版） */
  .bubble_01 { top: 5%; left: 38%; width: 22%; }
  .bubble_02 { top: 15%; left: 12%; width: 22%; }
  .bubble_03 { top: 21%; left: 35%; width: 31%; }
  .bubble_04 { top: 13%; left: 66%; width: 20%; }
  .bubble_05 { top: 35%; left: 11%; width: 23%; }
  .bubble_06 { top: 41%; left: 39%; width: 26%; }
  .bubble_07 { top: 32%; left: 68%; width: 22%; }
  .bubble_08 { top: 53%; left: 13%; width: 22%; }
  .bubble_09 { top: 60%; left: 39%; width: 22%; }
  .bubble_10 { top: 51%; left: 68%; width: 20%; }
  .bubble_11 { top: 69%; left: 15%; width: 21%; }
  .bubble_12 { top: 68%; left: 65%; width: 22%; }
  .bubble_13 { top: 78%; left: 35%; width: 29%; }
}

@media screen and (max-width: 767px) {
  .bubbles_container {
    padding: 0 20px;
  }
  .bubbles_intro {
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 40px;
  }
  .bubbles_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 12px;
    height: auto;
    aspect-ratio: auto;
  }
  .bubble_item {
    position: static !important;
  }
  .pos-left {
    grid-column: 1;
  }
  .pos-right {
    grid-column: 2;
    margin-top: 40px;
  }
  .pos-center {
    grid-column: 1 / -1;
    justify-self: center;
    width: 62% !important;
  }
  .bubble_03 {
    width: 130%;
    margin: -10px 0 0 -12px;
  }
  .bubble_04 {
    width: 93%;
    margin-left: 15px;
  }
  .bubble_05 {
    width: 106%;
    margin-left: -6px;
  }
  .bubble_06 {
    width: 106%;
  }
  .bubble_10 {
    width: 94%;
    margin-left: 7px;
  }
}

.bubble_item img {
  width: 100%;
  height: auto;
  display: block;
}
