@charset "UTF-8";
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@800&display=swap&text=あなたにピッタリの代理店は？おすめ回線で探すキャッシュバック・特典新着記事ンペーン情報がな理由みん口コミ');*/
.page:not(.home).page-template-page-agency #content {
  padding-bottom: 0; }

.inner1200 {
  width: clamp(1px, 90%, 1200px);
  margin: auto; }
  @media screen and (max-width: 1200px) {
    .inner1200 {
      width: 100%; } }

.inner1200.white {
  background: #fff;
  padding: clamp(10px, 3vw, 30px);
  border-radius: clamp(10px, 2vw, 20px); }

.inner1200.white:has(.w50box) {
  flex-wrap: wrap;
  justify-content: space-between; }

.mt40 {
  margin-top: clamp(20px, 4vw, 40px); }

.center {
  text-align: center; }

.number {
  font-family: 'Roboto', sans-serif;
  font-weight: 800; }
  .number small {
    font-size: 60%; }

#agency-top .text-m {
  font-size: clamp(18px, 4vw, 22px); }

.vivid {
  color: #f97946; }

.shadow {
  filter: drop-shadow(0px 0px 5px #12121210); }

.pen {
  background: linear-gradient(transparent 60%, #fff46de6 30%); }

.page:not(.home) .star img {
  margin: 2px; }

th {
  font-weight: bold; }

.bg-pattern-orange {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/bg-pattern-orange.png);
  background-size: 30px;
  background-repeat: repeat;
  background-color: #f9eadc; }

.bg-pattern-orange2 {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/bg-pattern-orange2.png);
  background-size: 30px;
  background-repeat: repeat;
  background-color: #f99d42; }

.bg-pattern-yellow {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/bg-pattern-yellow.png);
  background-size: 30px;
  background-repeat: repeat;
  background-color: #fae67f; }

/******************************************/
/*見出し*/
/******************************************/
#agency-top h2 {
  border: none;
  text-align: center;
  padding: 0;
  font-size: clamp(20px, 7vw, 30px);
  margin: clamp(30px, 8vw, 50px) auto clamp(20px, 7vw, 40px) !important;
  font-weight: bold; }

#agency-top h3 {
  border: none;
  text-align: center;
  padding: 0;
  font-size: clamp(18px, 2vw, 22px);
  margin: clamp(20px, 5vw, 30px) auto clamp(20px, 4vw, 30px) !important;
  font-weight: bold; }

.midashi-s {
  display: block;
  font-size: clamp(11px, 3vw, 16px);
  margin-bottom: clamp(5px, 1vw, 10px); }

#agency-top h3.border-left {
  /* border-left: solid 4px #f99d42; */
  text-align: left;
  padding-left: 0.3em;
  line-height: 1.4;
  display: flex; }
  #agency-top h3.border-left:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.4em;
    position: relative;
    left: -0.3em;
    background: #f99d42;
    border-radius: 3px; }

/******************************************/
/*ボタンなどパーツ*/
/******************************************/
.btn-orange {
  position: relative;
  display: flex;
  width: 80%;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, #f99348, #f36a48);
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: clamp(10px, 2vw, 20px);
  filter: drop-shadow(1px 3px 3px #31313120); }
  .btn-orange:hover {
    filter: drop-shadow(1px 4px 4px #31313150) brightness(1.1); }
    .btn-orange:hover:after {
      right: clamp(3px, 0.7vw, 7px); }
  .btn-orange:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    right: clamp(5px, 1vw, 10px);
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/sankaku.svg);
    background-size: 5px;
    background-repeat: no-repeat;
    transition: 0.2s ease; }
  .btn-orange.btn-l {
    height: 50px;
    border-radius: 50px;
    font-size: clamp(18px, 5vw, 20px); }
  .btn-orange.btn-m {
    height: 30px;
    border-radius: 30px; }
  .btn-orange.btn-s {
    height: 24px;
    border-radius: 20px;
    font-size: clamp(12px, 3vw, 16px); }

.check {
  display: inline-block;
  width: 1.2em !important;
  height: 1.2em;
  position: relative;
  top: 3px; }

.w50box {
  width: 48%; }
  @media screen and (max-width: 640px) {
    .w50box {
      width: 100%; } }

.kaisen-btn:hover, .hover-fuwa:hover {
  transform: translate(0px, -3px);
  filter: drop-shadow(1px 4px 4px #31313150) brightness(1.05) !important; }

.btn-orange.green {
  width: clamp(140px, 80%, 450px);
  background: #8fc540;
  color: #fff;
  border: solid 2px #8fc540;
  padding: 1em;
  min-height: 50px; }
  .btn-orange.green:hover {
    filter: drop-shadow(1px 4px 4px #31313150) !important;
    opacity: 0.8; }

.p-blogParts.post_content {
  margin-top: 1em !important; }

.swell-block-accordion__title {
  background: #8fc540;
  color: #fff;
  font-weight: bold;
  padding: 0.5em;
  border-radius: 50px;
  text-align: center;
  max-width: 500px;
  margin: auto;
  transition: all 0.3s 0s ease; }
  .swell-block-accordion__title:hover {
    filter: drop-shadow(1px 4px 4px #31313150) !important;
    opacity: 0.8; }

.swell-block-accordion__body {
  background: #fff;
  padding: 2em 5%;
  margin-top: 1em;
  border-radius: 5px; }

/******************************************/
/*ヘッダー*/
/******************************************/
@media screen and (max-width: 800px) {
  header#header {
    padding: 0.5em 1em;
    height: 50px; } }

.pankuzu-wrap {
  display: none; }

.header2 {
  background-color: #f9eadc;
  height: 70px; }
  @media screen and (max-width: 800px) {
    .header2 {
      height: 50px; } }
  .header2 .header-inner {
    width: clamp(10px, 90%, 1200px);
    margin: auto; }
    @media screen and (max-width: 800px) {
      .header2 .header-inner {
        width: 100%; } }
  .header2 .archive.search {
    width: 50%; }
    @media screen and (max-width: 800px) {
      .header2 .archive.search {
        display: none; } }
  .header2 .buttons {
    width: 50%;
    justify-content: flex-end; }
    @media screen and (max-width: 800px) {
      .header2 .buttons {
        width: 100%;
        justify-content: center; } }
  .header2 .header2-btn {
    width: clamp(1px, 100%, 180px);
    height: 50px;
    border-radius: 7px; }
    @media screen and (max-width: 800px) {
      .header2 .header2-btn {
        border-radius: 0; } }
    .header2 .header2-btn img.icon {
      width: 40px !important; }
    .header2 .header2-btn span {
      width: calc(100% - clamp(14px,50%,50px));
      text-align: center;
      color: #fff;
      font-weight: bold;
      font-size: clamp(12px, 2vw, 18px);
      line-height: 1.4;
      padding-right: 0.5em; }
      @media screen and (max-width: 800px) {
        .header2 .header2-btn span {
          color: #333;
          padding: 0; } }
    .header2 .header2-btn:hover {
      opacity: 0.75;
      cursor: pointer; }

div#top_title_area {
  display: none; }

.gnavi__wrap {
  width: 1200px;
  margin: 0 auto; }

.gnavi__lists {
  display: flex;
  width: 97%;
  justify-content: space-between; }

.gnavi__list {
  width: 32%;
  height: 50px;
  position: relative;
  transition: all .3s;
  margin: 0; }
  @media screen and (max-width: 800px) {
    .gnavi__list {
      border-left: solid 1px #f7c99d;
      width: 33.3%;
      padding: 0 0.5em; } }
  @media screen and (max-width: 800px) {
    .gnavi__list:first-child {
      border-left: none; } }

.gnavi__list a, .gnavi__list.midashi {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: normal;
  transition: all .3s; }
  @media screen and (max-width: 800px) {
    .gnavi__list a.bg-pattern-orange2, .gnavi__list.midashi.bg-pattern-orange2 {
      background-image: none;
      background-color: inherit; } }

.gnavi__list.midashi {
  padding-top: 0;
  text-indent: initial;
  background: #06539e; }

.dropdown__lists {
  display: none;
  /*デフォルトでは非表示の状態にしておく*/
  width: 100%;
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 3;
  border-radius: 0 0 7px 7px;
  overflow: hidden; }

.dropdown__lists li {
  margin: 0; }

.gnavi__list:hover .dropdown__lists {
  display: block;
  /*Gナビメニューにホバーしたら表示*/ }
  @media screen and (max-width: 800px) {
    .gnavi__list:hover .dropdown__lists {
      display: none; } }

.gnavi__list:hover .dropdown__lists.row2 {
  display: flex;
  flex-wrap: wrap; }
  @media screen and (max-width: 800px) {
    .gnavi__list:hover .dropdown__lists.row2 {
      display: none; } }

.gnavi__list.dropdown:hover a {
  border-radius: 7px 7px 0 0; }
  @media screen and (max-width: 800px) {
    .gnavi__list.dropdown:hover a {
      border-radius: 7px; } }

.dropdown__list {
  background-color: #fdfbec;
  height: 40px;
  padding: 0.5em 1em 0.5em 0.5em;
  transition: all .3s;
  position: relative; }

.dropdown__list:not(:first-child)::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #fde3cb;
  position: absolute;
  top: 0;
  left: 0; }

.dropdown__list:hover {
  background-color: #ffdd6d; }

.dropdown__list a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #333;
  text-decoration: none;
  position: relative; }

.dropdown__list a::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(135deg);
  position: absolute;
  right: -0.5em;
  top: calc(50% - 5px); }

.dropdown__lists.row2 {
  width: 200%; }
  @media screen and (max-width: 800px) {
    .dropdown__lists.row2 {
      width: 310%; } }

.dropdown__lists.row2 .dropdown__list {
  width: 50%; }

.dropdown__lists.line2 .dropdown__list {
  height: auto; }

/******************************************/
/*メインビジュアル*/
/******************************************/
.main-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto; }
  @media screen and (max-width: 800px) {
    .main-box {
      width: 100%;
      flex-direction: column;
      justify-content: flex-start; } }

.agent-main-visual {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_main-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: initial;
  height: 70vw;
  max-height: 620px;
  padding-bottom: 70px;
  display: flex;
  position: relative; }
  @media screen and (max-width: 800px) {
    .agent-main-visual {
      max-height: inherit;
      height: clamp(145vw, calc(100vh - 100px), 170vw);
      padding-bottom: 0; } }
  .agent-main-visual .main-writer {
    position: absolute;
    bottom: -10%;
    left: -6%;
    z-index: 2;
    bottom: -110px; }
    @media screen and (min-width: 1440px) {
      .agent-main-visual .main-writer {
        bottom: -60px; } }
    @media screen and (min-width: 801px) {
      .agent-main-visual .main-writer {
        height: clamp(210px, 20vw, 272px); } }
  .agent-main-visual .main-writer.writer2 {
    left: initial;
    right: -10%; }
    @media screen and (min-width: 801px) {
      .agent-main-visual .main-writer.writer2 {
        right: clamp(-90px, calc(100px - 10vw), 0px); } }
  @media screen and (min-width: 801px) {
    .agent-main-visual .main-writer.kamiya {
      left: clamp(-100px, calc(180px - 17vw), 10px); } }
  .agent-main-visual .main-text {
    display: block;
    margin: clamp(5px, 1vw, 10px) auto clamp(10px, 2.5vw, 25px) !important;
    width: 80%; }
  .agent-main-visual .main-left {
    text-align: center;
    padding: 1em; }
    @media screen and (max-width: 800px) {
      .agent-main-visual .main-left {
        width: 100%;
        padding: 0;
        height: clamp(54vw, 37vh, 73vw);
        display: flex;
        flex-direction: column;
        justify-content: end; } }
    @media screen and (max-width: 800px) {
      .agent-main-visual .main-left h1 {
        margin-top: 0 !important; } }
    @media screen and (min-width: 801px) {
      .agent-main-visual .main-left .sp800 {
        display: none; } }
    @media screen and (max-width: 800px) {
      .agent-main-visual .main-left .sp800 {
        display: block; } }
  @media screen and (max-width: 800px) {
    .agent-main-visual .main-right {
      width: 100%; } }
  .agent-main-visual .main-otoku {
    background: #fffceae6;
    border-radius: 10px;
    padding: clamp(10px, 2vw, 15px) clamp(10px, 2vw, 20px); }
  .agent-main-visual .main-sub-title {
    display: inline-block;
    margin-bottom: 0.5em !important;
    font-weight: bold;
    font-size: clamp(1px, 1.8vw, 18px); }
    @media screen and (max-width: 800px) {
      .agent-main-visual .main-sub-title {
        font-size: clamp(1px, 2.5vw, 18px);
        height: 5vw;
        margin-bottom: 0 !important;
        margin-top: 0; } }
  .agent-main-visual .agent-logo {
    display: block;
    margin-bottom: clamp(20px, 3vw, 36px) !important; }
    @media screen and (max-width: 800px) {
      .agent-main-visual .agent-logo {
        width: 80% !important;
        margin: clamp(1vw, 1vh, 10px) auto 0 !important;
        height: clamp(10vw, 6vh, 64px);
        object-fit: contain; } }
  @media screen and (max-width: 800px) {
    .agent-main-visual img.main-sp {
      display: block;
      width: 100% !important;
      height: clamp(54vw, 37vh, 73vw);
      object-fit: contain;
      object-position: center bottom; } }

@media screen and (max-width: 800px) {
  .page:not(.home) h1, p.main-sub-title, .main-otoku {
    width: 100%;
    margin: auto; } }

img.oka {
  position: absolute;
  bottom: -1px;
  width: 100vw !important;
  height: 70px;
  object-fit: cover; }
  @media screen and (max-width: 800px) {
    img.oka {
      height: auto; } }

/*ロゴ無限ループ*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0); }
  to {
    transform: translateX(-100%); } }
.scroll-infinity {
  margin: clamp(5px, 1vw, 1em) 0 clamp(15px, 3vw, 35px); }
  @media screen and (min-width: 801px) and (max-width: 1440px) {
    .scroll-infinity {
      position: relative;
      top: -20px;
      margin-top: 0; } }

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden; }
  @media screen and (min-width: 801px) and (max-width: 1440px) {
    .scroll-infinity__wrap {
      width: 80%;
      margin: auto; } }

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0; }

.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both; }

.scroll-infinity__item {
  width: calc(100vw / 14); }
  @media screen and (max-width: 1440px) {
    .scroll-infinity__item {
      width: calc(100vw / 10); } }
  @media screen and (max-width: 800px) {
    .scroll-infinity__item {
      width: calc(100vw / 5); } }

.scroll-infinity__item > img {
  width: 100%; }

/******************************************/
/*診断*/
/******************************************/
.shindan-result {
  display: none; }

.shindan-result:has(.service) {
  display: block; }

/******************************************/
/*おすすめ代理店*/
/******************************************/
#osusume {
  position: relative; }
  #osusume:before, #osusume:after {
    content: "";
    position: absolute;
    width: 20%;
    height: 100%;
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bg-kamifubuki.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    top: 0; }
  #osusume:before {
    background-position: left;
    left: 0; }
  #osusume:after {
    background-position: right;
    right: 0;
    transform: scaleX(-1); }
  @media screen and (max-width: 959px) {
    #osusume .inner1200 {
      width: 100%; } }

