:root {
  --bg: #f5f5fa;
  --surface: #ffffff;
  --surface-alt: #eef1f8;
  --text: #3b3f4a;
  --muted: #6f7686;
  --line: #d8dce7;
  --brand: #0050FF;
  --shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
  --radius: 15px;
  --radius-pill: 999px;
  --sticky-header-height: 80px;
  --anchor-offset-gap:12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--sticky-header-height) + var(--anchor-offset-gap));
}

#faq,
#contact,
#beforeinquiry,
#inquiry,
#tel,
#mail,
#form,
#otherInquiry {
  scroll-margin-top: calc(var(--sticky-header-height) + var(--anchor-offset-gap));
}

a {
  transition: 0.5s;
  color: var(--brand);
}

.lazy {
  height: auto;
  width: 100%;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  position:relative;
}
.lazy img{
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 13px;
  text-align: left;
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #2c6bff;
  outline-offset: 2px;
}

.page-shell {
  margin-inline: auto;
  padding: 0 20px;
    letter-spacing: .05em;
}


.di2 header.header h1 {
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;

}

.di2 header.header {
  margin-bottom: 60px;
    letter-spacing: .05em;
}


.section {
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  margin: 0 0 30px;
  line-height: 1.3;
  font-size: 22px;
  text-align: left;
  letter-spacing: .1em;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: 0.5s;

    display: block;
}


.pill-link i,
.form>a::after,
.way>a::after,
.oi-list>a::after {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  text-align: left;
}

.pill-link {
display: block;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
padding: 15px 40px 15px 40px;
  border-radius: var(--radius-pill);
  border: 1px solid #81899c;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .1em;
  gap: 10px;
  position: relative;
}

.pill-link::after {
  content: "";
  position: absolute;
right: .95em;
  top: 50%;
  width: 1em;
  height: .5em;
  transform: translateY(-50%);
  background: linear-gradient(currentColor 0 0) left center / 100% 1px no-repeat;
}

.pill-link::before {
  content: "";
  position: absolute;
  right: 1em;
  top: 50%;
  width: .7em;
  height: .7em;
  transform: translateY(-50%) rotate(45deg);
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  box-sizing: border-box;
}

.pill-link2 {
  display: block;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
  padding: 0 18px 0 33px;
  border-radius: var(--radius-pill);
  background-color: #fff;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .18em;
  gap: 10px;
  position: relative;
  border: none;
  box-shadow: var(--shadow);
  ;
}


.card-grid {
  display: grid;
  gap: 10px;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

.card-grid--2 {
grid-template-columns: 1fr;
}

.way h3,
.way p {
  margin: 0;
}

.way h3 {
  font-size: 1rem;
}

.way p {
  color: #606777;
  font-size: 0.92rem;
}

.way>a,
.oi-list>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #4e5b76;
}

.way>a::after,
.oi-list>a::after {
  content: "";
}

.form-visual {
  margin:0 auto 10px;
  width: 22%;
  height: 70px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.form-visual--tv {
  background-image: url(../img/ico_tv.svg);
}
.form-visual--tbs {
  background-image: url(../img/ico_tbs.svg);
}

.oi-list h3 {
  margin: 0 0 8px;
}

.faq-list {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  list-style: none;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 15px;
  position: relative;
  background-color: transparent;
  transition: background-color 0.5s, opacity 0.5s;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: left;
  font-weight: 600;
  font-size: 13px;
}
.faq-item summary:active {
  background-color: transparent;
}

.faq-item p {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  margin: 0;
  padding: 0 0px 20px 30px;
  text-align: left;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary img {
  margin-right: 15px;
  width: 14px;
}

.faq-item p img {
  margin-right: 30px;
}


.faq-item>summary::after,
.faq-item>details>summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%) rotate(45deg);
  box-sizing: border-box;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.faq-item[open]>summary::after,
.faq-item>details[open]>summary::after {
  transform: translateY(-50%) rotate(-135deg);
  transition: transform 0.35s ease;
}

.faq-item[open].is-closing>summary::after,
.faq-item.is-closing>details>summary::after {
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.35s ease;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*//////////////////////////////////
よくあるご質問
/////////////////////////////////*/
.answer_content {
  margin-top: 20px;
  background: url(../img/ico_answer.svg) no-repeat left top 3px;
  margin: 20px 15px 0;
  background-size: 15px;
}

.faq-item[open] .answer_content,
.faq-item>details[open] .answer_content {
  animation: faq-content-fade 0.35s ease;
}

@keyframes faq-content-fade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item>summary::after,
  .faq-item>details>summary::after,
  .faq-item[open]>summary::after,
  .faq-item>details[open]>summary::after,
  .faq-item[open].is-closing>summary::after,
  .faq-item.is-closing>details>summary::after {
    transition: none;
  }

  .faq-item[open] .answer_content,
  .faq-item>details[open] .answer_content {
    animation: none;
  }
}

.faq-item:last-child {
  margin-bottom: 36px;
}

/*//////////////////////////////////
お問い合わせ先
/////////////////////////////////*/
#contact h3 {
  font-size: 24px;
  text-align: center;
}

