@charset "utf-8";

/* リセット */
/* すべての要素に box-sizing とリセット */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* body の基本スタイル */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 17px;
	font-weight: 600;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  color: #000;
}


/* 見出しタグのフォントスタイルリセット */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 100%;
  margin: 0;
  padding: 0;
}

/* リスト・フォームなどのフォントリセット */
ul, ol, li, dl, dt, dd, input, textarea, select, button {
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* デフォルトで表示（パソコン用） */
.sp {
  display: inline;
}

/* スマホ用：非表示（768px以下） */
@media screen and (max-width: 768px) {
  .sp {
    display: none;
  }
}

/* コンテナ全体 */
.container {
  display: flex;
  flex-direction: column;
}

.t-center{text-align: center;}

/***** スライダー ******************************************************************/
.slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #e6e6e5 75%, #1e5694 25%);
  
}
/* 表示領域（マスク） */
.slider-wrapper {
  aspect-ratio: 16 / 9;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
transform: translateZ(0);
}

/* スライダー本体 */
.image-slider {
  display: flex;
  transition: transform 0.8s ease;
   will-change: transform;
  backface-visibility: hidden;
}


/* スライド要素（リンクごと扱う） */
.image-slider a {
  width: 100%;
  flex: 0 0 100%;
}
/* スライド画像 */
.image-slider img {
  width: 101%;
  height: auto;
  display: block;
  background-color:#fff;
}

/* ナビゲーションボタン */
.slider-button {
  position: absolute;
  top: 52%;
  transform: translateY(-52%);
  z-index: 10;
  background: none;     
  border: none;  
  width: 60px; 
  height: 60px;  
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  padding: 0;
}

/* 通常ボタン */
.slider-button.prev {
  left: 12%;
  background-image: url("../image/ico-prev.png");
}
.slider-button.prev:hover {
  background-image: url("../image/ico-prev_o.png");
}

.slider-button.next {
  right: 11%;
  background-image: url("../image/ico-next.png");
}
.slider-button.next:hover {
  background-image: url("../image/ico-next_o.png");
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }

  .right-column {
    display: none !important; /* ← 優先度を高める */
  }

  .left-column {
    width: 100% !important;
    padding: 4rem 0 0 !important;
    margin: 0 !important;
  }

  .content-section {
    margin-left: 0;
    margin-right: 0;
  }

  /* 表示領域（マスク） */
  .slider-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
 /* ナビゲーションボタン */
.slider-button {
  position: absolute;

  width: 25px; 
  height: 25px;  
}

/* prevボタン */
.slider-button.prev {
  left: 5px;
}

/* nextボタン */
.slider-button.next {
  right: 0;

}

}



/* 下部セクション */
.content {
  display: flex;
  width: 100%;
  flex: 1; /* 残り高さを埋める */
  position: relative;
  background-color: #e6e6e5;
}
/***** 左カラム ******************************************************************/
.left-column {
   width: calc(75% - 2%);
  height: auto;
  overflow-y: scroll;
  background-color: #c9caca;
  margin: 0 2% 0 8%;
  position: relative;
　scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
 padding:6rem 0 0;
}


.left-column::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.title{
	display: flex;
	justify-content: center;
}
.button-red{
	font-size: 1.8rem;
	font-weight: 700;
	display: inline-block;
	background-color: #d00c3c;
	color:#fff;
	padding:1.5rem;
	border-radius: 37px;
	width:70%;
	max-width: 500px;
	text-align: center;
}
@media (max-width: 768px) {

.button-red{
	font-size: 1.3rem;
	padding:.5rem 2rem;
	border-radius: 15px;
}	
}
/* section1 */
#section1 .content01{
	width:80%;
	height: auto;
	margin: 3rem auto;
	text-align: center;
}
#section1 .content01 img{
	max-width: 100%;
   height: auto;
  display: inline-block;
}
#section1 .content02{
	width:90%;
	height: auto;
	margin: 3rem auto;
	text-align: center;
}
#section1 .content02 img{
	max-width: 100%;
   height: auto;
  display: inline-block;
}
#section1 .content03{
	width:70%;
	height: auto;
	margin: 3rem auto 2rem;
	text-align: center;
}
#section1 .content03 img{
	max-width: 100%;
   height: auto;
  display: inline-block;

}
#section1 .content04{
	display: flex;
    justify-content: center;
}
#section1 .content04 .textarea{
	border:15px solid #d00c3c;
	border-radius: 18px;
	text-align: center;
	background-color: #fff;
	padding:.5rem 1.8rem 1rem;
	
}
#section1 .content04 .textarea h3{
	color:#d00c3c;
	font-weight: 700;
	font-size: 4rem;
	letter-spacing: 10px;
	line-height: 4.8rem;
	padding-left:.5rem;
}
#section1 .content04 .textarea p:first-child{
	color:#d00c3c;
	font-weight: 800;
	font-size: 1.3rem;
	
}