.osusume3.flex {
  justify-content: space-between;
  align-items: flex-start; }

.osusume-wrap {
  width: calc(33% - 20px); }

.osusume-box {
  position: relative;
  border-radius: clamp(5px, 1vw, 10px);
  padding: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px) clamp(5px, 1vw, 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9e992; }
  .osusume-box .crown {
    display: block;
    position: absolute;
    top: calc(0px - clamp(20px,3vw,30px));
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 8vw, 80px) !important; }
  .osusume-box .kaisen-btn {
    background: #fff;
    border-radius: 5px;
    margin-bottom: clamp(10px, 1.5vw, 15px);
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    filter: drop-shadow(1px 3px 3px #31313120); }
    .osusume-box .kaisen-btn .kaisen-btn-inner {
      width: 100%;
      padding: 5px;
      justify-content: space-around; }
      .osusume-box .kaisen-btn .kaisen-btn-inner .left {
        width: 50%; }
        @media screen and (min-width: 960px) and (max-width: 1200px) {
          .osusume-box .kaisen-btn .kaisen-btn-inner .left {
            width: 100%; } }
      .osusume-box .kaisen-btn .kaisen-btn-inner .right {
        text-align: center;
        line-height: 1.2;
        width: 50%; }
        @media screen and (min-width: 960px) and (max-width: 1200px) {
          .osusume-box .kaisen-btn .kaisen-btn-inner .right {
            width: 100%; } }
      @media screen and (min-width: 960px) and (max-width: 1200px) {
        .osusume-box .kaisen-btn .kaisen-btn-inner {
          flex-direction: column;
          justify-content: center; } }
      @media screen and (max-width: 640px) {
        .osusume-box .kaisen-btn .kaisen-btn-inner {
          justify-content: space-around; } }
    .osusume-box .kaisen-btn .btn-color-right {
      display: flex;
      width: 16px;
      text-align: center;
      background: linear-gradient(180deg, #f99348, #f36a48);
      justify-content: center;
      align-content: center;
      align-items: center;
      border-radius: 0 5px 5px 0; }
      .osusume-box .kaisen-btn .btn-color-right img {
        width: 5px;
        height: 10px; }
  .osusume-box .cb1 {
    display: inline-block;
    letter-spacing: -1px;
    transform: scaleX(0.95); }
  .osusume-box .cb1, .osusume-box .cb3 {
    font-size: clamp(11px, 1.5vw, 13px); }
  .osusume-box .cb1, .osusume-box .cb2 {
    color: #f97946; }
  .osusume-box .cb2 {
    font-size: clamp(18px, 5vw, 26px); }
  .osusume-box .cb3 {
    color: initial; }

#agency-top h3.osusume-title {
  margin: 15px auto clamp(5px, 1vw, 10px) !important;
  font-size: clamp(18px, 6vw, 28px); }

/*スライダー実装に伴い調整********************/
.swiper {
  overflow: initial;
  padding: 36px 0 !important;
  margin-top: -36px; }

.swiper-pagination-bullet-active {
  background: #414141 !important; }

.swiper-button-next, .swiper-button-prev {
  background: #8b8b8bb3 !important;
  width: 32px !important;
  height: 30px !important;
  border-radius: 30px !important; }

.swiper-button-next:after, .swiper-button-prev:after {
  -webkit-transform: rotate(45deg) skew(0deg, 0deg) !important;
  transform: rotate(45deg) skew(0deg, 0deg) !important;
  width: 10px !important;
  height: 10px !important;
  top: -5px !important; }

.swiper-button-prev {
  left: 10px !important; }

.swiper-button-next {
  right: 10px !important; }

@media screen and (min-width: 960px) {
  .swiper-wrapper {
    transform: none !important; }

  .osusume-wrap {
    width: clamp(1px, 32%, 388px) !important; }

  .swiper-button-prev, .swiper-button-next, .swiper-pagination {
    display: none; } }
/******************************************/
/*回線で探す*/
/******************************************/
.bg-kaisen {
  width: clamp(1px, 90%, 1600px);
  margin: clamp(35px, 7vw, 70px) auto 0;
  padding: clamp(30px, 4vw, 40px) clamp(1px, 5%, 50px) clamp(25px, 5vw, 50px);
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bg-kaisen.png);
  background-size: 409px;
  background-repeat: repeat;
  background-color: #feefe1;
  border-radius: clamp(35px, 7vw, 70px) clamp(35px, 7vw, 70px) 0 0; }
  @media screen and (max-width: 640px) {
    .bg-kaisen {
      background-size: 300px;
      width: 100%; } }

@media screen and (max-width: 1200px) {
  #kaisen.inner1200 {
    width: 100%; } }

#kaisen h2 {
  position: relative;
  max-width: 1000px; }
  #kaisen h2:after {
    content: "";
    display: block;
    width: clamp(70px, 18vw, 140px);
    height: clamp(95px, 24vw, 188px);
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/penpen-search.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -1em;
    right: 0;
    filter: drop-shadow(5px 5px 5px #12121210); }

/*タブ*/
.tab-arrow, .tab-arrow2 {
  display: flex;
  flex-wrap: wrap;
  width: 100%; }

/*タブ見出しの設定*/
.tab-arrow > label, .tab-arrow2 > label {
  order: -1;
  position: relative;
  display: flex;
  width: clamp(140px, calc(100% / 6 - 10px), 190px);
  background: #fff;
  margin: 5px 5px 15px;
  border-radius: 5px;
  min-width: 70px;
  font-size: 0.9em;
  text-align: center;
  cursor: pointer;
  filter: drop-shadow(0px 0px 5px #12121210);
  justify-content: center;
  align-items: center; }
  @media screen and (max-width: 1200px) {
    .tab-arrow > label, .tab-arrow2 > label {
      width: clamp(120px, calc(100% / 5 - 10px), 190px); } }
  @media screen and (max-width: 900px) {
    .tab-arrow > label, .tab-arrow2 > label {
      width: clamp(100px, calc(100% / 4 - 10px), 190px); } }
  @media screen and (max-width: 640px) {
    .tab-arrow > label, .tab-arrow2 > label {
      width: clamp(1px, calc(100% / 3 - 10px), 190px); } }
  .tab-arrow > label img, .tab-arrow2 > label img {
    width: 100% !important;
    margin: 0 auto !important;
    object-fit: cover; }

/*ホバーされた時とクリックされた時*/
.tab-arrow > label:hover,
.tab-arrow label:has(:checked) img,
.tab-arrow2 > label:hover,
.tab-arrow2 label:has(:checked) img {
  outline: solid 3px #f99d42;
  border-radius: 5px; }

/*クリックされた時にでる矢印*/
.tab-arrow label:has(:checked)::before,
.tab-arrow2 label:has(:checked)::before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  background-color: #f99d42;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%); }

/*表示しない*/
.tab-arrow input[type="checkbox"],
.tab-arrow2 input[type="radio"] {
  display: none; }

/*デフォルトでは表示しない*/
.tab-arrow2 > div {
  display: none;
  width: 100%; }

.kaisen-erabu-box {
  margin-top: clamp(10px, 2vw, 20px);
  border-radius: 10px;
  padding: 0;
  width: 100%;
  position: relative;
  /*outline: solid 3px #f99d42;*/
  filter: drop-shadow(0px 0px 5px #12121210); }
  @media screen and (max-width: 640px) {
    .kaisen-erabu-box {
      width: 100%;
      min-width: initial;
      padding-top: 60px; } }
  .kaisen-erabu-box .kaisen-erabu-inner {
    width: 100%; }
  .kaisen-erabu-box .kaisenerabu-box-inner {
    align-items: stretch;
    justify-content: flex-start; }
  .kaisen-erabu-box .box1 {
    width: 31%;
    min-width: 280px;
    background: #fffbe5;
    text-align: center;
    padding: 0 clamp(5px, 1vw, 10px) clamp(5px, 1vw, 10px);
    border-radius: 10px 0 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; }
    @media screen and (max-width: 640px) {
      .kaisen-erabu-box .box1 {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 120vw;
        min-width: initial;
        position: absolute;
        top: 0;
        height: 60px;
        padding: 0;
        border-radius: 10px 10px 0 0;
        border-bottom: solid 1px #ddd; }
        .kaisen-erabu-box .box1 img.logo {
          width: 34vw;
          height: 100%;
          object-fit: contain;
          margin: 0; }
        .kaisen-erabu-box .box1 p {
          width: 36vw;
          font-size: clamp(10px, 2.5vw, 14px);
          margin: 0 !important;
          padding: 0;
          white-space: nowrap; }
        .kaisen-erabu-box .box1 .btn-orange.btn-m {
          width: 18vw;
          height: 30px;
          border-radius: 30px;
          margin: 0;
          font-size: clamp(1px, 3vw, 16px); }
        .kaisen-erabu-box .box1 .btn-orange:after {
          content: none; } }
  @media screen and (max-width: 640px) {
    .kaisen-erabu-box.box2in .box1 {
      width: 80vw; } }
  @media screen and (max-width: 640px) {
    .kaisen-erabu-box.box2in .box1 p {
      width: 26vw; } }
  .kaisen-erabu-box .box2 {
    font-weight: bold;
    font-size: clamp(12px, 1.5vw, 14px);
    width: 8%;
    min-width: 78px;
    padding: 10px 5px;
    text-align: center; }
    .kaisen-erabu-box .box2 div {
      display: flex;
      justify-content: center;
      align-items: center;
      line-height: 1.2; }
  .kaisen-erabu-box .box3 {
    position: relative;
    width: 23%;
    min-width: 200px;
    text-align: center;
    padding: clamp(5px, 1vw, 10px);
    border-left: solid 1px #ddd;
    background: #fff;
    display: flex;
    justify-content: center; }
    @media screen and (max-width: 640px) {
      .kaisen-erabu-box .box3 {
        width: 40vw;
        min-width: 40vw;
        padding-bottom: 1em; } }
  @media screen and (max-width: 640px) {
    .kaisen-erabu-box .box3:nth-child(2) {
      border-radius: 0 0 0 10px;
      border-left: none; } }
  .kaisen-erabu-box .box3:last-child {
    border-radius: 0 10px 10px 0; }
    @media screen and (max-width: 640px) {
      .kaisen-erabu-box .box3:last-child {
        border-radius: 0 0 10px 0; } }
  @media screen and (max-width: 640px) {
    .kaisen-erabu-box .column1 .box1 {
      width: 100%;
      padding-right: 3%; } }
  @media screen and (max-width: 640px) {
    .kaisen-erabu-box .column1 .box3 {
      width: 100%;
      min-width: 100%;
      border-radius: 0 0 10px 10px !important; } }
  .kaisen-erabu-box .logo {
    width: clamp(120px, 90%, 270px); }
  .kaisen-erabu-box .title {
    font-size: clamp(11px, 3.8vw, 20px);
    font-weight: bold;
    min-height: 3em;
    display: flex;
    justify-content: center;
    align-items: center; }
  .kaisen-erabu-box .btn-orange {
    margin: clamp(4px, 1vw, 8px) auto; }
  .kaisen-erabu-box .star {
    margin-bottom: 8px; }
    .kaisen-erabu-box .star img {
      width: 15px !important; }
  .kaisen-erabu-box .cb2 {
    line-height: 1.1;
    margin-bottom: 8px; }
    .kaisen-erabu-box .cb2 .number {
      font-size: clamp(22px, 5vw, 30px); }
  .kaisen-erabu-box .cb3 {
    font-size: clamp(10px, 3vw, 16px); }

/*クリックされたら表示*/
.tab-arrow2 label:has(:checked) + div {
  display: block; }

/* デフォルト非表示 */
.tab-arrow .tab-card {
  display: none; }

/* checked に応じて表示 */
.tab-arrow:has(input#tab-sb-hikari:checked) .tab-card-sb-hikari,
.tab-arrow:has(input#tab-au:checked) .tab-card-au,
.tab-arrow:has(input#tab-biglobe:checked) .tab-card-biglobe,
.tab-arrow:has(input#tab-docomo-hikari:checked) .tab-card-docomo-hikari,
.tab-arrow:has(input#tab-nifty:checked) .tab-card-nifty,
.tab-arrow:has(input#tab-tcom:checked) .tab-card-tcom,
.tab-arrow:has(input#tab-commufa:checked) .tab-card-commufa,
.tab-arrow:has(input#tab-megaegg:checked) .tab-card-megaegg,
.tab-arrow:has(input#tab-pikara:checked) .tab-card-pikara,
.tab-arrow:has(input#tab-bbiq:checked) .tab-card-bbiq,
.tab-arrow:has(input#tab-nuro:checked) .tab-card-nuro,
.tab-arrow:has(input#tab-gmo:checked) .tab-card-gmo {
  display: block; }

@media screen and (max-width: 1100px) {
  #kaisen .c-scrollHint.sp_ {
    display: block !important;
    width: 100%;
    margin: 0.5em 0 0; } }

@media screen and (max-width: 1100px) {
  #kaisen .scroll-box {
    overflow-x: scroll;
    width: 100%; } }

.coupon-fuki {
  position: absolute;
  width: 90%;
  height: 1.5em;
  left: 5%;
  top: -0.5em;
  background: linear-gradient(290deg, #8fc540 60%, #b7eb6d 84%, #8fc540 84%, #8fc540);
  background-size: 200% 100%;
  background-position: -1000% 0;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  filter: drop-shadow(0px 0px 2px #12121220);
  animation: shine 3s infinite ease;
  font-size: clamp(15px, 1.4vw, 18px);
  display: flex;
  justify-content: center; }
  @media screen and (max-width: 640px) {
    .coupon-fuki {
      font-size: clamp(10px, 3vw, 15px); } }
  .coupon-fuki:before {
    position: absolute;
    bottom: calc(0px - clamp(5px, 1vw, 10px) + 1px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(10px, 2vw, 20px);
    height: clamp(5px, 1vw, 10px);
    background-color: #8fc540;
    content: '';
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: drop-shadow(0px 0px 2px #12121220); }

@keyframes shine {
  0% {
    background-position: -100% 0; }
  100% {
    background-position: 100% 0; } }
/******************************************/
/*キャンペーンで探す*/
/******************************************/
.cb-bnr {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0.5em 2em 0.5em 140px;
  border-radius: 5px;
  color: #333333;
  margin-bottom: 10px;
  filter: drop-shadow(1px 3px 3px #31313120); }
  @media screen and (max-width: 1500px) {
    .cb-bnr {
      padding: 0.5em 2em 0.5em 1em; } }
  @media screen and (min-width: 641px) and (max-width: 1500px) {
    .cb-bnr {
      height: 9em; } }
  .cb-bnr:after {
    content: "";
    position: absolute;
    width: clamp(10px, 1vw, 16px);
    height: clamp(10px, 1vw, 16px);
    right: clamp(5px, 1vw, 10px);
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/yajirushi.svg);
    background-size: clamp(10px, 1vw, 16px);
    background-repeat: no-repeat;
    transition: 0.2s ease;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0px 0px 2px #12121220); }
  .cb-bnr .img {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex; }
    @media screen and (max-width: 1500px) {
      .cb-bnr .img {
        width: clamp(70px, 13vw, 81px);
        height: clamp(72px, 13vw, 84px);
        top: -12px;
        object-fit: contain; } }
  .cb-bnr .title {
    font-size: clamp(14px, 3.5vw, 20px);
    font-weight: bold;
    border-bottom: dotted 2px #31313161;
    margin-bottom: 0.5em; }
    @media screen and (max-width: 1500px) {
      .cb-bnr .title {
        padding-left: clamp(65px, 13vw, 80px);
        padding-bottom: 0.3em;
        line-height: 1.4;
        height: 3.2em;
        display: flex;
        align-items: center;
        width: 100%; } }
  .cb-bnr .text {
    font-weight: bold;
    line-height: 1.4;
    font-size: clamp(13px, 3vw, 16px); }
    @media screen and (min-width: 641px) and (max-width: 1500px) {
      .cb-bnr .text {
        height: 3em; } }

.cb-bnr.bnr1 {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bnr-bg-yellow.png);
  background-color: #fff19b; }

.cb-bnr.bnr2 {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bnr-bg-green.png);
  background-color: #c2d618; }

.cb-bnr.bnr3 {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bnr-bg-pink.png);
  background-color: #ffc4df; }

.cb-bnr.bnr4 {
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bnr-bg-blue.png);
  background-color: #76d6f4;
  background-position: bottom 40% center; }

#cashback .inner1200 {
  position: relative;
  z-index: 2; }
  @media screen and (max-width: 1200px) {
    #cashback .inner1200 {
      width: 100%; } }
@media screen and (max-width: 959px) {
  #cashback .w50box {
    width: 100%; } }
#cashback h2 {
  position: relative; }
  @media screen and (max-width: 640px) {
    #cashback h2:after {
      content: "";
      display: block;
      width: clamp(48px, 17vw, 121px);
      height: clamp(99px, 36vw, 236px);
      background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/writer1-gift.svg);
      background-size: contain;
      background-repeat: no-repeat;
      position: absolute;
      top: calc(0px - clamp(10px, 3vw, 2em));
      left: -10px;
      filter: drop-shadow(5px 5px 5px #12121210); } }
#cashback .hito {
  position: relative; }
  @media screen and (min-width: 641px) and (max-width: 1021px) {
    #cashback .hito {
      text-align: left; } }
  @media screen and (min-width: 641px) {
    #cashback .hito {
      width: clamp(1px, 90%, 1000px);
      padding-left: clamp(48px, 17vw, 121px);
      margin: 2em auto; } }
  @media screen and (min-width: 1022px) {
    #cashback .hito {
      padding: 0 clamp(48px, 17vw, 121px); } }
  @media screen and (min-width: 641px) {
    #cashback .hito:after {
      content: "";
      display: block;
      width: clamp(48px, 17vw, 121px);
      height: clamp(99px, 36vw, 236px);
      background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/writer1-gift.svg);
      background-size: contain;
      background-repeat: no-repeat;
      position: absolute;
      top: calc(0px - clamp(1px ,4vw, 60px));
      left: -10px;
      filter: drop-shadow(5px 5px 5px #12121210); } }

.after-anime:after {
  transform: translateY(200px);
  opacity: 0; }

.after-anime.is-animated:after {
  animation: poyoyon 0.5s linear forwards; }

@keyframes poyoyon {
  0% {
    transform: translateY(200px);
    opacity: 0; }
  50% {
    transform: translateY(-10px); }
  80% {
    transform: translateY(20px); }
  100% {
    transform: translateY(0); }
  20%,100% {
    opacity: 1; } }
/******************************************/
/*チェックリスト配布*/
/******************************************/
.bg-checklist {
  width: clamp(1px, 90%, 1600px);
  margin: 0 auto;
  padding: clamp(15px, 3vw, 30px) clamp(1px, 5%, 50px);
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bg-bnr.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #fae67f;
  border-radius: 0 0 clamp(35px, 7vw, 70px) clamp(35px, 7vw, 70px);
  position: relative;
  z-index: 2; }
  @media screen and (max-width: 640px) {
    .bg-checklist {
      width: 100%;
      padding: clamp(15px, 3vw, 30px) clamp(1px, 2%, 50px); } }

#checklist {
  position: relative; }
  @media screen and (max-width: 640px) {
    #checklist {
      margin-top: calc(0px - clamp(20px,7vw,30px)) !important; } }
  #checklist h2 {
    margin: clamp(30px, 8vw, 50px) auto clamp(10px, 1vw, 15px) !important; }
  #checklist .left {
    width: 30%;
    max-width: 270px;
    margin-top: -60px; }
    @media screen and (max-width: 640px) {
      #checklist .left {
        width: 0; } }
  #checklist img.checklist-img {
    position: absolute;
    top: calc(0px - clamp(30px,5vw,60px));
    width: clamp(55px, 33vw, 239px); }
    @media screen and (max-width: 800px) {
      #checklist img.checklist-img {
        left: -9vw; } }
    @media screen and (max-width: 640px) {
      #checklist img.checklist-img {
        left: -33vw;
        transform: rotate(-10deg); } }
  #checklist .right {
    width: 70%;
    min-height: 190px;
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; }
    @media screen and (max-width: 640px) {
      #checklist .right {
        width: 100%;
        min-height: initial; } }
  #checklist .tab-arrow2 {
    justify-content: center; }
  #checklist .kaisen-erabu-box {
    margin: clamp(10px, 2vw, 20px) auto clamp(20px, 3vw, 30px);
    background: #fdf6d6;
    border-radius: 10px;
    padding: 20px 10px 10px;
    min-width: initial; }
  #checklist .table-box {
    width: 96%;
    margin: 1em auto;
    background: #fff;
    border-radius: 5px; }
  #checklist table.line {
    width: 90%;
    margin: auto; }
    #checklist table.line tr {
      border-bottom: 2px dotted #ddd; }
      #checklist table.line tr:last-child {
        border: none; }
    #checklist table.line td, #checklist table.line th {
      vertical-align: middle;
      padding: 5px; }
    #checklist table.line td {
      font-size: clamp(10px, 2.5vw, 15px); }
      #checklist table.line td a {
        display: flex; }
        #checklist table.line td a:hover {
          opacity: 0.7;
          cursor: pointer; }
    #checklist table.line img.pdf {
      width: 30px;
      height: 40px;
      object-fit: contain; }
  @media screen and (min-width: 641px) and (max-width: 800px) {
    #checklist .tb:not(.sp) {
      display: initial !important; } }
  @media screen and (max-width: 640px) {
    #checklist .tab-arrow2 {
      margin-top: calc(0px - clamp(20px,7vw,30px)) !important; } }

