/*
 Theme Name:     シティーケーブル周南
 Description:    シティーケーブル周南の専用テーマ
 Version:        3.0.0
 */
/* 上書き */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline #0005;
}

/* トップページスタイル */
.global-header,
.floating-menu {
  transition: transform 0.4s cubic-bezier(0.15, 0.7, 0.33, 1);
}

/* 各セクションのスタイル */
.section-title {
  text-align: center;
}
.section-title h3 {
  font-size: var(--font-heading-1-size);
  font-weight: bold;
}
.section-title h3 .heading-keyword {
  color: var(--main-color);
}
.section-title p {
  margin-top: 15px;
  font-size: var(--font-heading-3-size);
  font-weight: bold;
}

/* MAINVISUAL */
.mv {
  display: grid;
  grid-template-columns: var(--logo-width) 1fr;
  padding-left: calc(
    var(--left-margin) + var(--padding)
  ); /* 1920px: MV最大幅, 128px */
  overflow: hidden;
}
.mv-title {
  margin: auto 0 70px;
  flex-direction: column;
  z-index: 1;
}
.mv-title-copy {
  width: 278px;
}
.mv-title-logo {
  margin-top: 40px;
  width: 330px;
}

/* PICKUP */
section#pickup {
  padding-left: calc(var(--left-margin) + var(--padding));
  padding: 0 240px;
}
section#pickup .container {
  margin: 0;
  padding-left: var(--logo-width);
}
.pickup-box {
  border-bottom: solid 1px var(--sub-color);
}
.pickup-title {
  margin-right: 35px;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--main-color);
}
.pickup-title-icon {
  align-items: center;
  justify-content: center;
}
.pickup-title-icon img {
  width: 60px;
}
.pickup-title h3 {
  line-height: 1;
  font-size: 13px;
}
.pickup-title h3 span {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 28px;
  font-weight: bold;
}

.pickup-list {
  flex: 1;
  margin: 20px 0 10px;
}
.pickup-item {
  padding: 18px 0;
  align-items: center;
}
.pickup-item:not(:first-child) {
  border-top: solid 1px var(--sub-color);
}

.pickup-item-thumbnail {
  width: 100px;
  flex-shrink: 0;
}
.pickup-item-thumbnail img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 5px;
  object-fit: cover;
}
.pickup-item-content {
  margin-left: 20px;
  margin-right: 15px;
  flex: 1;
}
.pickup-item-text {
  margin-top: 5px;
  line-height: 1.4;

  /* 2行だけ表示 */
  height: 2.8em;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 「お知らせ一覧を見る」リンク */
.pickup-read-more {
  margin-top: 6px;
  text-align: right;
}

/* INFORMATION */
section#information {
  padding: 30px 0 170px;
  background: url("img/city.png"), url("img/parts/section_fade_long.svg");
  background-repeat: no-repeat, repeat-x;
  background-size: 1540px 140px, 1280px 223px;
  background-position: center bottom;
}

.service-info-banner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
  width: 700px;
  height: 240px;

  border-radius: 70px;
  background-color: var(--attract-color);

  color: #fff;
}
.service-info-banner:hover {
  text-decoration: none;
}

.service-info-banner .marker-md.arrow {
  background-color: #fff;
}
.service-info-banner .marker-md.arrow::before {
  border-color: var(--attract-color);
}

.service-info-banner-title {
  gap: 10px;
  align-items: center;
  font-size: var(--font-heading-2-size);
  font-weight: bold;
  line-height: 1;
}

.service-info-banner .service-icons {
  gap: 30px;
}
.service-info-banner .service-icon {
  width: auto;
  height: 60px;
}

.info-banner {
  margin-top: 60px;
}

/* COMMUNITY CHANNEL */
section#community-ch {
  position: relative;
  padding: 90px 0 220px;
  background: url("img/parts/section_joint.svg"),
    url("img/parts/section_fade_long.svg");
  background-repeat: no-repeat, repeat-x;
  background-size: 1280px 100px, 1280px 220px;
  background-position: center bottom;
}
section#community-ch .mascot-image {
  width: 300px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -55%);
}
section#community-ch .mascot-image img {
  width: 100%;
}

