html, body {
  margin: 0;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
  scroll-snap-type: y mandatory; /* 垂直方向にスナップ */
  overflow-y: scroll;
}

/*ヘッダー --------------------------------*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  background-color: #3171b9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 30px;
  box-sizing: border-box;
  z-index: 1000;
}

.logo {
  width: 500px;
  height: 88px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 30px;
  margin: 10px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff8c00;
}

.nav-contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85em;
  color: white;
}

.contact-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-row span {
  white-space: nowrap;
}

/*コンテンツフィールド-------------------------------------*/

.contents-field {
  height: calc(100vh - 88px);
  box-sizing: border-box;
  margin-top:80px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.contents-field h1 {
  text-align: left;
  font-size: 2.7em;
  max-width: 100%;
  margin-top: 60px;
}

/*スクロールアニメ---------------------------------*/

.scroll-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: sans-serif;
  color: white;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.scroll-down .arrow {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(8px) rotate(-45deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/*セクション共通*/
#home, #motto, #sponsorship, #products, #service, #company{
  scroll-margin-top: 88px;
}
 #contact{
	   scroll-margin-top: 100px;
	 }


/*home----------------------------------------*/

#home {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  scroll-snap-align: start;
  scroll-margin-top: 88px;
  padding: 0;
}

#home p {
  text-align: left;
}

#home p,
#home ul {
  max-width: 100%;
}

#home ul {
  margin-bottom: 1em;
}

 #home .cta {
  display: inline-block;
  padding: 12px 24px; /* ← 余白をしっかり持たせてボタンらしく */
  background-color: #ff8c00;
  color: white;
  border-radius: 35px;
  font-size: 1rem; /* ← フォントサイズを明示 */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
  transition: all 0.3s ease; /* ← ホバー時の滑らかな変化 */
}

#home .cta:hover {
  background-color: #e67600; /* ← 少し濃くして反応感を出す */
  transform: translateY(-2px); /* ← 浮き上がるような動き */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

#home .cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.text-box {	
  text-align: left;
  background-color: rgba(0, 73, 144, 0.3);
  border-radius: 8px;
  width: 770px;
  margin-left: 40px;
  margin-top: 20px;
  padding: 20px 30px;
  color: #fff;
}

.text-box h1 {
  margin-top: 30px;
  font-size: 70px;
}

.text-box p {
  font-size: 18px;
}

.headline {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.4;
  text-align: center;
  color: white;
}

/* PC表示：1行 */
.pc {
  display: inline;
}

.sp {
  display: none;
}
/*#motto------------------------------------------*/

section #motto {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ← 上下に自然に配置 */
  align-items: center;
  padding: 40px 20px; /* ← 上下に余白を持たせる */
  box-sizing: border-box;
  background: linear-gradient(135deg, #f5faf5 0%, #eaf5ec 100%);
  color: #dde1f0;
}

#motto-wrap {
	padding-left:40px;
}
	
#motto h1 {
  font-size: 4rem;
  margin: 0.5rem 0;
    color: #104d82;
}

#motto h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  text-align: center;
  max-width: 100%;
    color: #104d82;
}

section #motto p,
section #motto ul {
  max-width: 100%;
}

section #motto ul {
  margin-bottom: 1em;
}

section #motto p {
  text-align: left;
    color: #104d82;
}

.motto-blocks {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-content: flex-start;
  max-width: 100%;
  max-height: 45vh; /* ← 高さを制限して画面内に収める */
  overflow: hidden; /* ← スクロールを防ぐ */
  margin-top: 1rem;
  padding-bottom: 130px;
}

.motto-item {
  flex: 1 1 300px;
  background: #fff;
  color: #1c1c1c;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  text-align: left;
  overflow:hidden;
}

.motto-item h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #104d82;
}

.motto-item p {
  font-size: 0.95em;
  line-height: 1.5em;
}
/*#netshop -------------------*/

.netshop {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.netshop_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 0;
}