/******************************************/
/*みんなの口コミ*/
/******************************************/
.bg-review {
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f1f1f1 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f1f1f1 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  margin-top: calc(0px - clamp(1px,6vw,100px)); }

#review {
  padding-top: calc(clamp(1px,6vw,100px) + clamp(25px, 5vw, 50px)); }
  #review h2 {
    display: flex;
    justify-content: center;
    align-items: center; }
    #review h2 .midashi-s {
      margin: 0 0.5em 0; }
  #review .glsr-reviews {
    margin: auto;
    width: 90%;
    max-width: 900px; }
  #review .glsr-review {
    background: #fffbe9;
    padding: 1em 1em 1em calc(clamp(100px, 18%, 180px) + 2em);
    border-radius: 7px;
    position: relative;
    min-height: 10.5em; }
    #review .glsr-review p {
      margin: 0; }
  #review .glsr-review-title {
    position: absolute;
    width: clamp(100px, 18%, 180px);
    background: #ffffff;
    height: 8.5em;
    left: 1em;
    border-radius: 5px;
    border: solid 1px #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; }
    #review .glsr-review-title:before {
      content: "";
      display: inline-block;
      width: 100%;
      height: 50px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      margin-top: 10px; }
    #review .glsr-review-title:after {
      content: "";
      display: inline-block;
      width: 100%;
      height: initial;
      text-align: center;
      font-size: clamp(11px, 1.2vw, 13px);
      color: #888; }
  #review .glsr-review-content {
    width: 100%;
    height: 6em;
    font-size: 15px; }
  #review .glsr-tag-value {
    font-size: 15px; }
  #review .post_content h4.glsr-tag-value {
    position: absolute;
    bottom: 0;
    margin: 0 5% 0.5em !important;
    border: none;
    background: #3986e4;
    width: 90%;
    border-radius: 3px;
    padding: 3px;
    color: #fff;
    font-size: clamp(10px, 1.2vw, 13px);
    text-align: center;
    height: 2.8em;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center; }
  #review .glsr-default .glsr-review-rating, #review .glsr-default .glsr-review-date {
    align-items: flex-start;
    height: 1.8em;
    margin-top: 0.4em; }
  #review .glsr-review-author {
    position: absolute;
    left: calc(clamp(100px, 18%, 180px) + 2em + 14em);
    top: 1.4em;
    color: #8f8d85; }
    #review .glsr-review-author:after {
      content: "さん";
      position: relative;
      left: -8px;
      font-size: 15px; }
  #review .term-196 .glsr-review-title:after {
    content: "SoftBank 光"; }
  #review .term-196 .glsr-review-title:before {
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/logo_sb-hikari.png); }
  #review .term-197 .glsr-review-title:after {
    content: "auひかり"; }
  #review .term-197 .glsr-review-title:before {
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/logo_au.png); }
  #review .term-198 .glsr-review-title:after {
    content: "BIGLOBE光"; }
  #review .term-198 .glsr-review-title:before {
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/logo_biglobe.png); }
  #review .term-199 .glsr-review-title:after {
    content: "ドコモ光"; }
  #review .term-199 .glsr-review-title:before {
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/logo_docomo.png); }
  #review .term-200 .glsr-review-title:after {
    content: "NURO光"; }
  #review .term-200 .glsr-review-title:before {
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/logo_nuro.png); }
  #review .term-201 .glsr-review-title:after {
    content: none; }
  #review .term-201 .glsr-review-title:before {
    content: "その他";
    font-size: 20px;
    font-weight: bold;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px; }
  #review h2.screen-reader-text {
    display: none; }