.channel-info {
  margin: 70px auto;
  align-items: center;
  justify-content: space-between;
}
.channel-image {
  width: 610px;
}
.channel-image img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.channel-text {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.channel-info.ccs-12ch .channel-text {
  margin-left: auto;
}
.channel-info.ccs-11ch .channel-text {
  margin-right: auto;
  transform: translateX(-20px);
}
.channel-name {
  width: 240px;
  margin: auto;
}
.channel-name img {
  width: 100%;
}
.channel-description {
  margin-top: 20px;
  font-size: var(--font-heading-3-size);
  font-weight: bold;
}

.more-info {
  margin-top: 70px;
}
.more-info > * + * {
  position: relative;
}
.more-info > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  width: 1px;
  height: 100%;
  background-color: #bbbbbb;
}
.more-info-image {
  width: 100%;
}
.more-info-image img {
  width: 100%;
  border-radius: 10px;
}
.more-info .link-md {
  margin-top: 15px;
}
.more-info-text {
  margin-top: 5px;
}

/* COLUMNS */
section#column {
  padding: 70px 0 120px;
  background: url("img/parts/section_fade.svg");
  background-repeat: repeat-x;
  background-size: auto 120px;
  background-position: center bottom;
}

.columns {
  align-items: start;
  margin-top: 65px;
}

.latest-column {
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.latest-column-image img {
  max-width: 445px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.column-content {
  align-items: center;
  gap: 15px;
  padding: 30px 20px 40px 40px;
}
.column-content > .marker-md {
  flex-shrink: 0;
}
.column-title {
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: var(--font-heading-3-size);
  font-weight: bold;
}
.column-title a {
  display: block;
}
.column-body {
  margin-top: 14px;
  line-height: 1.75;
}

.recent-column-list {
  margin-top: 30px;
  gap: 40px;
}
.recent-column {
  align-items: center;
  gap: 16px;
  padding: 28px;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.recent-column > .marker-md {
  flex-shrink: 0;
}
.recent-column:not(:first-child) {
  border-top: none;
}
.recent-column-body {
  flex: 1;
}
.recent-column-body .column-title {
  margin-top: 8px;
}

section#column .readmore {
  text-align: center;
}

/* SERVICES */
section#services {
  padding: 140px 0 120px;
  background-repeat: repeat-x;
  background-size: cover 120px;
  background-position: center bottom;
}

.for-beginners-banner {
  width: 840px;
  margin: 78px auto 0;
  justify-content: center;
  align-items: center;
  gap: 36px;

  padding: 40px 0;
  border-radius: 100px;
  background-color: var(--attract-color);
  color: #fff;
  font-size: var(--font-heading-3-size);
  font-weight: bold;
}
.for-beginners-banner .banner-text {
  align-items: center;
  gap: 30px;
}
.for-beginners-banner .banner-text img.banner-icon {
  width: auto;
  height: 70px;
}
.for-beginners-banner .banner-text p {
  letter-spacing: 2px;
  line-height: 1.6;
}

.for-beginners-banner .links {
  gap: 20px;
  color: #000;
}
.for-beginners-banner .links a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 130px;
  height: 130px;

  border-radius: 20px;
  background-color: #fff;
  box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.25);
}
.for-beginners-banner .links a:hover {
  text-decoration: none;
}
.for-beginners-banner .links a img {
  width: 60px;
}

.service-introduction {
  margin-top: 70px;
}
.service-introduction > h4 {
  margin-bottom: 30px;
  font-size: var(--font-heading-2-size);
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
.service-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 20px;
}
.service-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  aspect-ratio: 1 / 1;

  border-radius: 20px;
  background-color: var(--bg-color-2);
  box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.25);

  font-size: var(--font-heading-3-size);
  font-weight: bold;
}
@supports not (aspect-ratio: 1 / 1) {
  .service-link {
    width: 220px;
    height: 220px;
  }
}
.service-link:hover {
  text-decoration: none;
}
.service-link img {
  margin-bottom: 15px;
  width: auto;
  height: 90px;
}