.top-section {
  display: flex;
  flex: 0.7; /* 上部70% */
  align-items: center;
  overflow: hidden;
}

.text-block {
  width: 60%;
  padding: 40px;
  box-sizing: border-box;
}

.bottom-section {
  display: flex;
  flex: 0.3;
  justify-content: center;
  align-items: center;
}

.text-block h2 {
  font-size: 35px;
  margin-bottom: 0.5em;
color: #104d82;
}

.text-block p {
  font-size: 18px;
  line-height: 1.6;
}

.line {
  height: 1px;
    background-color:#104d82;
  margin: 20px 0;
}

.image-block {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.image-block img {
  max-height: 80%; 
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.bottom-section {
  flex: 0.3; /* 下部30% */
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-button {
  flex: 0.9;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem; /* 大きめの文字 */
  font-weight: bold;
  text-decoration: none;
  color: white;
  border: none;
  border-radius: 6px;
  transition: opacity 0.3s ease;
    margin: 0px 20px 20px ;
}

.shop-button:hover {
  opacity: 0.85;
    color: aliceblue;
    top: 2px;
  box-shadow: 0 2px 0 #005A9E;
}

/* ブランド別カラー */
.shop-button.yahoo {
  background-color: #CC0F00; 
}

.shop-button.rakuten {
  background-color: #ff6600; 
}


/*#sponsorship ---------------------*/

 #sponsorship {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 上下に自然に配置 */
  padding: 60px 40px; /* 上下に余白を持たせる */
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-margin-top: 88px;
  background-color: #1c1c1c; /* 背景色がある場合は明示 */
}

section #sponsorship p,
section  #sponsorship ul {
  max-width: 800px;
}

section #sponsorship ul {
  margin-bottom: 1em;
}

.sponsorship-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom:120px;
}

.sponsorship-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem); /* ← より大きく、PCで最大3.6remまで拡張 */
  line-height: 1.3;
  max-width: 18em; /* ← 幅を制限して2行に分ける */
  margin: 0 0 1rem 0; /* ← 左寄せにするためautoを外す */
  text-align: left;
  word-break: keep-all;
  color:#FFF;
}

#sponsorship p {
  width: 450px;
  color: #F5F5F5;
  font-size: 15px;
  text-align: left;
  background-color: rgba(30, 30, 0, 0.1);
  margin: 0.5rem 10px;
}

#sponsorship a {
  margin-top: 0;
  margin-left: 10px;
}

 #sponsorship .cta {
  display: inline-block;
  padding: 12px 24px; /* ← 余白をしっかり持たせてボタンらしく */
  background-color: #ff8c00;
  color: white;
  border-radius: 35px;
  font-size: 1rem; /* ← フォントサイズを明示 */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← 影を強めて立体感 */
  transition: all 0.3s ease; /* ← ホバー時の滑らかな変化 */
}

#sponsorship .cta:hover {
  background-color: #e67600; /* ← 少し濃くして反応感を出す */
  transform: translateY(-2px); /* ← 浮き上がるような動き */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

#sponsorship .cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/*product-----------------------------*/

.section #products {
  position: relative;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-margin-top: 88px;
  padding-top: 20px;
  box-sizing: border-box;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  height: calc(100vh - 88px);
}

#products h1 {
  font-size: 40px;
  color: #FFF;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}

#products h3 {
  border-bottom: 1px solid orange;
  padding-bottom: 2px;
}

.products-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  min-height:65vh;
  gap: 20px;
  padding: 20px;
  text-align: center;
}

.products-item-main,
.products-item-top-right,
.products-item-bottom-right,
.products-item-extra {
  background-color: #FFF;
  padding: 15px;
  color: #333;
  min-height: 200px;
  border-radius: 8px;
}

.products-item-main {
  grid-column: 1;
  grid-row: 1;
}

.products-item-top-right {
  grid-column: 1;
  grid-row: 2;
}

.products-item-extra {
  grid-column: 2;
  grid-row: 2;
}
section #products h2 {
  font-size: 1.2em;
}