.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: flex-start; }

.pagination [class*=page-numbers] {
  width: 36px; }

.post_content .nav-links > :first-child, .nav-links > :first-child {
  margin-top: 4px !important; }

.accordion-btn {
  position: relative;
  height: 50px;
  font-weight: bold;
  font-size: clamp(17px, 3vw, 20px);
  text-align: center;
  color: #f27a22;
  border-bottom: 2px solid #f27a22;
  cursor: pointer; }
  .accordion-btn:hover {
    opacity: 0.7; }
  .accordion-btn:after {
    content: "";
    position: absolute;
    width: clamp(8px, 2vw, 12px);
    height: clamp(8px, 2vw, 12px);
    right: clamp(10px, 2vw, 20px);
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/sankaku2.svg);
    background-size: clamp(4px, 1vw, 6px);
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.2s ease;
    top: 50%;
    transform: translate(0, -50%) rotate(90deg); }
  .accordion-btn span {
    display: flex;
    justify-content: center;
    align-items: center; }
    .accordion-btn span:before {
      content: "";
      position: relative;
      background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_pencil.svg);
      display: inline-block;
      width: 50px;
      height: 50px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center; }

.accordion-btn-input:checked + label .accordion-btn:after {
  transform: translate(0, -50%) rotate(270deg); }