#section1 .content04 .textarea p:nth-of-type(2){
	font-weight: 700;
	font-size: 1.4rem;
	line-height: 2.5rem;
	letter-spacing: 1px;
}
#section1 .content04 .textarea p:last-child{
	line-height: 2.5rem;
}

#section1 .content05 {
  width: 85%;
  margin: 6rem auto;
}

#section1 .content05 video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
#section1 .content01{
	width:90%;
}
#section1 .content02{
	width:95%;
}
#section1 .content03{
	width:90%;
	margin: 3rem auto 2rem;
}
#section1 .content04{
	width:80%;
	margin: 0 auto;
}
#section1 .content04 .textarea{
	border:7px solid #d00c3c;
	border-radius: 18px;
	padding:.5rem .5rem;
}
#section1 .content04 .textarea h3{
	font-weight: 700;
	font-size: 2rem;
	letter-spacing: 3px;
	line-height: 3.5rem;
	padding-left:0;
}
#section1 .content04 .textarea p:first-child{
	font-weight: 800;
	font-size: 1rem;
}

#section1 .content04 .textarea p:nth-of-type(2){
	font-size: .9rem;
	line-height: 1.8rem;
	letter-spacing: 0;
}
#section1 .content04 .textarea p:last-child{
	line-height: 1.3rem;
	font-size: .85rem;
}
#section1 .content05 {
  width:90%;
  margin: 4rem auto;
}
	
}

/* section2 */
.title-line {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.title-line h2 {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.3rem;
  border-bottom: 6px solid #d00c3c;
  padding-bottom: 0.8rem; 
  margin: 0;
  line-height: 1.2;
}
.title-line .logo {
  font-size: 4.7rem;
  font-weight: 600;
  line-height: 1;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  transform: scaleY(1.08);
  display: inline-block;
  letter-spacing: -2px;
  padding-left:1.5rem;
}

.title-line .logo sup {
  font-size: 0.4em;
  vertical-align: top;
  margin-left: -2px;
}

.title-line .subtext {
  font-size: 1.9rem;
  font-weight: 900;
  margin-top: 0.5rem; /* ← 少し下に下げる */
  line-height: 1.2;
  padding-right: 1.5rem;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .title-line h2 {
  gap: 0.1rem;
  border-bottom: 4px solid #d00c3c;
  padding-bottom: 0.4rem; 
  line-height: 1;
}
  .title-line .logo {
    font-size: 2rem;
	padding-left:1rem;
  }
.title-line .logo sup {
  font-size: 0.3em;
  margin-left: 0;
}

.title-line .subtext {
  font-size: 1.2rem;
  font-weight: 900;
  margin-top: 0.5rem; /* ← 少し下に下げる */
  line-height: 1;
  padding-right: 1rem;
}	
}

#section2 .content01 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC時は2列 */
  gap: 3rem;
  width: 86%;
  margin: 3rem auto;
}

.reason-choosing {
  background-color: #dbdbdb;
  display: flex;
  flex-direction: column;
}

