* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ページ全体の基本設定 */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  padding: 20px;
}

/* ヘッダーエリアのスタイル */
header {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #2c3e50;
}

header p {
  font-size: 1.2em;
  color: #7f8c8d;
}


.main-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 1; /* PC用 */
  overflow: hidden;
}

.main-visual picture,
.main-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.visual-button {
  position: absolute;
  bottom: 8%; /* 上にしたいなら数値を増やす（例：12%） */
  left: 50%;
  transform: translateX(-50%);
  background-color: #f39c12;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.visual-button:hover {
  background-color: #e67e22;
}

/* タブレット用：3:2に */
@media screen and (max-width: 991px) and (min-width: 600px) {
  .main-visual {
    aspect-ratio: 3 / 2;
  }
}

/* スマホ用：4:5に */
@media screen and (max-width: 599px) {
  .main-visual {
    aspect-ratio: 375 / 563;
  }

  .visual-button {
    bottom: 7%;
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}



/* CTAボタンのスタイル */
.cta-button {
  display: inline-block;
  background-color: #f39c12;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e67e22;
}

/* 各セクション共通のボックススタイル */
section {
  background-color: #ffffff;
  padding: 30px 20px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

section h2 {
  font-size: 1.6em;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}
section p {
  font-size: 1em;
  color: #555;
  text-align: center;
  margin-bottom: 15px;
}

/* キャンペーン詳細のレイアウト */
.campaign-details {
  background-color: #f8f8f8;
  padding: 40px 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.campaign-text {
  flex: 1 1 50%;
}

.campaign-text h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 15px;
  border-left: 5px solid #2980b9;
  padding-left: 12px;
}

.campaign-text p {
  font-size: 1em;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

.campaign-img {
  flex: 1 1 45%;
}

.campaign-img img {
  width: 90%;
  max-width: 450px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.img-caption {
  font-size: 0.9em;
  color: #666;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 16px;
}

section p,
section li {
  font-size: 1em;
  margin-bottom: 10px;
  color: #555;
}

ol {
　font-size: 1em;
  line-height: 1.6;
  color: #555;
  padding-left: 20px;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}


.campaign-header h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.campaign-header p {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}





.campaign-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}



.campaign-details ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.campaign-details li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}

.campaign-details p {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 10px;
}



/* Splideスライダー内の画像設定 */
.splide__slide img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  display: block;
}
.splide {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}


.example-posts img {
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/*Swiper縺ｮ蛻晄悄蛹悶せ繧ｯ繝ｪ繝励ヨ  */


/*Swiper蟆ら畑CSS */

  .post-examples {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .post-examples h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #2c3e50;
  }

  .post-examples p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
  }

  .swiper-slide img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    object-fit: cover;
  }
/* Splideスライダーのスライド要素 */
.splide__slide {
  padding: 0 !important;
  margin: 0 !important;
}

.splide__slide img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  display: block;
}
/* スライドリスト（画像の隙間設定） */
.splide__list {
  gap: 0 !important;
}


.btn-center {
	display: block;
  text-align: center;
  width: 100%;
  margin-top: 20px;
}

.apply-button {
  display: inline-block;
  background-color: #2980b9;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.apply-button:hover {
  background-color: #1c5980;
}



footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #999;
}