.glsr-default form.glsr-form label.glsr-label {
  font-size: clamp(15px, 3vw, 17px); }

.review-form-box label.glsr-label,
#agency-top .review-form-box h3.border-left,
#agency-top .agency-review-form h3 {
  text-align: left;
  font-size: 1rem !important;
  margin: clamp(8px, 1.5vw, 15px) 0 clamp(5px, 1vw, 10px) !important; }

#agency-top .review-form-box h3.border-left:before {
  content: none; }

.review-form-box select#js_selectToggle {
  width: clamp(160px, 80%, 300px);
  height: 2em;
  font-size: 0.9rem;
  margin-bottom: 1em; }

.page:not(.home) .selectCont_body .p-blogParts.post_content {
  margin-top: 0 !important; }
  @media screen and (max-width: 800px) {
    .page:not(.home) .selectCont_body .p-blogParts.post_content {
      margin-top: 0 !important; } }

span.glsr-toggle {
  margin: 1em 0; }

/* セレクトボックスのカスタマイズ */
.selectCont {
  display: none; }

.selectCont.is_active {
  display: revert; }

/*アコーディオン*/
.accordion-btn-input {
  display: none !important; }

.accordion-btn-input + label + .acordion-contents {
  display: none; }

.accordion-btn-input:checked + label + .acordion-contents {
  display: block; }