section #products p,
section #products ul {
  max-width: 800px;
}

section #products ul {
  margin-bottom: 1em;
}

section #products p {
  text-align: left;
}

.products-footer {
	  flex: 0 0 5%;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
	  margin-top: 0px;
	  padding-top: 0px;
}

#products .cta {
  display:inline-block;/* ← inline-block だと text-align の影響を受けにくい */
  padding: 12px 24px; /* ← 余白をしっかり持たせてボタンらしく */
  background-color: #ff8c00;
  color: white;
  border-radius: 35px;
  font-size: 1rem; /* ← フォントサイズを明示 */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← 影を強めて立体感 */
  transition: all 0.3s ease; /* ← ホバー時の滑らかな変化 */
  margin: auto;
  text-align:center;
  margin-bottom:50px;
}

#products .cta:hover {
  background-color: #e67600; /* ← 少し濃くして反応感を出す */
  transform: translateY(-2px); /* ← 浮き上がるような動き */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

#products .cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/*----SERVIC-------------*/

#service h2 {
  font-size: 1.2em;
}

#service p,
#service ul {
  max-width: 800px;
}

#service ul {
  margin-bottom: 1em;
}

#service {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #f9f9f9;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  scroll-margin-top: 88px;
}
.service-header h1 {
  font-size: 2.8rem;
  text-align: center;
  margin-top:0px;
  margin-bottom: 0px;
  color: #004d99;
  border-bottom: 2px solid #004d99;
  display: inline-block;
}

.service-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px; 
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
  padding-bottom: 0px;
}

.service-blocks > div {
  background: #fff;
  border-radius: 12px;
    padding: 20px;
  width: 100%; 
  box-sizing: border-box;
}


.service-blocks h2 {
  font-size: 1.6rem;
  color: #0077cc;
  border-left: 5px solid #0077cc;
  padding-left: 10px;
}

.service-blocks p {
  font-size: 1rem;
  line-height: 1.8;
}

.service-header {
      flex: 0 0 5%;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #3171b9;
      text-align: center;
}

.service-header h1 {
     font-size: 2rem;
      color: white;
    }
	
.service-footer {
	  flex: 0 0 5%;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #2872cc;
      text-align: center;
	  margin-top: 0px;
	  padding-top: 0px;
}
.service-one,
.service-two
{
      flex: 0.1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0px;
	  margin:0;
      text-align: center;
	  border-bottom:#F90 solid;
    }

    .service-one {
      background-color: #f0f8ff;
    }

    .service-two {
      background-color: #e6f2ff;
    }

.service-footer .cta {
  display: inline-block;
  padding: 12px 24px;  /* ← 余白をしっかり持たせてボタンらしく */
  margin-top:5px;
  background-color: #ff8c00;
  color: white;
  border-radius: 35px;
  font-size: 1rem; /* ← フォントサイズを明示 */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← 影を強めて立体感 */
  transition: all 0.3s ease; /* ← ホバー時の滑らかな変化 */
}

.service-footer .cta:hover {
  background-color: #e67600; /* ← 少し濃くして反応感を出す */
  transform: translateY(-2px); /* ← 浮き上がるような動き */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.service-footer .cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/*#contac---------------------------------------------- */

#contact {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  box-sizing: border-box;
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  scroll-margin-top: 88px; /* ← これが重要 */
  padding: 100px 2rem 2rem 2rem; /* ← 上部余白を確保 */
  min-height: 70vh;
}

 .contact-main {
	  min-height: 75vh;
	  text-align: right;
  justify-content:flex-end;
}

.contact-main p{
	font-size:24px;
	}

#contact H3{
  font-size:50px;
  margin: 0;
  color:#36C;
 }

#contact H4{
	font-size:50px;
	margin: 0;
	color: #30F;
}