.reason-choosing h3 {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.reason-choosing .no {
  background-color: #d00c3c;
  color: #fff;
  font-weight: 900;
  font-size: 3rem;
  width:70px;
  aspect-ratio: 1;
  display: inline-flex; /* 中央寄せ用に便利 */
  align-items: center;
  justify-content: center;
}

.reason-choosing .sub-title {
  font-weight: 700;
  font-size: 2rem;
}

.reason-choosing .heading {
  font-weight: 700;
  font-size: 1.4rem;
}
.reason-choosing .image-area {
	width:75%;
	height: auto;
	margin: 0 auto;
}
.reason-choosing .image-area img {
  max-width: 100%;
  height: auto;
}

.reason-choosing .comments {
  font-size: 1.1rem;
  line-height: 1.7;
  padding:0 2rem;
  margin-bottom: 1rem;
}

.reason-choosing-2rows {
  width:90%;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  gap: .7rem; 
}
.reason-choosing-2rows .image-area {
  flex: 0 0 55%; /* 調整可 */
}

.reason-choosing-2rows .comments {
  flex: 1; /* 残りのスペースを占める */
  padding:0;
  line-height:2em !important; 
 }

.reason-choosing-2rows .image-area img {
  width: 100%;
  height: auto;
}
.reason-choosing-2rows-4item {
  display: grid;
   grid-template-columns: 45% 55%;
  gap: .5rem;
  width: 90%;
  margin: .7rem auto 0;
}

.toilet-function {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-align: left;
  font-size: 0.9rem;
}

.toilet-function img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.toilet-function p {
  margin: 0;
  line-height: 1.4;
  font-size: 1rem;
}

.reason-choosing-2rows02 {
  width:85%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem; 
}
.reason-choosing-2rows02 .image-area {
  flex: 0 0 55%; /* 調整可 */
  max-width: 130px;
  height: auto;
  margin-left: 3rem;
  margin-right: 1em;
}

.reason-choosing-2rows02 .comments {
  flex: 1; /* 残りのスペースを占める */
  padding:0;
 }

.reason-choosing-2rows .image-area img {
  width: 100%;
  height: auto;
}
.reason-choosing-2rows .comments {
  flex: 1;
  line-height: 1.6;
}
#section2 .content02{
	width:100%;
	height: auto;
	margin: 8rem auto 6rem;
}
#section2 .content02 img{
	width:100%;
	height: auto;
}
#section2 .content03 {
  width: 85%;
  margin: 0 auto 8rem;
}

#section2 .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9アスペクト比（9÷16=0.5625） */
  height: 0;
  overflow: hidden;
}

#section2 .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.kiki{
	font-size: 1.25em;
}
/* レスポンシブ対応：スマホは1列に */

@media screen and (max-width: 1024px) {
  #section2 .content01 {
    grid-template-columns: 1fr;
  }
	
 .reason-choosing h3 {
  gap: 0;
}

.reason-choosing .no {
  font-size: 2.5rem;
  width:60px;
}

.reason-choosing .sub-title {
  font-weight: 700;
  font-size: 2rem;
  padding-left: 10px;

}

.reason-choosing .heading {
  width:100%;
  font-weight: 700;
  font-size: 1.3rem;
  padding-left: 70px;
}
  .reason-choosing .image-area {
	width:90%;

}

.reason-choosing-2rows-4item{
padding-bottom: 1em;		
}
	
.reason-choosing-2rows02 .image-area {
  flex: 0 0 45%; /* 調整可 */
  max-width: 100px;
  height: auto;
  margin-left: 1em;
  margin-right:0;
}

.reason-choosing-2rows02 .comments {
  font-size: 1rem;
}

.reason-choosing-2rows .image-area img {
  width: 100%;
  height: auto;
}
#section2 .content02{
	width:100%;
	height: auto;
	margin: 5rem auto 3rem;
}
#section2 .content03 {
  width: 85%;
  margin: 0 auto 5rem;
}
}
@media screen and (max-width: 390px) {
.reason-choosing-2rows {
  width:100%;
  margin: 1rem auto 0;
  display: block;
}	
.reason-choosing-2rows .comments{
	padding:0 1em;	
	}
.reason-choosing-2rows-4item {
  display: block;
  }
.reason-choosing-2rows-4item div{
	margin-bottom: .8em;
}
.reason-choosing-2rows02 {
  width:100%;
  display: block;
}	
.reason-choosing-2rows02 .image-area{
	margin: 0 auto;
}
.reason-choosing-2rows02 .comments{
	padding:0 1em;	
	}
}
/* section3 section4 section5 共通 */