.accordionbox label {
  display: block;
  margin: 10px 0;
  padding: 5px 10px;
  background: #006b87;
  cursor: pointer; }

.accordion-btn-input + label + .acordion-contents {
  height: 0;
  overflow: hidden; }

.accordion-btn-input:checked + label + .acordion-contents {
  padding: 1.5em 0 1em;
  height: auto; }

.accordion div {
  transition: all 0.5s ease-out 0s; }

.p-articleFoot:before {
  content: none !important; }

.bg-review {
  padding-bottom: clamp(35px, 7vw, 70px); }

/***********************************************************/
/*新着記事 新着キャンペーン情報
/***********************************************************/
#new-post, #news {
  padding: clamp(50px, 7vw, 70px) clamp(1px, 5%, 50px) clamp(25px, 5vw, 50px);
  position: relative; }
  #new-post .p-postList.p-postList, #news .p-postList.p-postList {
    margin-bottom: clamp(15px, 3vw, 30px); }
  #new-post .-type-simple .p-postList__link, #news .-type-simple .p-postList__link {
    padding: 0; }
  #new-post h2.p-postList__title, #news h2.p-postList__title {
    text-align: left;
    margin: 0.5em 0 0 0 !important; }
  #new-post h2.top-h2, #news h2.top-h2 {
    padding-top: 70px; }
  #new-post .p-postList .p-postList__body, #news .p-postList .p-postList__body {
    padding: 1em 1em; }
  #new-post ul.p-postList.-type-card.-pc-col.-sp-col1, #news ul.p-postList.-type-card.-pc-col.-sp-col1 {
    max-width: 1500px;
    margin: auto; }
  #new-post .p-postList.-type-card, #new-post .p-postList.-type-thumb, #news .p-postList.-type-card, #news .p-postList.-type-thumb {
    justify-content: space-between; }
  #new-post .inner, #news .inner {
    position: relative;
    top: -220px;
    padding-bottom: 4em; }
  #new-post .-type-card .p-postList__item, #news .-type-card .p-postList__item {
    margin: 0;
    margin-top: 0;
    padding: 0;
    width: calc(33% - 1.5em);
    max-width: 400px;
    display: flex;
    align-items: flex-start; }
  @media screen and (max-width: 959px) {
    #new-post .p-postList__meta, #news .p-postList__meta {
      flex-direction: column; } }
  #new-post .p-postList__times.c-postTimes, #news .p-postList__times.c-postTimes {
    min-width: 100px; }
  #new-post h2.p-postList__title, #news h2.p-postList__title {
    font-size: 1rem !important;
    background: initial !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; }
  #new-post .popular-wrap, #news .popular-wrap {
    position: relative;
    width: 94%;
    max-width: 1600px;
    margin: auto; }
    @media screen and (max-width: 800px) {
      #new-post .popular-wrap, #news .popular-wrap {
        width: 100%;
        padding-bottom: 30px; } }
  #new-post img.midashi-img, #news img.midashi-img {
    position: absolute;
    top: -50px;
    transform: translateY(-80%);
    height: clamp(100px, 13vw, 180px);
    z-index: -1;
    right: 3%; }
  #new-post pre.prism.off-numbers.language-plane, #news pre.prism.off-numbers.language-plane {
    overflow: initial !important; }
  #new-post .popular-wrap .p-postList__item, #news .popular-wrap .p-postList__item {
    width: 100% !important;
    padding: 0; }
  #new-post a.p-postList__link, #news a.p-postList__link {
    width: 100%; }

