@charset "UTF-8";
/* CSS Document */

/*薄ピンク: #FBE1E1
　薄黄緑：#EBF2C5
ロゴ色ピンク：#F19EC2
ロゴ色黄緑：#B8D200
*/

body {
    color: #333333; /* RGB */
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-weight: 500;
    font-size: 1.6em;
    line-height: 2.4rem;
    text-align: center;
  background-color: #faf6f3;
}


html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横方向のスクロールを防ぐ */
}

.br{
	display: none;
}
@media screen and (max-width: 1100px){
	.br{
		display: block;
	}
	
}


.nav {
  position: fixed;
  z-index: 999999;
  width: 100%;
  height: 60px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

.nav .container {
  width: 100%;
	max-height: 100px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav__logo {
	position: fixed;
	top:0;
	left: 0;
	margin-right: 0.5rem;
  display: block;
  align-items: center;
	background-color: #fff;
	border-radius: 0 0 20px 0;
	padding: 10px;
}
.nav__logo h2{
	font-size: 1.5rem;
	line-height: 1.8rem;
	color: #F19EC2;
	margin: 0;
	font-family:"Courier New", Courier, "monospace"; 
}
.nav__logo span{
	font-size: 1.3rem;
}
.nav__logo img {
  max-width: 300px;
}
@media (max-width: 1000px){
	.nav__logo{
		display: flex;
		padding: 5px;
	}
	.nav__logo img{
	max-width: 300px;
}
	.nav__logo h2{
	margin-left: 0px;
	font-size: 1.8rem;
 padding-top: 40px;
		padding-right: 10px;
	
}
	.nav__logo span{
	font-size: 0.8rem;
}
}
@media (max-width: 800px){
		.nav__logo img{
	max-width: 150px;
			padding-top: 10px;
}
	.nav__logo h2{
margin-left: 0;
	font-size: 1.1rem;
 
	
}
}

.nav__links {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.nav__links img {
  max-height: 2rem;
  width: auto;
}

.nav__links__btn {
  background: #F19EC2;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 2rem;
  white-space: nowrap;
}

.nav__hamburger {
  cursor: pointer;
	margin-top: 10px;
}

.nav__hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.3s;
}

/* ハンバーガーメニューの「X」スタイル */
.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav__list {
  visibility: hidden;
  position: absolute;
  z-index: 500;
  flex-direction: column;
  width: 80%;
  height: 100vh;
  background: #fff;
  border-left: solid 1px #efefef;
  list-style: none;
  opacity: 0;
  top: 60px;
  right: 0;
  transition: 0.3s;
  padding: 20px;
  pointer-events: none; /* 非アクティブ時はクリック無効化 */
}

.nav__list.active {
  visibility: visible;
  width: 100%;
  opacity: 1;
  margin: 0;
  pointer-events: auto; /* アクティブ時はクリック有効化 */
}



.nav__list li a {
	 pointer-events: auto; /* リンク自体の操作を有効にする */
  display: block;
  font-weight: bold;
  color: #333;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-bottom: solid 1px #cccccc;
}

.nav__list li a:hover {
  background: #f1f1f1;
}

.nav__list.active {
  visibility: visible;
  width: 100%;
  opacity: 1;
  margin: 0;
}



/* 画面幅1000px以下のとき */
@media (max-width: 1000px) {
  .nav__list {
    visibility: hidden;
    opacity: 0;
    display: flex;
    justify-content: center; /* メニューを中央に配置 */
  }

  /* ハンバーガーメニュー表示 */
  .nav__hamburger {
    display: block;
  }

  /* ハンバーガーメニューがアクティブのときのナビゲーション表示 */
  .nav__list.active {
    visibility: visible;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向の中央配置 */
    align-items: center;
	  height: 80vh;
  }
}

/* 画面幅1001px以上のとき */
@media (min-width: 1001px) {
  .nav__links {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  /* ハンバーガーメニューを非表示 */
  .nav__hamburger {
    display: none;
  }

  /* ナビゲーションメニューを右寄せに配置 */
  .nav__list {
    visibility: visible;
    opacity: 1;
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; /* メニューを右寄せ */
    gap: 20px; /* メニュー間のスペース */
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav__list li {
    border: none;
  }

  .nav__list li a {
    padding: 0 15px;
    border: none;
    color: #333;
    font-weight: bold;
    text-decoration: none;
  }

  .nav__list li a:hover {
    background: none;
    color: #F16C7F;
  }
}

/* ボタンのスタイル */
.nav__list__buttons {
  display: none; /* 初期状態では非表示 */
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
	
}

.nav__list__buttons .nav__links__btn {
  width: 80%;
  text-align: center;
  padding: 10px;
}

/* ハンバーガーメニューがアクティブのときのボタン表示 */
.nav__list.active .nav__list__buttons {
  display: flex;
}

/* 画面幅1001px以上のとき */
@media (min-width: 1001px) {
  .nav__list__buttons {
    display: none; /* PCサイズでは非表示 */
  }
	
}
@media (max-width: 1001px){
	.nav__links a{
		display: none;
	}
}

.footer{
	padding-top: 50px;
	text-align: left;
	background-color: #FBE1E1;
	margin-bottom: 0;
}
.footer img{
	height: 80px;
}
.footer-text {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
}

.footer-text img {
    display: inline-block;
}

.footer-text img::after {
    content: "";
    display: inline-block;
    width: 1px; /* 縦線の太さ */
    height: 30px; /* 縦線の高さ */
    background-color: #000; /* 縦線の色 */
    margin: 0 15px; /* 縦線と隣の要素の間隔 */
}

.footer p{
  font-size: 1.2rem;
  padding: 5px 0;
	line-height: 1.5rem;
}
.privacy{
	width: 90%;
	margin: 0 auto;
	padding-left: 2em;
}
.privacy a {
  font-size: 1rem;
  text-decoration: inherit;
  color: #333;
  border: 1.2px solid #333;
  padding: 5px;
}


.copy{
	width: 90%;
	margin: 0 auto;
	text-align: center;
}
.copy p{
padding-left: 2em;
font-size: 0.8rem;	
	padding-bottom: 50px;
	margin: 0;
}

@media (max-width: 700px) {
	.footer-text{
		display: block;
	}
	.privacy{
	padding: 0;
}
	.copy p{
		padding: 0 0 50px;
	}
  }




/*DX・訪問看護重要事項説明書*/
.houmon-important {
margin: 20px auto;
}
.houmon-important h1{
	font-size: 2rem;
	font-weight: bold;
	color: #F19EC2;
}

.important-banner{
	width: 90%;
	margin: 0 auto;
		display: flex;
	flex-wrap: wrap;
	gap: 30px;
	
}
.dx,
.important {
	border: none;
	background: #F19EC2;
	border-radius: 15px;
	align-items: center;
	max-width: 400px;
	width: 80%;
	color: #fff;
	transition: 0.3s ease-in-out;
	font-weight: bold;
	font-size: 1.5rem;
	z-index: 10;
	padding: 10px 15px;
	text-decoration: none;
	font-family: "Noto Sans Japanese";
	text-align: center;
}

.dx a,
.important a {
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 15px;
	text-decoration: none;
	color: #fff;
	transition: color 0.3s ease-in-out;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.dx:hover,
.important:hover {
	background: #EBF2C5;
}

.dx:hover a,
.important:hover a {
	color: #333;
}

@media screen and (max-width: 800px) {
	.dx,
	.important {
		font-size: 1.2rem;
	}
	.dx a,
.important a {
	font-size: 1.2rem;
	
}
}