#section3 h3 ,#section4 h3 ,#section5 h3{
	font-size:2rem;
	font-weight: 700;
	text-align: center;
	margin: 3rem auto 0;
}
.gallery-container {
  display: flex;
  justify-content: center;      
  align-items: flex-end;  
  gap: 2.7rem;
  padding: 0 1rem;
  width: 100%;
  margin: 2rem auto; 
  position: relative;
  left:4.5rem;
}
.gallery-container .main-image {
      width:70%;
	  max-width: 500px;
	  position: relative;
      overflow: hidden;
    }
.gallery-container .main-image img {
      width: 100%;
	  height: auto;
      display: block;
	 transition: transform 0.4s ease;
    }
/* サムネイルスタイル */
.gallery-container .thumbnails {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

.gallery-container .thumbnails img {
      width: 100px;
     cursor: pointer;
      transition: filter 0.3s ease, transform 0.3s ease, border 0.3s ease;
     filter: brightness(1);
     transform: scale(1);
     border: 3px solid transparent; /* 初期は枠なし */
    }
.gallery-container .thumbnails img:hover {
  filter: brightness(1.2);
}
.gallery-container .thumbnails img.active {
  border: 3px solid #004f99;
}
.gallery-text{
  display:block;
  width:70%;
  max-width: 500px;
  margin: 2.5rem auto; 
  left:4.5rem;
}
.gallery-text h4{
	font-size:1.2rem;
	margin-bottom: 2rem;
	text-align: center;
	color:#000;
}
.gallery-text p{
	line-height: 2rem;
}
.gallery-text .onlin-shop-button {
	max-width: 250px;   
	width: 80%;         
	margin: 2rem auto; 
	text-align: center; 
}
.gallery-text .onlin-shop-button a {
  display: block;
  width: 250px; /* 画像サイズに合わせて調整 */
  height: 60px; /* 画像サイズに合わせて調整 */
  background: url('../image/shop_button.png') no-repeat center/contain;
}

.gallery-text .onlin-shop-button a:hover {
  background-image: url('../image/shop_button_o.png');
}

.gallery-text .onlin-shop-button img {
	width: 100%;    
	height: auto;   
	display: block; 
}
/* スマホ用レイアウト */
@media screen and (min-width: 769px) and (max-width: 1024px) {
.gallery-container {
  gap: 1.5rem;
  padding: 0 1rem;
  left:2rem;
}	
}
@media screen and (max-width: 768px) {
/*#section3 ,#section4 ,#section5 {
	margin: 3rem auto 0 2rem;
} */
  .gallery-container {
    flex-direction: column;  /* 縦配置に変更 */
    align-items: center;
    gap: 1rem;
    left: 0; /* 中央寄せ */
  }

  .gallery-container .main-image {
    width: 100%;
    max-width: 100%;
  }

  .gallery-container .thumbnails {
    flex-direction: row;   /* 横並びに */
    justify-content: center;
    gap: 0.8rem;
  }

  .gallery-container .thumbnails img {
    width: 70px; /* タップしやすい大きさ */
  }
}


/* スティッキー */
 .sticky-wrapper {
  position: relative; /* 固定位置の基準 */
}

.sticky-left-button {
  position: absolute; /* 親基準で固定位置を決める */
  top: 100px;
  left: 10%; 
  width: 150px; /* 幅固定で崩れ防止 */
  display: block;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap:3rem;
  z-index: 1000;
}

.sticky-left-button div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap:.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: opacity 0.4s ease;
}

.sticky-left-button img {
  width:100%;
  max-width: 135px;
  height: auto;
  border-radius: 50%;
}
/* 1番目ボタン hover・current */
.sticky-left-button div:nth-child(1) .menu-item:hover img,
.sticky-left-button div:nth-child(1) .menu-item.current img {
  content: url("../image/sticky-button01_o.png");
}

/* 2番目ボタン hover・current */
.sticky-left-button div:nth-child(2) .menu-item:hover img,
.sticky-left-button div:nth-child(2) .menu-item.current img {
  content: url("../image/sticky-button02_o.png");
}