.more-services {
  margin-top: 70px;
}
.more-services > * + * {
  position: relative;
}
.more-services > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  width: 1px;
  height: 100%;
  background-color: #bbbbbb;
}

.more-services-image.stacked-image {
  width: 100%;
  border-radius: 10px;
}
.more-services-image .stacked-image-overlay img {
  width: 85px;
}
.more-services .link-md {
  margin-top: 15px;
}
.more-services-text {
  margin-top: 5px;
  line-height: 1.75;
}

/* もっと見るボタン */
.service-notices .readmore {
  text-align: center;
}

/* ccs online リンクバナー */
.ccs_online-banner {
  display: block;
  margin: 70px auto 0;
  width: 600px;
}
.ccs_online-banner img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

/* プロローグスクリーン */
.intro .global-header {
  transform: translateY(-100%);
}
.intro .floating-menu {
  transform: translateX(100%);
}
.intro .intro-screen {
  opacity: 1;
  visibility: visible;
}

.intro-screen {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 10010;
  visibility: hidden;

  background-color: #fff;
  transition: all 0.5s linear;
  opacity: 0;
}
.intro-logo {
  width: 120px;
  height: auto;
  margin-bottom: 5px;
}
.intro-logo.hidden {
  opacity: 0;
}

@media screen and not (max-width: 1080px) {
  .section-title h3 br {
    display: none;
  }

  .service-info-banner p br {
    display: none;
  }

  .for-beginners-banner .banner-text .for-sp {
    display: none;
  }
}
@media screen and (min-width: 740px) and (max-width: 1080px) {
  .section-title h3 br {
    display: none;
  }

  .service-info-banner p br {
    display: none;
  }

  .for-beginners-banner .banner-text .for-sp {
    display: none;
  }
}
@media screen and (max-width: 740px) {
  .for-beginners-banner .banner-text .for-pc-tb {
    display: none;
  }
  .for-beginners-banner .banner-text .for-pc {
    display: none;
  }
}

/* For tablets */
@media screen and (max-width: 1080px) {
  /* MAINVISUAL */
  .mv {
    display: grid;
    grid-template-columns: none;
    position: relative;
  }
  .mv-title {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 35px;
  }
  .mv-title-copy {
    width: 400px;
  }
  .mv-title-logo {
    width: 330px;
  }

  /* スライダー */
  .splide.mv-slideshow .splide__slide img {
    width: 100vw;
  }

  /* PICKUP */
  section#pickup {
    padding: 0;
  }
  section#pickup .container {
    padding: 0 30px;
  }

  .service-info-banner {
    width: 600px;
  }

  /* INFORMATION */
  section#information {
    padding: 30px 0 133px;
    background-size: auto 84px, auto 133px;
  }

  /* COMMUNITY CHANNEL */
  section#community-ch {
    position: relative;
    padding: 80px 0 170px;
    background-size: auto 60px, auto 170px;
  }
  section#community-ch .container {
    padding: 0;
  }

  .channel-info {
    max-width: 890px;
  }
  .channel-info.ccs-12ch .channel-text,
  .channel-info.ccs-11ch .channel-text {
    margin: 0 30px;
  }
  .channel-info.ccs-11ch .channel-text {
    transform: translateX(0);
  }
  .channel-info.ccs-12ch .channel-image img {
    border-radius: 0 10px 10px 0;
  }
  .channel-info.ccs-11ch .channel-image img {
    border-radius: 10px 0 0 10px;
  }
  .channel-image {
    flex: 1;
  }
  @media screen and (min-width: 770px) {
    .channel-image img {
      border-radius: 10px !important;
    }
  }

  .channel-name {
    width: 180px;
  }
  .channel-description {
    margin-top: 15px;
    font-size: 16px;
  }

  .more-info {
    padding: 0 30px;
  }
  .more-info > * + *::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    width: 1px;
    height: 100%;
    background-color: #bbbbbb;
  }
  .more-info .link-md {
    margin-top: 8px;
  }

  /* COLUMNS */
  section#column .container {
    padding: 0 30px;
  }

  .columns {
    margin-top: 50px;
  }

  .column-content {
    gap: 10px;
    padding: 25px 10px 20px 20px;
  }
  .column-body {
    margin-top: 10px;
    line-height: 1.75;
  }

  .recent-column-list {
    gap: 30px;
  }
  .recent-column {
    padding: 20px;
  }

  /* SERVICES */
  section#services {
    padding: 100px 0 120px;
  }
  /* SERVICES */
  section#services .container {
    padding: 0 30px;
  }
  .for-beginners-banner {
    width: 100%;
    max-width: 708px;
    margin-top: 50px;
    padding: 40px 0;
  }
  .for-beginners-banner .links a {
    width: 105px;
    height: 105px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
  }

  .service-introduction {
    margin-top: 50px;
  }
  .service-introduction > h4 {
    margin-bottom: 30px;
    font-size: 20px;
  }
  .service-links {
    gap: 20px;
  }
  .service-link {
    border-radius: 30px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
    font-size: 16px;
  }
  @supports not (aspect-ratio: 1 / 1) {
    .service-link {
      width: 162px;
      height: 162px;
    }
  }
  .service-link img {
    width: auto;
    height: 70px;
  }

  .more-services > * + *::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    width: 1px;
    height: 100%;
    background-color: #bbbbbb;
  }
  .more-services .link-md {
    margin-top: 8px;
  }
  .more-services-image .stacked-image-overlay img {
    width: 60px;
  }

  /* プロローグスクリーン */
  .intro .floating-menu {
    transform: translate(0, 100%);
  }
}