#contact .way {
  position: relative;
  padding: 25px 0;
}

#contact .way::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  width: 3em;
  height: 3em;
  transform: translateY(-50%);
  border: 1px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

#contact .way::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 50%;
  width: 1em;
  height: 1em;
  transform: translateY(-65%) rotate(45deg);
  box-sizing: border-box;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  margin-right: 0.67em;
}

#contact .way h3::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 50%;
  width: 2.8em;
  height: 2.8em;
  background: url(../img/ico_tel.svg) no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
}

#contact .way.letter h3::before {
  background: url(../img/ico_mail.svg) no-repeat center center;
  background-size: contain;

}

#contact .way.web h3::before {
  background: url(../img/ico_form.svg) no-repeat center center;
  background-size: contain;

}

#contact .card-grid {
  margin-bottom: 20px;
}

/*//////////////////////////////////
お問い合わせの前に
/////////////////////////////////*/
#beforeinquiry .images {
  background: url(../img/pic_sp.jpg)no-repeat center center;
  background-size: contain;
  width: 100%;
  height: 300px;
}

#beforeinquiry .images li {
  height: var(--h);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


#beforeinquiry .images span {
  display: block;
  background-position: center center;
  width: 94%;
  height: 300px;
  object-fit: contain;
}

.note {
  font-size: 14px;
}

#beforeinquiry h3 {
  margin-top: 2em;
  margin-bottom: 0;
}

#beforeinquiry>p {
  margin-top: 10px;
}

/*//////////////////////////////////
お問い合わせ方法
/////////////////////////////////*/

#inquiry h2 {
  font-size: 24px;
  position: relative;
  padding-left:60px;
margin: 0 0 10px;
}

.inquiry-outer{
  border-bottom: 1px solid #E5E6E9;
  padding: 20px 0;
}
.inquiry-outer:last-of-type{
  border-bottom: none;
}

#inquiry h2::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  width: 2em;
  height: 2em;
  transform: translateY(-50%);
}

#tel h2::before {
  background: url(../img/ico_tel.svg) no-repeat center left;
  background-size: contain;
}
#mail h2::before {
  background: url(../img/ico_mail.svg) no-repeat center left;
  background-size: contain;
}
#inquiry .number span{
  font-weight: 600;

}
#inquiry .number .tel-no{
color: var(--brand);
font-size: 28px;
}
.grid-box{
  margin-bottom: 20px;
}

.address{
  color: var(--brand);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}
.address .postal{
  font-size: 18px;
}
#form .card{
  padding: 20px;
      text-align: center;
      border-radius: 10px;
}

#form div p{
  margin: 15px 0;
}
#form h2{
  padding-left: 0;
}
#form h3{
  display: inline;
  font-size: 14px;
  position: relative;
  background: url(../img/ico_arrow_circle.svg) no-repeat center right;
background-size: contain;
padding: 6px 48px 6px 0;

}

#form div:has(.card){
    text-align: center;
}

#form .card-grid{
  gap: 15px;
  margin-bottom: 10px;
}

