/* ------概要（スマホ）------ */
.article__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  margin: 150px auto 0;
}

.mainVisual {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

.mainVisual__mainCaption1 {
  color: black;
  font-size: 2.7rem;
  line-height: 1.5;
}

.mainVisual__a {
  font-size: 3rem;
  line-height: 1.3;
  color: var(--primary-green);
}

.mainVisual__b {
  font-size: 2.2rem;
  line-height: 0.5;
}

.mainVisual__mainCaption2 {
  font-size: 1.7rem;
  line-height:2.1;
  margin-top: 20px;
}

.mainVisual__txt1 {
  background-color: #FFE600;
}

.honshi {
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
  width: 335px;
  margin-top: 40px;
}

.mainVisual__txt2 {
  margin-top: 50px;
  text-align: justify;
  color: black;
  font-weight: 500;
  line-height: 2;
}

.ukiukibtn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 100%;
  color: var(--primary-white, #FDFDFD);
  background-color: var(--primary-green, #00972D);
  border-radius: 50px;
  margin: 20px 5%;
  font-size: 2rem;
}

.ukiukibtn:hover {
  color: var(--primary-green);
  background-color: var(--primary-white);
  border: 3px solid var(--primary-green,  #00972D);
}

.mainVisual__pc {
  display: none;
}


/* ------概要（PC）------ */
@media screen and (min-width: 769px) { 

  .article__header {
    margin: 200px auto 0;
  }

  .mainVisual {
    display: none;
  }

  .mainVisual__pc {
    display: block;
  }

  .mainVisual__pcVisual {
    display: flex;
    align-items: center;
    gap:clamp(40px,5.55vw,80px); 
  }

  .mainVisual__mainCaption1 {
    font-size:clamp(3rem,2.98vw,4.3rem); 
    line-height:1.5;
  }

  .mainVisual__a {
    font-size:clamp(3.4rem,3.26vw,4.7rem); 
  }

  .mainVisual__b {
    font-size:clamp(2.2rem,2.43vw,3.5rem); 
  }

  .mainVisual__mainCaption2 {
    font-size:clamp(1.7rem,1.52vw,2.2rem); 
    line-height: 2;
    margin-top: 30px;
  }

  .mainVisual__txt1 {
    font-size:clamp(1.7rem,1.73vw,2.5rem); 
    line-height: 1.8;
  }

  .mainVisual__txt2 {
    max-width:clamp(320px,33.3vw,480px); 
    margin-top: 20px;
  }
      
  .honshi {
    margin-top: 0;
    width:clamp(260px,34vw,490px); 
    height: auto;
  }

  .ukiukibtn {
    margin: 30px 0 0;
  }
}


/* ------スライダー（スマホ）------ */
.slider__pc {
  display: none;
}

.slider {
  margin: 100px auto;
}

.slider img {
  padding-right: 20px;
  min-width: 100%;
}

.slick-track {
  display: flex !important;
  align-items: center !important;
}

/* ------スライダー（PC）------ */
@media screen and (min-width: 769px) {
  .slider__pc {
    display: block;
    margin-top: 150px;
  }

  .slider {
    display: none;
  }

  .slider__pc img {
    padding-right: 40px;
    min-width: 100%;
  }

  .slick-track {
    display: flex !important;
    align-items: center !important;
  }
}

/* ------発行部数（スマホ）------ */

.section--numberArea {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 100px auto 0;
  padding: 0 5%;
}

.numberArea__newsPaper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.numberArea__busuu {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.numberArea__busuuMainCaption {
  font-size: 3rem;
  line-height: 1.3;
}

.numberArea__87960 {
  font-size: 8.7rem;
  line-height: 1;
  margin-top: 20px;
}

.numberArea__bu {
  font-size:3.7rem;
}

.numberArea__6paper {
  font-size:2.2rem;
  line-height: 1;
  margin-top:20px;
}

.circleBox {
  display: flex;
  gap: 4px;
  margin-top: 20px;
}

.circle {
  width: 52px;
  height: 52px;
  border-radius: 100px;
  background-color: var(--primary-green, #00972D);
  color: var(--primary-white, #FDFDFD);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map {
  width: 100%;
  max-width: 500px;
  margin-top:50px;
}

/* ------発行部数（PC）------ */
@media screen and (min-width: 600px) { 
  .section--numberArea {
    margin-top: 150px;
    flex-direction: row;
    gap:clamp(40px,5.55vw,80px);
  }

  .numberArea__newsPaper {
    margin: 0;
    padding: 0;
  }

  .numberArea__busuuMainCaption {
    font-size:clamp(3rem,2.77vw,4rem);
    margin-top: -5px;
  }

  .numberArea__87960 {
    font-size:clamp(8.5rem,8.33vw,12rem);
  }

  .numberArea__bu {
    font-size:clamp(4rem,3.47vw,5rem);
  }

  .numberArea__6paper {
    font-size:clamp(2.2rem,2.15vw,3.1rem);
  }

  .circleBox {
    display: flex;
    gap:clamp(3px,0.41vw,6px);
  }

  .circle {
    font-size:clamp(1.3rem,1.25vw,1.8rem);
    width:clamp(50px,4.86vw,70px);
    height:clamp(50px,4.86vw,70px);
  }

  .map {
    margin-top:clamp(30px,3.12vw,45px);
    width:clamp(330px,34.7vw,500px);
  }
}


/* ------配布エリア（スマホ）------ */
.numberArea__city {
  margin-top: 100px;
  text-align: center;
}

.numberArea__cityMainCaption {
  font-size: 3rem;
  line-height: 1;
}

.numberArea__mainCaption {
  font-size: 3rem;
  line-height: 1.5;
}

.numberArea__cityItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.numberArea__txt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  margin: 40px 0 40px 0;
  position: relative;
  width:335px;
}

.numberArea__txt:not(:last-child)::after{
  content: '';
  position: absolute;
  width:335px;
  height: 1px;
  display: inline-block;
  background-color: var(--primary-green);
  bottom: -20px;
}

.numberArea__city1Txt {
  font-size:2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width:120px;
  height:120px;
  border-radius: 100px;
  color: var(--primary-white, #FDFDFD);
  background-color: var(--primary-green, #00972D);
}

.numberArea__city2Txt {
  font-size:2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width:120px;
  height:120px;
  border-radius: 100px;
  border: 3px solid var(--primary-green,  #00972D);
  background-color: var(--primary-white, #FDFDFD);
}

.numberArea__busuu {
  font-size:3rem;
  line-height:1.5;
}

.zeniki {
  font-size:2rem;
  line-height: 1.5;
}

.koushinbi {
  font-weight: 400;
  color: var(--primary-green,  #00972D);
}

/* ------配布エリア（PC）------ */
@media screen and (min-width: 600px) {
  .numberArea__city {
    margin-top: 0;
    text-align: left;
  }

  .numberArea__txt {
    width:clamp(210px,23.2vw,335px);
  }

  .numberArea__txt:not(:last-child)::after{
    width:clamp(210px,23.2vw,335px);
  }

  .numberArea__city1Txt {
    font-size:clamp(1.5rem,1.38vw,2rem);
    width:clamp(70px,8.33vw,120px);
    height:clamp(70px,8.33vw,120px);
  }

  .numberArea__city2Txt {
    font-size:clamp(1.5rem,1.38vw,2rem);
    width:clamp(70px,8.33vw,120px);
    height:clamp(70px,8.33vw,120px);
  }

  .numberArea__busuu {
    font-size:clamp(2rem,2.08vw,3rem);
  }

  .zeniki {
    font-size:clamp(1.5rem,1.38vw,2rem);
  }
}


/* ------ラック（スマホ）------ */
.rack {
  padding: 50px 5% 50px;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 151, 45, 0.1);
}

.rack__mainCaption {
  font-size:2.7rem;
  line-height: 1.5;
}

.rack__under {
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 0.625rem;
}

.rack__txt {
  line-height: 1.9;
  margin-top: 20px;
}

.rackImg {
  width: auto;
  height: 100%;
  margin-top: 30px;
}


/* ------ラック（PC）------ */
@media screen and (min-width: 706px) {
  .rack {
    margin-top: 100px;
    padding: 70px 10% 70px;
    flex-direction: row;
    justify-content: center;
    gap:clamp(30px,4.86vw,70px);
  }

  .rackImg {
    display: block;
    min-width: 200px;
    height: 100%;
    margin-top: 0px;
  }
}


@media screen and (min-width: 706px) and (max-width: 1055px) { 
  .rack__mainCaption {
    line-height: 1.9;
  }
}


/* ------広告掲載について（スマホ）------ */
.section--advertising {
  background-color: rgb(255, 166, 0);
  padding: 70px 0 120px;
}

.advertising__mainCaption {
  font-size: 2.7rem;
  line-height: 1.5;
  text-align: center;
  color: black;
}

.advertising {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 140px;
  margin-top: 30px;
}

.advertising :nth-of-type(2),
.advertising :nth-of-type(4) {
  flex-direction: column-reverse;
}

.advertising__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advertising__img {
  width: 100%;
}

.advertising__point1 {
  background: rgba(0, 0, 0, 0.70);
  margin: -50px 20px;
  padding: 40px;
}

.advertising__point2 {
  background: rgba(0, 0, 0, 0.70);
  margin: -50px 20px;
  padding: 40px;
}

.advertising__midashi {
  font-size: 3rem;
  line-height: 1.5;
  text-align: center;
  color: var(--primary-white);
}

.advertising__txt {
  font-weight: 500;
  line-height: 2;
  margin-top: 20px;
  color: var(--primary-white);
  text-align: justify;
}

/* ------広告掲載について（PC）------ */
@media screen and (min-width: 769px) {
  .section--advertising {
    padding: 150px 10%;
  }

  .advertising__mainCaption {
    font-size: 3.5rem;
    line-height: 1;
  }

  .dvertising__dan1 {
    display: none;
  }

  .advertising {
    margin-top: 100px;
    gap: 100px;
  }

  .advertising :nth-of-type(2),
  .advertising :nth-of-type(4) {
  flex-direction: row;
  }
  
  .advertising__item {
    flex-direction: row;
    position: relative; /* 絶対配置の基準 */
    max-width: 1152px;
  }

  .advertising__dan2 {
    display: none;
  }

  .advertising__img {
    width: 550px;
    height: auto;
  }

  .advertising__point1 {
    min-width: 350px;
    align-items: center;
    z-index: 2;
    margin: 0 -98px 0 0;
  }  

  .advertising__point2 {
    min-width: 350px;
    align-items: center;
    z-index: 2;
    margin: 0 0 0 -98px;
  }

  .advertising__midashi {
    font-size:3rem;
    font-weight: 700;
    text-align: left;
    line-height: 4.5rem;
  }

  .advertising__txt{
    line-height: 2.1;
  }

  @media (max-width: 1100px) {
    .advertising__point1 {
      margin-right: -100px;
    }
  }

  @media (max-width: 1050px) {
    .advertising__point1 {
      margin-right: -150px;
    }
  }

  @media (max-width: 1000px) {
    .advertising__point1 {
      margin-right: -200px;
    }
  }


  @media (max-width: 1100px) {
    .advertising__point2 {
      margin-left: -100px;
    }
  }

  @media (max-width: 1050px) {
    .advertising__point2 {
      margin-left: -150px;
    }
  }

  @media (max-width: 1000px) {
    .advertising__point2 {
      margin-left: -200px;
    }
  }
}


/* ------掲載の流れ（スマホ）------ */
.section--flow {
  background-color: var(--primary-green, #00972D);
  color: var(--primary-white);
  padding: 100px 5% 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow__mainCaption {
  color: var(--primary-white);
  font-size: 3rem;
  line-height: 1;
}

.flow__container {
  margin-top: 50px;
}

.flow__item {
  margin: 0 auto 37px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px 20px;
  box-shadow: inset 0 0 0 3px var(--primary-white);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

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

.flow__no {
  font-size: 4rem;
  line-height: 1;
}

.flow__step {
  font-size: 2.3rem;
  line-height: 1.5;
  text-align: center;
  margin-top: 15px;
  color: #FFE600;
}

.flow__txt {
  font-weight: 500;
  line-height: 2;
  margin-top: 20px;
  text-align: justify;
}

/* ↓線をつなぐ部分：最後の要素以外に縦線を追加 */
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 40px;
  background: white;
}

/* 注釈 */
.flow__miniTxt {
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 20px;
  text-align: justify;
}


/* ------掲載の流れ（PC）------ */
@media screen and (min-width: 1000px) { 
  .section--flow {
    padding: 100px 10% 50px;
  }

  .flow__container {
    margin-top: 80px;
  }

  .flow__item {
    margin: 0 auto 35px;
    text-align: center;
    padding: 0 30px 0 0;
    flex-direction: row;
    box-shadow: inset 0 0 0 5px var(--primary-white);
  }

  .flow__no {
    font-size: 10rem;
    width: 160px;
  }

  .flow__step {
    text-align: left;
    margin-top: 30px;
  }

  .flow__txt {
    width: 646px;
    margin: 15px 0 30px;
    text-align: justify;
  }

  .flow__item:not(:last-child)::after {
    width: 5px;
  }
}


/* ------クリック時のポジション------ */

#numberArea {
  scroll-margin-top: 180px;
}

@media screen and (min-width: 600px) {
  #numberArea {
    scroll-margin-top: 250px;
  }
}


#advertising {
  scroll-margin-top: 70px;
}

@media screen and (min-width: 769px) {
  #advertising {
    scroll-margin-top: 100px;
  }
}


#flow {
  scroll-margin-top: 80px;
}

@media screen and (min-width: 769px) {
  #flow {
    scroll-margin-top: 100px;
  }
}