/*リンクボタンの装飾*/
a.btn1 {
	display: flex;
	vertical-align: middle;
	text-decoration: none;
	margin: auto;
	width: 100%;
	height: 4em;
	color: #ccc;
	cursor: pointer;
	transition: all 0.85s cubic-bezier(.17,.67,.14,.93);
	transform-style: preserve-3d;
	transform-origin: 100% 50%;
}
a.btn1:hover {
	transform: rotateX(-90deg);
}
a.btn1 .side {
	box-sizing: border-box;
	position: absolute;
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 1.2rem 4rem;
	font-weight: bold;
	letter-spacing: 2px;
}
a.btn1 .top {
	background: #b4e12b;
	color: #000;
	transform: rotateX(90deg) translate3d(0, 0, 2em);
}
a.btn_30 .front {
	background: #27acd9;
	color: #fff;
	transform: translate3d(0, 0, 2em);
}


/* リンクボタンのスタイル */
a.btn_06 {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 100%;
  margin: auto;
  padding: 1rem 4rem;
  font-weight: bold;
  border-radius: 100vh;
  border-bottom: 7px solid #0686b2;
  background: #27acd9;
  color: #fff;
}

a.btn_06:hover {
  margin-top: 6px;
  border-bottom: 1px solid #0686b2;
  color: #fff;
}


/* リンクの下線消去 */
a {
  text-decoration: none;
}

/* 目次の装飾 */
.toc {
  font-size: 1em;
  padding: 0.5em 1em 1em;
  background-color: transparent;
  border-radius: 20px;
  border: double 10px;
  border-color: #95ccff !important;
}

.toc-title {
  font-size: 1.2em;
  font-weight: 500;
  color: #0073b8;
  margin: 0.5em;
  background-color: transparent;
  padding: 0.3em 1.5em 0.3em 0.5em;
  border-radius: 20px;
  white-space: normal;
}

.toc-title:before {
  font-family: FontAwesome;
  content: "\f19d";
  font-size: 1.2em;
  border-radius: 50%;
  color: #0073b8;
  padding: 0.5em;
  margin-right: 0.5em;
}

.toc-content ol {
  position: relative;
}

.toc-content ol li {
  padding: 0.8em 0 0 1em;
  border-bottom: dashed 1px #0073b8;
  list-style: none;
  white-space: normal;
}

.toc a {
  color: #0073b8;
}

.toc-content ol li:before {
  font-family: FontAwesome;
  content: "\f101";
  color: #0073b8;
  position: absolute;
  left: 1em;
}

.toc-content ol li:last-child {
  border-bottom: none;
}

/*box-title非表示*/
.box-title {
	display: none;
}

/* フェードイン、画像にリンク */
/* 画像中央リンク */
.example-link-blue,
.example-link-blue2 {
  position: relative;
}

.example-link-blue a {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  padding: 7px;
  text-decoration: none;
  white-space: nowrap;
  background-color: white;
  border: solid blue 2px;
  color: blue;
}

.example-link-blue2 a {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  padding: 7px;
  text-decoration: none;
  white-space: nowrap;
  background-color: white;
  border: solid blue 2px;
  color: blue;
}

.example-link-white a:hover,
.example-link-blue a:hover,
.example-link-blue2 a:hover,
.example-link-green a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.example-link-blue img,
.example-link-blue2 img {
  width: 100%;
}


/* 画像左上のテキスト */
.image-with-text {
  position: relative;
}

.image-with-text .text-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  color: #6cb4e4;
  text-align: center;
  padding: 0.1em 0.2em;
  border-top: solid 1px #6cb4e4;
  border-bottom: solid 1px #6cb4e4; 
  background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 6px, #e9f4ff 6px, #e9f4ff 14px);
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 6px, #e9f4ff 6px, #e9f4ff 14px);
  padding: 1px 5px; 
  font-size: 35px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 300px;
}

/* フェードイン */
.fade {
  visibility: hidden;
}

.fade.fade-in {
  animation-fill-mode: both;
  animation-duration: 1s;
  animation-name: fid;
  visibility: visible !important;
}