.pill-link2{
  font-size: 12px;
padding: 10px 46px;
}
.pill-link2 span{
  font-size: 10px;
}
.pill-link2:last-child::before {
  content: none;
}
.pill-link2:last-child::after {
    content: "";
    position: absolute;
    right: 1em;
    top: 50%;
    width: 2em;
    height: 2em;
    transform: translateY(-50%);
    background:url(../img/ico_external.svg) no-repeat;
    background-size: contain;
}
.pill-link2:not(:last-child){margin-bottom: 20px;
}
/*//////////////////////////////////
その他のサービスへお問い合わせ
/////////////////////////////////*/
  #otherInquiry .oi-lists .oi-list {
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-height: 84px;
  }

  #otherInquiry .list-visual {
    flex: 0 0 78px;
    margin-bottom: 0;
    height: 54%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  #otherInquiry .list-visual--tbsradio {
    background-image: url(../img/logo_tbsradio_sp.png);
  }
  #otherInquiry .list-visual--tbsnewsdig {
    background-image: url(../img/logo_tbsnewsdig_sp.png);
  }
  #otherInquiry .list-visual--tbscrossdig {
    background-image: url(../img/logo_tbscrossdig_sp.png);
  }
  #otherInquiry .list-visual--bstbs {
    background-image: url(../img/logo_bstbs_sp.png);
  }
  #otherInquiry .list-visual--tbschannel {
    background-image: url(../img/logo_tbschannel_sp.png);
  }
  #otherInquiry .list-visual--tbsnews {
    background-image: url(../img/logo_tbsnews_sp.png);
  }

  #otherInquiry .oi-list h3 {
    margin: 0;
    flex: 1;
    text-align: center;
  }


@media screen and  (min-width: 992px) {


  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  summary:focus-visible {
    outline: 3px solid #2c6bff;
    outline-offset: 2px;
  }

  .page-shell {
    width: min(100%, 1320px);
    margin-inline: auto;
    padding: 0 60px;
     font-size: 18px;
  }

  .site-header {
    width: min(100%, 1200px);
    margin-inline: auto;
  }

  .header-inner {
    font-size: 20px;
  }


  .di2 header.header h1 {
    font-size: 40px;
    letter-spacing: 0.1em;
    margin-bottom: 50px;

  }

  .di2 header.header {
    margin-bottom: 90px;
    width: min(100%, 1320px);
        padding: 131px 60px 0;
        font-size: 18px;
  }



  .section {
    margin-bottom: 100px;
  }

  .section-title {
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
    margin: 0 0 50px;
    line-height: 1.3;
    font-size: 40px;
    text-align: left;
    letter-spacing: .1em;
  }

  .card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
  }

  .card:hover {
    opacity: .8;
  }

  .faq-item[open]:hover,
  .faq-item.is-open:hover {
    opacity: 1;
  }

  .way>a::after,
  .oi-list>a::after {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    text-align: left;
  }

  .pill-link {
padding: 15px 40px;  }
  .pill-link:hover {
    background-color: rgba(129, 137, 156, 0.1);
  }
  .pill-link2:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }
  .pill-link::after {
    content: "";
    position: absolute;
    right: 1em;
    top: 50%;
    width: .65em;
    height: .5em;
    transform: translateY(-50%);
    background: linear-gradient(currentColor 0 0) left center / 100% 1px no-repeat;
  }

  .pill-link::before {
    content: "";
    position: absolute;
    right: 1em;
    top: 50%;
    width: .5em;
    height: .5em;
    transform: translateY(-50%) rotate(45deg);
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    box-sizing: border-box;
  }

  .pill-link.pill-link2 {
padding: 20px 65px;
    ;
  }


  .card-grid {
    display: grid;
    gap: 8px;
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contact .way {
    padding: 30px 0;
  }

  .way h3,
  .way p {
    margin: 0;
  }

  .way h3 {
    font-size: 1rem;
  }

  .way>a,
  .oi-list>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #4e5b76;
  }

  .way>a::after,
  .oi-list>a::after {
    content: "";
  }



  .form-visual,
  .list-visual {
    width: 100%;
    border-radius: 15px;
margin-bottom: 30px;
  }

  .oi-list h3 {
    margin: 0 0 8px;
  }


  .faq-list {
    margin-bottom: 50px;
  }

  .faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
  }

  .faq-item summary {
    min-height: 80px;
    padding: 0 24px;
    font-size: 20px;
  }

  .faq-item p {
    padding: 0 24px 20px 52px;
  }

  .answer_content{
    background-size: 22px;
margin: 20px 24px 24px;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary img {
    margin-right: 30px;
    width: inherit;
  }

  .faq-item p img {
    margin-right: 30px;
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

/*//////////////////////////////////
お問い合わせ先
/////////////////////////////////*/
#contact h3{
  font-size: 36px;
}
#contact .way h3::before{
  left: 17px;
width: calc(96vw / 13.2);
        height: calc(96vw / 13.2);
}
#contact .way::before{
        width: 2.2em;
        height: 2.2em;
}
#contact .way::after{
  width: .6em;
    height: .6em;
    right: 32px;
}