#contact .ctc {
  display: inline-block;
  padding: 30px 150px; 
  margin-top:5px;
  background-color: #ff8c00;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← 影を強めて立体感 */
  transition: all 0.3s ease; /* ← ホバー時の滑らかな変化 */
  text-align:center;
}

#contact .ctc:hover {
  background-color: #e67600; /* ← 少し濃くして反応感を出す */
  transform: translateY(-2px); /* ← 浮き上がるような動き */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

#contact .ctc:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.return_top{
	display:block;
	text-align:center;
}
	
.return_top .ctb {
  display: inline-block;
  padding: 12px 24px;  /* ← 余白をしっかり持たせてボタンらしく */
  margin-top:5px;
  background-color: #2c88f2;
  color: white;
  border-radius: 35px;
  font-size: 1rem; /* ← フォントサイズを明示 */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ← 影を強めて立体感 */
  transition: all 0.3s ease; /* ← ホバー時の滑らかな変化 */
  text-align:center;
  margin: 5px;
}

 .ctb:hover {
  background-color: #065ec4; /* ← 少し濃くして反応感を出す */
  transform: translateY(-2px); /* ← 浮き上がるような動き */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.ctb:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

footer {
  background-color: #3171b9;
  color: #fff;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left{
  flex: 1 1 300px;
  margin: 10px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 15px;
}

.footer-left p:first-child {
  margin-top: 5px; /* h4と同じ高さに揃える */
}

.footer-right {
  flex: 1 1 300px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-right h4 {
  font-size: 16px;
  margin: 5px 0; /* 上下の余白を左と揃える */
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}

.sitemap {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap li {
  margin: 6px 0;
}

.sitemap a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.sitemap a:hover {
  opacity: 0.7;
}

/* 初期状態（PCでは非表示） */
.menu-toggle {
  display: none;
}

/*スマホ対応--------------------------*/

@media screen and (max-width: 768px) {
  /* ヘッダーは固定のまま */
  
  header {
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    padding: 0 15px;
  }

  .menu-toggle {
	  font-family: 'Segoe UI', 'Arial', sans-serif;
    display: block;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 25px;
    z-index: 1100;
	color:#FFF;
  transition: all 0.3s ease;
  }
  
  .menu-toggle.open::before {
  content: "X"; /* 閉じるアイコンに変更 */
}

  /* メニューはスライドダウン */
  .nav-container {
    position: absolute;
    top: 80px; /* headerの下から展開 */
    left: 0;
    width: 100%;
    background:#3171b9;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
	margin: 0;
    padding: 0;
  }

  .nav-container.active {
    max-height: 800px; /* メニューの高さに応じて調整 */
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #eee;
     color: #fff;
    text-align: center;
  }

  .nav-contact-info {
    padding: 10px 15px;
    color: #fff; /* ← 白文字 */
  }

  /* セクション高さを自然に */
  #home, #motto, #sponsorship, #products, #service, #company, #contact {
    height: auto;
    min-height: 100vh;
  }

.logo img {
  width: 80%;
  height: 100%;
  object-fit: contain;
}
  .company-items {
    flex-direction: row;
  }
  .company-item {
    width: 48%;
  }
}

/*スマホhome--------------------------*/
@media screen and (max-width: 768px) {
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

#home {
  width: 100%;
padding-top: 90px;
margin-top:90px;
}

#home h1 {
    font-size: 3rem; /* 適度なサイズ感 */
    line-height: 1.6;   /* 呼吸感のある行間 */
    margin-bottom: 1rem;
    font-weight: 600;   /* 少し太めで視認性アップ */
    letter-spacing: 0.03em; /* わずかに字間を広げて読みやすく */
  }
.pc {
    display: none;
  }

  .sp {
    display: inline;
    font-size: 2.4rem;
    line-height: 1.5;
  }



.contents-field {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5vw; /* ← 左右に均等な余白 */
  text-align: center;
}

.text-box {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.section-anchor {
  scroll-margin-top: 90px; /* ← ヘッダーの高さ分だけスクロール位置をずらす */
}

  #home .cta {
    font-size: 0.8rem;
    padding: 8px 14px;
    width: 90%;
    max-width: 260px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

/*スマホ#motto------------*/

@media screen and (max-width: 768px) {
  section#motto {
    height: auto; /* 高さ制限を解除して自然なスクロールに */
    padding: 20px 16px;
    justify-content: flex-start; /* 上寄せに変更 */
    align-items: stretch;
  }

  #motto-wrap {
    padding-left: 0;
  }

  #motto h1 {
    font-size: 2rem;
    text-align: center;
  }

  #motto h2 {
    font-size: 1rem;
    text-align: left;
  }

  section#motto p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .motto-blocks {
    flex-direction: column;
    max-height: none; /* 高さ制限解除 */
    overflow: visible; /* スクロール解除 */
    padding-bottom: 0;
    gap: 16px;
  }

  .motto-item {
    max-width: 100%;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .motto-item h3 {
    font-size: 1.1em;
  }

  .motto-item p {
    font-size: 0.9em;
  }
}