/* 3番目ボタン hover・current */
.sticky-left-button div:nth-child(3) .menu-item:hover img,
.sticky-left-button div:nth-child(3) .menu-item.current img {
  content: url("../image/sticky-button03_o.png");
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
.sticky-left-button {
  left: 0; 
 
}	
}
@media screen and (max-width: 768px) {
.sticky-left-button {
  top: 5em;
  left: 1%; 
  width: 100px; /* 幅固定で崩れ防止 */
  gap:1rem;
  
}

.sticky-left-button div {
  font-size: .7rem;
}

.sticky-left-button img {
  max-width: 80px;

}
}
/* section6*/
#section6 h3{
	font-size:2rem;
	font-weight: 700;
	text-align: center;
	margin: 5rem auto 2.5rem;
}
.qa-contents {
  width:80%;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.question {
  display: flex;
   align-items: center;
  justify-content: left;
  padding: 0;
  cursor: pointer;
  font-weight: bold;
}
.q-icon {
  background: #004f99;
  color: #fff;
  aspect-ratio: 1 / 1; 
  width: 4rem;   
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size:2rem;
}
.q-text {
  background: #dbdbdb;
  line-height: 4rem;
  flex: 1;
  padding-left:1.3rem;
  font-size: 1.2rem;
}
.a-icon {
  background: #d00c3c;
  color: #fff;
  aspect-ratio: 1 / 1; 
  width: 2.5rem;   
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size:1.5rem;
  margin-left: .5rem;
}

.toggle-icon {
  aspect-ratio: 1 / 1; 
  width: 4rem; 
  background-color: #dbdbdb; 
  background-image: url('../image/open-button.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
  flex-shrink: 0;
  margin-left: auto;
}



.question.active .toggle-icon {
  background-image: url('../image/close-button.png');
  margin-left: auto;
}
.answer {
  max-height: 0;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  align-items: flex-start; /* 変更 */
  justify-content: left;
  gap:1.3rem;
  line-height: 2rem;
}
.answer a:hover{
	color:#d00c3c;
}
.answer.open {
  padding: 1rem 3rem 1rem 1rem;
  background-color: transparent;
}
@media screen and (max-width: 1024px) {
.qa-contents:nth-of-type(2) .q-text,
.qa-contents:nth-of-type(4) .q-text,
.qa-contents:nth-of-type(7) .q-text	{
	line-height:2rem;
}
}
@media screen and (max-width: 768px) {
.qa-contents {
  width:90%;
}
.q-icon {
  aspect-ratio: 1 / 1; 
  width: 3rem;   
  font-size:1.8rem;
}
.q-text {
  padding-left:1rem;
  font-size: 1rem;
  line-height: 3rem;
}
.qa-contents:nth-of-type(2) .q-text,
.qa-contents:nth-of-type(4) .q-text,
.qa-contents:nth-of-type(7) .q-text	{
	line-height:3rem;
}
.a-icon {
  width: 2rem;   
  height: 2rem;
  font-size:1.2rem;
  margin-left: 0;
}

.toggle-icon {
  width: 3rem; 
  flex-shrink: 0;
  margin-left: auto;
}
.answer{
 font-size: .9rem;	
  line-height: 1.5rem;
}
.answer.open {
  padding: 1rem;
}	
}
@media screen and (max-width: 390px) {
.qa-contents:not(:nth-of-type(6)):not(:nth-of-type(8)) .q-text {
  line-height: 1.5rem;
}

}
/* section7*/
#section7 .tenpo-button a{
  display: block;
  width: 300px;
  height: 77px;
  margin: 5.5em auto 7rem;
  background: url('../image/tenpo_button.png') no-repeat center/contain;
}

#section7 .tenpo-button a:hover {
  background-image: url('../image/tenpo_button_o.png');
}
#section7 h3{
	font-size:2rem;
	font-weight: 700;
	text-align: center;
	margin: 5rem auto 1rem;
}
#section7 .content01 {
    width:80%;
	margin: 0 auto;
}