/*//////////////////////////////////
お問い合わせ先
/////////////////////////////////*/
#tel ul, #mail ul{
  font-size: 14px;
}
/*//////////////////////////////////
お問い合わせの前に
/////////////////////////////////*/
#beforeinquiry{
  margin-bottom: 60px;
}
#beforeinquiry .images{
  background: url(../img/pic_pc.jpg) no-repeat;
    background-size: contain;
}
/*//////////////////////////////////
お問い合わせ方法
/////////////////////////////////*/
#inquiry h2{
  font-size: 36px;
  padding-left: 160px;
}
.inquiry-outer {
    padding: 40px 0;
}
.inquiry-outer:last-of-type {
    padding: 50px 0 20px;
}

#inquiry h2::before{
        width: 2.6em;
        height: 2.6em;
}
.grid-box {
    margin-bottom: 40px;
    display: grid;
grid-template-columns: .4fr 1fr;
align-items: center;
}
#inquiry .number{
  font-size:16px;
}
#inquiry .number .tel-no{
  font-size: 36px;
}
.address{
  font-size: 36px;
}
.address .postal{
  font-size: 24px;
}

#form h2 {
    padding-left: 0;
    text-align: center;
    margin: 0 0 40px;
}
#form h3{
  font-size: 24px;
  background-size: 11%;
  padding-right: 64px;
}
#form  .form--short h3{
  background-size: 15%;
}
#form .card {
  padding: 60px 0;
      border-radius: 20px;
}
#form div p.detail{
font-size: 14px;
}
.form-visual{
  height: 100px;
}

.pill-link2{
  font-size: 18px;
}
.pill-link2:last-child::after{
  width: 1.5em;
    height: 1.5em;
}
.pill-link2 span {
    font-size: 12px;
}
.pill-link2:not(:last-child) {
    margin-bottom: 40px;
}
/*//////////////////////////////////
その他サービス
/////////////////////////////////*/
#otherInquiry .oi-lists .oi-list{
flex-direction: column;
        padding: 30px 40px;
}
#otherInquiry .oi-list h3{
  font-size: 18px;
  font-weight: 500;
}
#otherInquiry .list-visual{
  margin-bottom: 20px;
}
#otherInquiry .list-visual--tbsradio {
  background-image: url(../img/logo_tbsradio.png);
}
#otherInquiry .list-visual--tbsnewsdig {
  background-image: url(../img/logo_tbsnewsdig.png);
}
#otherInquiry .list-visual--tbscrossdig {
  background-image: url(../img/logo_tbscrossdig.png);
}
#otherInquiry .list-visual--bstbs {
  background-image: url(../img/logo_bstbs.png);
}
#otherInquiry .list-visual--tbschannel {
  background-image: url(../img/logo_tbschannel.png);
}
#otherInquiry .list-visual--tbsnews {
  background-image: url(../img/logo_tbsnews.png);
}
#otherInquiry .list-visual--tbsnewsdig{
  background-size: 133%;
}
}

@media screen and  (max-width: 991.98px) {
    .di2 header.header {
       margin-top: 0;
       margin-left: 0;
       margin-right: 0;
       padding-left: 20px;
       padding-right: 20px;
    }
}

@media (min-width: 1200px) {
    .di2 header.header {
     max-width: inherit;
    }
  }


  @media screen and (min-width: 1320px) {
#contact .way h3::before{
  width: 96px;
        height: 96px;
}
  }


@media screen and (min-width: 768px) and (max-width: 991px) {
  #beforeinquiry .images {
  background: url(../img/pic_pc.jpg)no-repeat center center;
  background-size: contain;
  height: calc();
}

}