.sns-share {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.sns-share p {
  font-size: 1em;
  margin-bottom: 16px;
  color: #333;
}

.sns-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sns-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sns-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.sns-icon.instagram { background-color: #E1306C; }
.sns-icon.twitter   { background-color: #1DA1F2; }
.sns-icon.facebook  { background-color: #4267B2; }
.sns-icon.line      { background-color: #00B900; }

.campaign-notes {
  padding-left: 1.2em;
  list-style: disc;
  color: #555;
  line-height: 1.6;
}


/* ===== タブレット表示用のスタイル（600px〜991px） ===== */
@media screen and (max-width: 991px) and (min-width: 600px) {
/* ファーストビュー（メインビジュアル） */
  .hero {
    height: 50vh;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text .subtext {
    font-size: 1.2rem;
  }

  .hero-text .big {
    font-size: 1.4em;
  }

  .hero-text .period {
    font-size: 1rem;
  }
	

/* CTAボタンのスタイル */
  .cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }

  header h1 {
    font-size: 1.7em;
  }

  header p {
    font-size: 1.1em;
  }

  section h2 {
    font-size: 1.3em;
  }

  
/* Splideスライダー内の画像設定 */
  .splide__slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .campaign-text, .campaign-img {
    flex: 1 1 100%;
  }
  .example-posts img {
    max-width: 150px;
  }
  .campaign-img img {
    width: 85%;

    max-width: 380px;
  }

  .campaign-text h2 {
    font-size: 1.6em;
  }

  .campaign-text p {
    font-size: 0.95em;
  }

  section p,
  section li {
    font-size: 0.95em;
  }

  .apply-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}
  

  .campaign-image img {
    max-width: 320px;
  }

  .campaign-header h2 {
    font-size: 1.6em;
  }
}


/* ===== スマートフォン表示用のスタイル（〜599px） ===== */
@media screen and (max-width: 599px) {
/* ファーストビュー（メインビジュアル） */
  .hero {
    height: 45vh;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text .big {
    font-size: 1.05em;
  }

  .hero-text .subtext {
    font-size: 0.95rem;
  }

  .hero-text .period {
    font-size: 0.85rem;
  }

  .cta-button {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 12px;
    text-align: center;
  }
	

/* ページ全体の基本設定 */
  body {
    padding: 15px;
  }

  header h1 {
    font-size: 1.5em;
  }

  header p {
    font-size: 1em;
  }

  section h2 {
    font-size: 1.2em;
  }

  

  .campaign-text h2 {
    font-size: 1.4em;
  }

  .campaign-text p {
    font-size: 0.9em;
  }
/* Splideスライダー内の画像設定 */
  .splide__slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .campaign-img {
    margin-top: 20px;
  }

  .campaign-img img {
    width: 80%;
    max-width: 320px;
    margin-top: 20px;
  }

  section p,
  section li {
    font-size: 0.9em;
  }
.example-posts img {
    max-width: 120px;
  }
  .apply-button {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1em;
    text-align: center;
  }
	 

  .campaign-image img {
    max-width: 280px;
    margin-top: 20px;
  }

  .campaign-header h2 {
    font-size: 1.4em;
  }

  .campaign-details p,
  .campaign-details li {
    font-size: 0.9em;
  }

  .apply-button {
    width: 100%;
    padding: 14px;
    font-size: 1em;
  }
}

/* ===== タブレット表示用のスタイル（600px〜991px） ===== */
@media screen and (max-width: 991px) and (min-width: 600px) {
/* Splideスライダーのスライド要素 */
  .splide__slide {
    padding: 0 4px;
  }
}


/* ===== スマートフォン表示用のスタイル（〜599px） ===== */
@media screen and (max-width: 599px) {
/* Splideスライダーのスライド要素 */
  .splide__slide {
    padding: 0 6px;
  }
}

/* PCサイズ（デフォルト） */
.hero {
  background-image: url('https://gigaplus.makeshop.jp/loward/lp/PID_inst/image/bunner-1-min.jpg');
}

/* タブレット用（600px〜991px） */
@media screen and (max-width: 991px) and (min-width: 600px) {
  .hero {
    background-image: url('https://gigaplus.makeshop.jp/loward/lp/PID_inst/image/bunner-2-min.jpg');
  }
}

/* スマホ用（〜599px） */
@media screen and (max-width: 599px) {
  .hero {
    background-image: url('https://gigaplus.makeshop.jp/loward/lp/PID_inst/image/bunner-3-min.jpg');
  }
}


.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