#section7 .content01 .news-item {
  display: flex;
  align-items: baseline;
  padding: 1.7rem 2rem 1.7rem 7rem;
  border-top: 5px solid #e6e6e5; 
  gap:2rem;
  font-size: 1.1rem;
}

#section7 .content01 .news-item:last-child {
  border-bottom: 5px solid #e6e6e5; 
}

#section7 .content01 .news-item .day {
   display: inline-block;  /* ← 幅指定を有効にするために必要 */
  width: 150px;
  font-weight: 900;
  white-space: nowrap;
}

#section7 .content01 .news-item .news {
  flex: 1;
}
.news-item .news a {
  display: inline-block;
  text-decoration: none;
}
.news-item .news a:hover {
  color:#d00c3c;
}
@media screen and (max-width: 768px) {
  /* 取扱店舗ボタン */
  #section7 .tenpo-button a {
    width: 90%;
    height: auto;
    aspect-ratio: 300 / 77; /* 比率維持 */
    margin: 3em auto 4rem;
    background-size: contain;
  }

  /* 見出し */
  #section7 h3 {
    font-size: 1.5rem;
    margin: 3rem auto 1rem;
  }

  /* コンテンツ幅 */
  #section7 .content01 {
    width: 95%;
  }

  /* ニュース項目 */
  #section7 .content01 .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem 1rem 1rem;
    gap: 0.5rem;
    font-size: 1rem;
  }

  #section7 .content01 .news-item .day {
    font-size: 0.9rem;
  }

  #section7 .content01 .news-item .news {
    font-size: 1rem;
  }
}

/***** フッター ******************************************************************/
footer {
	width:80%;
	background-color: #fff;
	margin: 10rem auto 0;
	padding:3rem 2rem 0 3rem;
}
footer .content01 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

/* 左側：ロゴとオンラインショップボタン */
footer .content01 .left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  font-size: .8rem;
}

footer .content01 .left .logo-image img {
  max-width: 190px;
  height: auto;
}

footer .content01 .left .onlin-shop-button a {
  display: block;
  width: 130px;
  height: 27px;
  background: url('../image/footer-shop-button.png') no-repeat center/contain;
}

footer .content01 .left .onlin-shop-button a:hover {
  background-image: url('../image/footer-shop-button_o.png');
}
footer .content01 .left a:hover{
	color:#d00c3c;
}
/* 右側：説明テキスト */
footer .content01 .right {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
}
footer .right h2{
	color:#004f99;
	font-size: 1.75rem;
	font-weight: 900;
	text-align: center;
	padding-bottom: .4rem;
	border-bottom: 5px solid #004f99;
}