/*スマホsponsorship--------------------------*/

@media screen and (max-width: 767px) {
  section#sponsorship {
    height: 900px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .sponsorship-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
    margin-bottom: 24px;	
	}

.sponsorship-header h1 {
    font-size: 1.7rem;
    max-width: 20em; /* ← 文字数ベースで改行位置を制御 */
    line-height: 1.4;
    text-align: left;
    word-break: keep-all;
}
  .sponsorship-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  #sponsorship p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0.4rem 0;
    width: 100%;
    max-width: 380px;
    word-break: break-word;
    text-align: left;
  }

  #sponsorship .cta {
    font-size: 0.8rem;
    padding: 8px 14px;
    width: 90%;
    max-width: 260px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/*スマホnetshop--------------------------*/
@media (max-width: 768px) {
  .top-section {
    flex-direction: column; /* テキストと画像を縦並び */
    flex: unset;
  }

  .text-block {
    width: 100%; /* 横幅いっぱい */
    padding: 20px; /* 余白を少し減らす */
  }

  .text-block h2 {
    font-size: 24px; /* 見出しを縮小 */
  }

  .text-block p {
    font-size: 16px; /* 本文も少し小さめ */
    line-height: 1.5;
  }

  .image-block {
    width: 100%; /* 画像も横幅いっぱい */
    padding: 10px;
  }

  .image-block img {
    max-width: 100%;
    height: auto;
  }

  .bottom-section {
    flex-direction: column; /* ボタンを縦並び */
    gap: 15px; /* ボタン間に余白 */
  }

  .shop-button {
    width: 90%; /* 横幅を広めに */
    height: 60px; /* 高さをスマホ向けに縮小 */
    font-size: 1.2rem; /* 文字サイズも調整 */
    margin: 0 auto; /* 中央寄せ */
  }
}
/*スマホproducts--------------------------*/

@media screen and (max-width: 767px) {
#products .cta {
    font-size: 0.8rem;
    padding: 8px 14px;
    width: 90%;
    max-width: 260px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
	
}
	
/*スマホservice--------------------------*/
@media screen and (max-width: 767px) {

.service-footer .cta {
    font-size: 0.8rem;
    padding: 8px 14px;
    width: 90%;
    max-width: 260px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
	
}
/*contact--------------------------*/
@media screen and (max-width: 767px) {

#contact {
    margin: 0;
    padding: 0;
	height:900px;
  }


.contact-main {
 
    position: relative;
    top: 30px;
	text-align:center;


}

#contact h3{
	font-size:2rem;
	background-color:rgba(253,253, 253, 0.2);
	
	}

#contact h4{
		font-size:1.5rem;
	background-color:rgba(253,253, 253, 0.2);
	}
	
#contact p{
	background-color:rgba(253,253, 253, 0.5);

	}
	
#contact .ctc {
    font-size: 0.8rem;
    padding: 8px 14px;
    width: 90%;
    max-width: 260px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

/*--------------------------*/