#new-post {
  margin-top: calc(0px - clamp(1px,6vw,100px));
  padding-top: calc(clamp(1px,6vw,100px) + clamp(35px, 7vw, 70px));
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/bg-ivory.png);
  background-size: 120px;
  background-repeat: repeat;
  background-color: #f7f4eb; }
  #new-post h2.hito {
    position: relative;
    width: clamp(1px, 90%, 1000px); }
    #new-post h2.hito:after {
      content: "";
      display: block;
      width: clamp(48px, 17vw, 121px);
      height: clamp(99px, 36vw, 236px);
      background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/writer2-file.svg);
      background-size: contain;
      background-repeat: no-repeat;
      position: absolute;
      top: calc(0px - clamp(30px,10vw,90px));
      right: 0;
      filter: drop-shadow(5px 5px 5px #12121210);
      z-index: 2; }
  #new-post .p-postList.p-postList {
    margin-bottom: clamp(15px, 3vw, 30px);
    background-color: #fcf7eb;
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/bg-ivory.png);
    position: relative;
    z-index: 3; }

.p-postList__item.new-mark .p-postList__times.c-postTimes:after {
  content: "NEW";
  position: relative;
  background: #f7912c;
  color: #fff;
  padding: 2px 5px;
  line-height: 1;
  border-radius: 3px; }