footer .right .kanri-content01{
	width: 100%;
	display: flex;
	 justify-content: center;
    align-items: center;
	margin: 2rem auto;
	gap:3rem;
}
footer .right .kanri-image {
  flex: 0 0 100px; /* ← 幅50px固定。調整可 */
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .right .kanri-content01 img {
  height: 55px;
  width: auto; /* 画像比率を保持 */
}
footer .right .kanri-textarea{
	display: flex;
    flex-direction: column; 
    gap: 0.3rem; 
     align-items: center;
  justify-content: center;
}
footer .right .kanri-textarea .kanri-text01{
	font-size: 1.5rem;
	font-weight: 700;
}
footer .right .kanri-content02{
	width:100%;
    display: flex;
    flex-direction: column; 
    gap: 0; 
}
footer .right .kanri-content02 .kanri-text03{
	color:#fff;
	background-color: #004f99;
	padding:.5rem 1.5rem;
	font-size:1.3rem;
}
footer .right .kanri-content02 .kanri-text04{
	background-color: #e6e6e5;
	padding:1rem 1.5rem;
}
footer .content02 {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0;
  margin-top: 1rem;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  footer {
    width: 95%;
    margin-top: 5rem;
    padding: 2rem 1rem 0;
  }

  footer .content01 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  /* 左側：ロゴとボタン */
  footer .content01 .left {
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
  }

  footer .content01 .left .logo-image img {
    max-width: 150px;
    height: auto;
  }

  /* 右側：見出し */
  footer .right h2 {
    font-size: 1.3rem;
    border-bottom-width: 3px;
    padding-bottom: 0.3rem;
  }

  /* 管理医療機器部分 */
  footer .right .kanri-content01 {
    flex-direction: column;   
    align-items: center;   
    margin: 1.5rem auto;
    gap: 0.8rem;
  }

  footer .right .kanri-image {
    flex: 0 0 auto; /* 固定幅解除 */
  }

  footer .right .kanri-content01 img {
    height: 45px;
    width: auto;
  }

  footer .right .kanri-textarea {
    align-items: center;
    text-align: center;
    gap: 0.2rem;
  }

  footer .right .kanri-textarea .kanri-text01 {
    font-size: 1.1rem;
  }

  footer .right .kanri-content02 {
    margin-top: 1rem;
  }

  footer .right .kanri-content02 .kanri-text03 {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }

  footer .right .kanri-content02 .kanri-text04 {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    text-align: left;
  }

  /* コピーライト */
  footer .content02 {
    font-size: 0.7rem;
    margin-top: 1.5rem;
  }
}
/***** 右カラム ******************************************************************/
.right-column {
  width: 25%;
  background-color: #1e5694;
  color: white;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding-top: 1rem;
  overflow: hidden;
  font-size: 0.9rem;
}

/* メニュー */
.right-column nav {
  width: 90%;
  max-width: 230px;
  margin: 0 auto;
  position: relative;
}
.menu nav a {
  display: block;
  margin: 1rem auto;
  padding: 8px 10px;
  position: relative;
}

/* ボタン */
.menu nav li a {
  display: block;
  border-radius: 90px;
  color: white;
  text-decoration: none;
  border: 2px solid #fff;
  box-sizing: border-box;
  overflow: visible;
}

.menu nav a:hover,
.menu nav a.current {
  background-color: #d00c3c;
  border: 2px solid #d00c3c;
}

/* 擬似アイコン */
.menu nav a:hover::before,
.menu nav a.current::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -30px;
  transform: translateY(-50%);
  width: 27px;
  height: 28px;
  background-image: url("../image/menu-over-ico.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* 画像エリア */
.right-dynamicarea {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0;
  gap: 0.7rem;
}
.image-left {
  flex: 0 0 70%;
  display: flex;
  justify-content: right;
  align-items: center;
}
.image-right {
  flex: 0 0 30%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.image-left img {
  max-width: 90%;
  max-height: 205px;
  height: auto;
  display: block;
  object-fit: contain;
}
.image-right img {
  max-width: 60%;
  max-height: 75px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 下部エリア —— absolute禁止／flexで下に落とす */
.right-bottom {
  position: static !important;
  margin-top: auto; /* ★ これで常に最下部 */
  width: 100%;
}

/* SHOP エリア */
.right-shoparea {
  width: 90%;
  margin: 1em auto 0;
}
.right-shoparea a img {
  width: 100%;
  height: auto;
}

/* SNS エリア */
.right-snsarea {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 1rem;
}
.right-snsarea div {
  width: 33.333%;
  text-align: left;
}
.right-snsarea div a img {
  height: 25px;
  transition: opacity 0.3s ease;
}
.right-snsarea:hover div a img {
  opacity: 0.4;
}
.right-snsarea div a:hover img {
  opacity: 1;
}

/* ここから：1024px 以下の崩れ対策 ＆ 自動縮小 ================================ */
@media (max-width: 1024px) {

  /* 高さ100vh維持して、中身が溢れたら縮小して収める */
  .right-column {
    transform-origin: top;
    overflow: hidden;
  }

  /* 中身全体を scale で縮小 —— 下が切れなくなる */
  .right-column-content {
    transform: scale(0.85);   /* ← 必要なら 0.8 や 0.75 に変更可 */
    transform-origin: top center;
  }

  .menu nav a {
    margin: 0.8rem auto;
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .image-left img {
    max-height: 150px;
  }

  .image-right img {
    max-height: 60px;
  }

  .right-snsarea div a img {
    height: 22px;
  }
}

/* 768px 以下（念のための最終縮小） */
@media (max-width: 768px) {
  .right-column-content {
    transform: scale(0.75);
  }
}