/* For smartphones */
@media screen and (max-width: 740px) {
  /* トップページスタイル */
  .section-title {
    margin: 0 10px;
  }
  .section-title h3 {
    font-size: 28px;
    line-height: 1.2;
  }
  .section-title p {
    margin-top: 10px;
    font-weight: bold;
  }

  /* MAINVISUAL */
  .mv {
    display: grid;
    grid-template-columns: none;
    padding-bottom: 30px;
    position: relative;
  }
  .mv-title {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 35px;
  }
  .mv-title-copy,
  .mv-title-logo {
    width: 280px;
  }

  /* スライダー */
  .splide.mv-slideshow .splide__slide img {
    width: 100vw;
  }

  /* PICKUP */
  section#pickup {
    width: 100%;
    padding: 0;
  }
  section#pickup .container {
    padding: 0 10px;
  }
  .pickup-box {
    flex-direction: column;
  }
  .pickup-title {
    gap: 5px;
  }
  .pickup-title-icon img {
    width: 40px;
  }
  .pickup-title h3 {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .pickup-list {
    margin: 5px 0 0;
  }
  .pickup-item {
    padding: 15px 0;
  }
  .pickup-item:first-child {
    padding-top: 0;
  }
  .pickup-item-thumbnail {
    width: 100px;
  }

  /* INFORMATION */
  section#information {
    padding: 30px 0 75px;
    background-size: 770px auto, auto 100px;
    background-repeat: no-repeat, repeat-x;
  }
  .service-info-banner {
    width: 355px;
    height: auto;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
  }
  .service-info-banner-title {
    align-items: center;
    font-size: 20px;
  }
  .service-info-banner .service-icons {
    gap: 15px;
  }
  .service-info-banner .service-icon {
    width: auto;
    height: 36px;
  }

  /* スライダー */
  .info-banner {
    margin-top: 30px;
  }
  .splide.info-slider .splide__arrow {
    width: 50px;
    height: 50px;
  }
  .splide.info-slider .splide__arrow img {
    width: 12px;
  }
  .splide.info-slider .splide__arrow--prev {
    margin-left: 8px;
  }
  .splide.info-slider .splide__arrow--next {
    margin-right: 8px;
  }

  /* COMMUNITY CHANNEL */
  section#community-ch {
    padding: 60px 0 80px;
    background-size: auto 50px, auto 80px;
  }
  section#community-ch .mascot-image {
    width: 200px;
  }

  .channel-info {
    margin-top: 40px;
    flex-direction: column;
    gap: 22px;
  }
  .channel-info.ccs-12ch {
    margin-top: 30px;
    padding: 0 10px;
  }
  .channel-info.ccs-11ch {
    flex-direction: column-reverse;
    padding: 0 10px;
  }
  .channel-info.ccs-12ch .channel-text,
  .channel-info.ccs-11ch .channel-text {
    margin: 0;
  }
  .channel-image {
    width: 100%;
    max-width: 400px;
  }
  .channel-info.ccs-12ch .channel-image img,
  .channel-info.ccs-11ch .channel-image img {
    border-radius: 5px;
    border-radius: 5px;
  }
  .channel-description {
    margin-top: 10px;
  }

  .more-info {
    margin-top: 40px;
    padding: 0;
  }
  .more-info > * + *::before {
    top: -15px;
    left: 10px;
    width: calc(100% - 20px); /* 100% - 10px * 2 */
    height: 1px;
    background-color: #bbbbbb;
  }
  .more-info > a {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .more-info-image {
    flex: 0 0 135px;
  }
  .more-info-image img {
    border-radius: 0 5px 5px 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .more-info .link-md {
    margin-top: 0;
  }

  /* COLUMNS */
  section#column {
    padding: 50px 0;
    background-size: auto 50px;
  }
  section#column .container {
    padding: 0;
  }

  .columns {
    margin-top: 30px;
    gap: 0;
  }

  .latest-column {
    display: block;
    padding: 10px 10px 20px;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
    border-radius: 0;
  }
  .latest-column-image img {
    width: 100%;
    border-radius: 5px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .column-content {
    gap: 5px;
    margin-top: 15px;
    padding: 0;
  }
  .column-content > div {
    flex: 1;
  }
  .column-title {
    font-size: 16px;
    margin-top: 8px;
  }
  .column-body {
    margin-top: 6px;
  }

  .recent-column-list {
    margin-top: 20px;
    padding: 0;
    gap: 20px;
  }
  .recent-column {
    padding: 15px;
    border-radius: 0;
  }
  .recent-column a {
    gap: 10px;
  }
  .recent-column:first-child {
    border-top: none;
  }

  section#column .readmore {
    text-align: center;
  }

  /* SERVICES */
  section#services {
    padding: 50px 0;
    background-size: auto 50px;
  }
  section#services .container {
    padding: 0;
  }

  .for-beginners-banner {
    flex-direction: column;
    gap: 10px;
    max-width: 375px;
    height: auto;
    margin-top: 30px;

    padding: 12px 10px 20px;
    border-radius: 20px;
    font-size: 16px;
  }
  .for-beginners-banner .banner-text {
    gap: 15px;
  }
  .for-beginners-banner .banner-text img.banner-icon {
    width: auto;
    height: 24px;
  }
  .for-beginners-banner .banner-text p {
    letter-spacing: 0;
  }
  .for-beginners-banner .links {
    gap: 10px;
    margin-left: 0;
  }
  .for-beginners-banner .links a img {
    width: 48px;
  }

  .service-links {
    max-width: 470px;
    margin: 0 auto;
    padding: 0 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .more-services {
    margin-top: 40px;
    padding-right: 10px;
  }
  .more-services > * + *::before {
    top: -15px;
    left: 10px;
    width: calc(100% - 10px);
    height: 1px;
    background-color: #bbbbbb;
  }
  .more-services > a {
    display: flex;
    gap: 14px;
    align-items: center;
  }
  .more-services-image {
    width: 135px;
    flex-shrink: 0;
  }
  .more-services-image.stacked-image {
    width: 135px;
    border-radius: 0 5px 5px 0;
  }
  .more-services-image .stacked-image-overlay img {
    width: 40px;
  }
  .more-services .link-md {
    margin-top: 0;
  }
  .more-services-text {
    margin-top: 2px;
    line-height: 1.75;
  }

  /* ccs online リンクバナー */
  .ccs_online-banner {
    width: 100%;
  }
  .ccs_online-banner img {
    border-radius: 0;
  }
}

/* table01シンプルライン */
#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}