#news .p-postList__meta {
  font-size: 12px; }
#news .tag {
  display: inline-block;
  background: #414141;
  color: #fff;
  min-width: 8em;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 3px;
  text-align: center; }
#news .news-title {
  font-size: clamp(14px, 1.2vw, 15px); }

/*max640***************************/
@media screen and (max-width: 640px) {
  #new-post, #news {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0; }
    #new-post .inner, #news .inner {
      padding-bottom: 0px; }
    #new-post .p-postListWrap, #news .p-postListWrap {
      padding: 0; }
    #new-post .popular-wrap, #news .popular-wrap {
      width: 94%;
      margin-top: 0; }
    #new-post .p-postList.p-postList, #news .p-postList.p-postList {
      margin-bottom: 20px; }
    #new-post h2.top-h2, #news h2.top-h2 {
      width: 94%;
      padding-top: 0; }
    #new-post .-type-card .p-postList__item, #news .-type-card .p-postList__item {
      width: calc(50% - 0.6em); }
    #new-post pre.prism.off-numbers.language-plane, #news pre.prism.off-numbers.language-plane {
      margin-top: 30px; }
    #new-post li.p-postList__item, #news li.p-postList__item {
      position: relative; }
    #new-post .p-postList__body, #news .p-postList__body {
      padding: 1em 0em; }
    #new-post h2.p-postList__title, #news h2.p-postList__title {
      position: relative; }
    #new-post .-type-list .p-postList__item, #new-post .-type-list .p-postList__body, #news .-type-list .p-postList__item, #news .-type-list .p-postList__body {
      height: clamp(90px, 26vw, 197px); }
    #new-post .-type-list2 .p-postList__link, #new-post .-type-list .p-postList__link, #news .-type-list2 .p-postList__link, #news .-type-list .p-postList__link {
      flex-wrap: nowrap;
      position: absolute;
      top: 0;
      width: 100%; }
    #new-post .post_content pre, #news .post_content pre {
      margin-top: 30px;
      padding: .5em 0 40px; }
    #new-post .p-postList.-type-card .p-postList__title, #news .p-postList.-type-card .p-postList__title {
      font-size: clamp(13px, 2vw, 17px) !important; }

  #new-post.new, #news.new {
    margin: 0 auto 0 !important; }
    #new-post.new .inner, #news.new .inner {
      top: 0px;
      padding-bottom: 0; }
    #new-post.new .popular-wrap, #news.new .popular-wrap {
      margin-top: 0;
      padding-bottom: 40px; }
    #new-post.new h2.top-h2, #news.new h2.top-h2 {
      background: initial !important;
      padding-top: 30px;
      padding-bottom: 0px !important; } }
/***********************************************************/
/*代理店がおすすめな理由
/***********************************************************/
#reason {
  padding: clamp(50px, 7vw, 70px) clamp(1px, 5%, 50px) 100px;
  position: relative;
  background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bg-reason.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #f7f4eb;
  background-attachment: fixed; }
  @media screen and (max-width: 640px) {
    #reason {
      background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/agency_bg-reason-sp.png);
      background-position: bottom; } }
  #reason:before {
    content: "";
    position: absolute;
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/bg-round-white.svg);
    display: block;
    width: 100vw;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    top: -1px;
    left: 0; }
  #reason:after {
    content: "";
    position: absolute;
    background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/penpen-gift.svg);
    display: block;
    width: clamp(120px, 17vw, 263px);
    height: clamp(120px, 16vw, 288px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    bottom: -30px;
    right: calc(50% - clamp(80px, 8vw, 131px) - clamp(100px,40vw,600px));
    z-index: 3;
    animation: step 2s ease-in-out infinite; }
    @media screen and (max-width: 800px) {
      #reason:after {
        right: 0; } }
  @media screen and (max-width: 800px) {
    #reason .text p.center {
      text-align: left; } }
  #reason a.shindan-link {
    position: absolute;
    display: block;
    width: clamp(110px, 8vw, 160px);
    height: clamp(110px, 8vw, 160px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    bottom: 0;
    right: calc(50% + clamp(40px, 4vw, 80px) - clamp(100px,40vw,600px));
    z-index: 5;
    cursor: pointer; }
    @media screen and (max-width: 640px) {
      #reason a.shindan-link {
        right: clamp(90px, 15vw, 233px); } }
    #reason a.shindan-link:hover {
      opacity: 0.8; }
    #reason a.shindan-link .link-bg {
      animation: kurukuru 10s linear infinite; }
    #reason a.shindan-link .link-text {
      position: absolute;
      top: 0;
      left: 0; }
      @media screen and (min-width: 1201px) {
        #reason a.shindan-link .link-text {
          right: 0;
          bottom: 0;
          max-width: 140px;
          width: 100%; } }

/* 回転アニメーションの定義 */
@keyframes kurukuru {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(360deg); } }
/***********************************************************/
/*フッター
/***********************************************************/
#footer.l-footer {
  height: initial;
  text-align: left;
  align-items: flex-start;
  margin-top: -100px !important; }
  @media screen and (max-width: 640px) {
    #footer.l-footer {
      margin-top: -120px !important; } }

#footer .footer-midashi {
  font-size: initial; }