@keyframes fid {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 平行線 */
.hr {
  height: 3px;
  background: skyblue;
	 margin:2em;
  background-image: -webkit-linear-gradient(left, #caeaf7, blue, #caeaf7);
  background-image: -moz-linear-gradient(left, #caeaf7, blue, #caeaf7);
  background-image: -ms-linear-gradient(left, #caeaf7, blue, #caeaf7);
  background-image: -o-linear-gradient(left, #caeaf7, blue, #caeaf7);
}

h1 {
  margin: 30px auto;
  color: #6cb4e4;
  text-align: center;
  padding: 0.5em 1em;
  border-top: solid 3px #6cb4e4;
  border-bottom: solid 3px #6cb4e4;
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  font-size: 2em;
  border-radius: 0.75em;
  box-shadow: 0 4px 6px rgba(108, 180, 228, 0.2);
  width: fit-content;
  max-width: 90%;
}

h2 {
  margin: 20px;
  color: #6cb4e4;
  text-align: center;
  padding: 0.25em;
  border-top: solid 2px #6cb4e4;
  border-bottom: solid 2px #6cb4e4;
  background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px, #e9f4ff 3px, #e9f4ff 7px);
}

/* h3装飾 */
h3.decorated-h3 {
  color: #6cb4e4;
  text-align: center;
  border: solid 2px #6cb4e4;
  display: block;
  width: 100%;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  font-size: 1.2em;
  background-color: #f0f8ff;
  white-space: normal;
  line-height: 1.5;
  margin: 1em auto;
  box-sizing: border-box;
}

/*コンテナの設定*/
.cont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row; 
}

.box {
    flex: 1;
    margin: 10px;
    padding: 10px;
    border: solid 3px #95ccff;
    border-radius: 8px;
    background: #FFF;
    color: #333;
    font-size: 18px;
    position: relative; /* 追加 */
}

.box-title {
    font-weight: bold;
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
}

@media (max-width: 767px) {
    .box {
        flex: 1 1 100%;
    }
}

/* Q&Aコンテナ */
.box2 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    background: #dcefff;
    border: solid 3px #5fb3f5;
}
.box2 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #5fb3f5;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box2 p {
    margin: 0; 
    padding: 0;
}

/*お断り事項コンテナ*/
.box3{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.box3:before, .box3:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.box3:before {left: 10px;}
.box3:after {right: 10px;}
.box3 p {
    margin: 0; 
    padding: 0;
}

/*リンクの背景*/
.box4 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #FFF;
    background: #6eb7ff;
    border-bottom: solid 6px #3f87ce;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    border-radius: 9px;
}
.box4 p {
    margin: 0; 
    padding: 0;
}

/*注意書きコンテナ*/
.box5 {
	background: #eaf5f9;
	border: dotted 2px #27acd9;
	padding: 1em;
	}


/*便箋コンテナ*/
.note_wrap{
  background: #fff;
  padding: 1em 2em;
  width: 80%;
  margin: 30px auto;
  box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.7);
}
.note{
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 50%,
      #ffff 50%,
      #ffff 50%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 97%,
      #999 97%,
      #999 100%
    );
  background-size:
    8px 100%,
    100% 2em;
  line-height:2;
}
.note p{
  margin-bottom:2em;
}

/* 改行 */
.line-break {
  margin-bottom: 1em;
}

/*ボタンの装飾以下地区ページ*/
.nomadBtn10 {
  color: #FFF !important;
  padding: 0 0 0 1em;
  background: rgba(85,168,220,.7);
  display: inline-block; /* 追加: ボタンをインライン要素として扱う */
  text-decoration: none !important;
  box-sizing: border-box;
  margin: 15px 0 15px 0;
  line-height: 2.7em;
  border-top-right-radius: 50em;
  border-bottom-right-radius: 50em;
  border-top-left-radius: 50em;
  border-bottom-left-radius: 50em;
}

.nomadBtn10_icon {
  display: inline-block;
  text-align: center;
  color: #FFF;
  background: #55A8DC;
  /* float: right; */ /* 削除: ボタンをインライン要素にするのでfloatは不要 */
  font-size: .9em;
  padding: .15em ;
  border-radius: 50em;
  margin: .55em .65em .65em .65em;
  width: 1.7em;
  height: 1.7em;
  vertical-align: .3em;
  line-height: 1.5em;
}

.nomadBtn10_text {
  /* display: inline-block; */ /* 削除: ボタンをインライン要素にするのでdisplayは不要 */
  text-align: center;
  margin-right: 10px;
  vertical-align: middle;
  line-height: 2.7em;
  max-width: 100%;
}

.nomadBtn10_icon svg {
  vertical-align: .3em !important;
}

/*ボタンの装飾*/
.photo-button-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.photo-button-wrap .btn-style {
  display: inline-block;
  background-color: #6cb4e4;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 16px;
  min-width: 200px;
  text-align: center;
  transition: background-color 0.3s;
  box-sizing: border-box;
}

.photo-button-wrap .btn-style:hover {
  background-color: #559bd1;
}

/* スマホ用レスポンシブ */
@media screen and (max-width: 768px) {
  .photo-button-wrap {
    flex-direction: column;
    align-items: center;
  }
}

