/*
  2025年 対応版CSS
  ・clearfix使用
  ・レスポンシブ対応
  ・旧HTMLでは使用禁止
*/

@charset "UTF-8";
body{
	margin:0px;
	padding:0px;
	line-height: 2.0;
	font-size:20px;
	background-color: #fff0f5;
}

a:link , a:visited{
	text-decoration: underline;
}

a:hover , a:active{
	text-decoration: underline;
}

p{
	text-indent: 1em;
}

p.x-large { font-size: x-large; }

p.photo{
    float: left;
    padding-bottom: 5px;
	margin-right: 5px;
}

p.pagetop
    {
    position: fixed;
    bottom: 16px;
    right: 16px;
    }

p.pagetop a
    {
    display: block;
    text-decoration: none;
    }

p.pagetop:hover
{
    opacity: 0.85 ;
}

.marker {
  background: linear-gradient(transparent 10%, #fbd 30%);
}

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

#baseBlock1{
	margin-left:auto;
	margin-right:auto;
	color:#000000;
	width:1000px;
	text-align:left;
	font-size:88%;
	}

#ptitle{
	height: 100px;
	background: url(img/header.gif) no-repeat;
	margin-bottom: 10px;
}
/* 電話とメールを横並び右寄せにする設定 */
.pc-header {
  display: flex; /* Flexboxを有効にする */
  justify-content: flex-end; /* 右端に寄せる */
  align-items: center; /* 縦方向の中央に揃える */
  position: absolute; /* ロゴと並行に配置するため絶対配置を使用 */
  right: 0; /* 親要素の右端に固定 */
  top: 0;
  height: 100px; /* 親要素の高さに合わせる */
  width: auto;
}

/* 電話・メール画像の間隔調整 */
p.header_tel {
  margin-right: 20px; /* メール画像との間に適切な間隔を空ける */
}
p.header_mail {
  margin-right: 10px; /* 右端から少し離す */
}

#main{
	width: 760px;
	padding-bottom:30px;
	float: right;
}

h1 {
	font-size:15px;
	color:#333333;
}


h2 {
	margin-bottom:0.4em;
	font-size:22px;
	color:#6600cc;
	border-bottom:3px solid #ff3399;
}

h3 {
  color: #fff;
  padding: 0.5em;
  display: inline-block;
  line-height: 1.3;
  background: #bf61f2;
  vertical-align: middle;
  border-radius: 25px 25px 25px 25px;
}

h4 {
	font-size: 20px;
	line-height: 22px;
	padding-left: 5px;
	margin-bottom: 10px;
	font-weight: bold;
	color: #000000;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #dda0dd;
	padding-top: 15px;
	padding-bottom: 10px;
	clear: both;
}

h5 {
	color: #000000;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: #de85de;
	font-size: 16px;
	line-height: 16px;
	margin-top: 15px;
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 8px;
}

h6 {
	margin-bottom:0.25em;
	padding-left:5px;
	font-size:16px;
	border-left:5px solid #cf0c0c;
}

ul {
    list-style-type: circle;
    line-height:normal;
}

.mokuzi ul, ol {
  background: #ffffff;
  border-radius :8px;
  box-shadow :0px 0px 5px silver;
  padding: 0.5em 0.5em 0.5em 2em;
}
.mokuzi ul li, ol li {
  line-height: 1.5;
  padding: 0.5em 0;
}

blockquote {
	margin-bottom:1em;
	padding:1em;
	border:1px dotted #ddd;
	border-left:5px solid #ddd;
}
span#font1 {
	color: #f15a00;
	font-weight:bold;
}
span#font2 {
	color: #2d9c2f;
	font-weight:bold;
}

.imgspace{
	width:220px;
	height: 220px;
	background: url(img/2.gif);
	float: left;
	margin: 5px;
	}

.imgspace img {
	width: 200px;
	height: 200px;
	margin: 10px;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.borderscr{
	border-radius: 4%;
	border: 1px solid #ddd;
	overflow: auto;
	margin: 10px;
	padding:10px;
	width: 330px;
	height: 500px;
	background: #ffffff;
	}

.borderscr2{
	border: 1px solid #ddd;
	overflow: scroll;
	margin: 1px;
	padding: 1px;
	width: 720px;
	height: 200px;
	background: #ffffff;
	}

.borderscr3{
	border-radius: 4%;
	border: 1px solid #ddd;
	overflow: scroll;
	margin: 10px;
	padding:10px;
	width: 720px;
	height: 300px;
	background: #ffffff;
	}

.border{
	border-radius: 12px;
	border: 1px solid #ddd;
	margin: 5px;
	padding: 20px;
	background: #ffffff;
    overflow: hidden;
	}

.border ul {
  padding: 10px 20px;
  list-style: none; /* デフォルトの黒丸を消す */
}

.border ul ul {
  padding: 0;
}

.border li {
  font-size: 17px;
  line-height: 20px;
  margin-bottom: 15px;
}

.border li a {
  background-image: url('img/li.gif');
  background-repeat: no-repeat;
  background-position: 3px center;
  padding-left: 15px;
  border-bottom: 1px dotted #D8D8D3;
  display: block;
  text-decoration: none;
  color: #333;
}

.main-left{
	float: left;
	width: 49%;
	}

.main-right{
	float: right;
	width: 49%;
	}

.writing-left{
	float: left;
	width: 60%;
	}

.writing-right{
	float: right;
	width: 40%;
	}


.section {
   width:232px;
}

.menu {
   padding:3px;
   border:1px solid #d9d9d9;
}

.menu h2 {
   margin:0;
   font-size:12px;
   color:#fff;
   line-height:3.0;
   text-align:center;
   background:#133f8c;
}

.menu ul {
   margin:0;
   padding:0;
   list-style-type: none;
}

.menu li {
   margin:0 0 -1px 0;
   padding:0;
   font-size:14px;
   font-weight: bold;
   color:#333;
   border:1px solid #D6D7D6;
   background:#fff url(img/bg_list.gif) 8px 13px no-repeat;
}

.menu li a {
   display:block;
   padding:10px 0 10px 20px;
   color:#133f8c;
}

.menu li a.current {
   background:#f7f7f7 url(img/bg_list.gif) 8px 13px no-repeat;
}

.menu li a:hover {
   background:#f7f7f7 url(img/bg_list.gif) 8px 13px no-repeat;
}


.menu2 {
   padding:3px;
   border:1px solid #d9d9d9;
}

.menu2 h2 {
   margin:0;
   font-size:12px;
   color:#fff;
   line-height:3.0;
   text-align:center;
   background:#133f8c;
}

.menu2 ul {
   margin:0;
   padding:0;
   list-style-type: none;
}

.menu2 li {
   margin:0 0 -1px 0;
   padding:0;
   font-size:13px;
   font-weight: bold;
   color:#333;
   border:1px solid #D6D7D6;
   background:#fff 8px 13px no-repeat;
}

.menu2 li a {
   display:block;
   padding:10px 0 10px 20px;
   color:#133f8c;
}

#footer{
	clear:both;
	text-align:right;
	color:#000000;
	font-size:0.8em;
	padding-bottom:10px;
	padding-right:10px;
	}

a img{
	border-style : none;
	border-width : 0px;
	text-decoration : none;
	}

table.table-01 {
    width: 90%;
    border: 1px #000000 solid;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    background-color:#fff
}

table.table-01 th {
    padding: 5px;
    border: #000000 solid;
    border-width: 0 0 1px 1px;
    background: #99ff99;
    font-weight: bold;
    line-height: 120%;
    text-align: center;
}
table.table-01 td {
    padding: 5px;
    border: 1px #000000 solid;
    border-width: 0 0 1px 1px;
}
caption {
    font-weight: bold;
}

table.book {
margin-bottom: 2em;
width: 100%;
table-layout: fixed;
border: 1px;
}

/* button */
 .container {
    display: grid;
    grid-template-columns: 200px 200px 200px;
    grid-template-rows: 200px 200px;
    grid-column-gap: 1px;
    grid-row-gap: 1px;
    justify-items: stretch;
    align-items: stretch;
 }
 .item {
  background: #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
 .item-siide {
  background: #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
 .item-sya {
  background: url(img/0011-small.jpg) #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
 .item-so {
  background: #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
 .item-blog {
  background: #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
 .item-g {
  background: #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
 .item-si {
  background: #fff;
  padding: 1px;
  border-radius: 8px;
  border: 3px solid #fff;
}
/* gallery */
#content .box_out {
	background-color: #F9F9F9;
	margin-bottom: 5px;
	padding: 5px;
}
#content .box_in {
	background-color: #FFFFFF;
	border: 1px solid #E3E3E3;
	margin-bottom: 5px;
	padding: 10px;
}
.box3 .btn a {
	padding-top: 2px;
	padding-right: 7px;
	padding-bottom: 2px;
	padding-left: 7px;
	font-size: 12px;
	border-top-width: 2px;
	border-right-width: 3px;
	border-bottom-width: 2px;
	border-left-width: 3px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	text-decoration: none;
	line-height: 16px;
	color: #FFFFFF;
	background-color: #FF8080;
	border-top-color: #DDD;
	border-right-color: #DDD;
	border-bottom-color: #DDD;
	border-left-color: #DDD;
}
.box3 .btn a:hover {
	color: #FF6666;
	background-color: #FFFFFF;
	border-top-color: #FFCCCC;
	border-right-color: #FFCCCC;
	border-bottom-color: #FFCCCC;
	border-left-color: #FFCCCC;
}

#content .box3 {
	text-align: center;
	width: 31%;
	padding-top: 8px;
	padding-bottom: 8px;
	border: 1px solid #EEE8DF;
	float: left;
	margin-bottom: 10px;
	margin-left: 2%;
	background-color: #F9F7F4;
}
.box3 .btn a {
	margin-top: 5px;
	width: 110px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 4px;
}

.box3 a img {
	background-color: #FFFFFF;
	padding-top: 2px;
	padding-right: 1px;
	padding-bottom: 2px;
	padding-left: 1px;
	border: 1px solid #E2DBCD;
}
.box3 a:hover img {
	border-top-color: #FFB3B3;
	border-right-color: #FFB3B3;
	border-bottom-color: #FFB3B3;
	border-left-color: #FFB3B3;
}
#content .box3:hover {
	background-color: #FFF7F7;
	border-top-color: #FFBBBB;
	border-right-color: #FFBBBB;
	border-bottom-color: #FFBBBB;
	border-left-color: #FFBBBB;
}
/* QandA */
.cp_qa *, .cp_qa *:after, .cp_qa *:before {
font-family: sans-serif;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.cp_qa {
margin: 0 0 2em 10px;
padding: 1em 1em 0.5em 1em;
background: #ffffff;
}

.cp_qa dl {
margin: 0;
}
.cp_qa dt {
margin-bottom: 0.5em;
padding: 0.2em 0.5em 0.5em 2em;
border-radius: 0.2em;
background: #bf7fff;
}
.cp_qa dd {
margin-bottom: 1em;
margin-left: 0;
padding: 0.5em 1em 1.5em 3em;
}

.cp_qa dt::before,.cp_qa dd::before{
font-size: 1.5em;
color: #ffffff;
}
.cp_qa dt::before {
margin: 0.3em 0.3em 0 -1em;
content: 'Q';
}
.cp_qa dd::before {
margin: 0 0.5em 0 -2em;
padding: 0.2em 0.4em;
content: 'A';
border-radius: 0.2em;
background: #ff3399;
}

dl.dl_link {
	padding: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D9D9D9;
  background-color:#ffffff;
	margin-right: 10px;
	margin-left: 5px;
}
.dl_link dt {
	font-size: 20px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
	line-height: 28px;
	margin-bottom: 7px;
	background-image: url(img/li.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 10px;
	font-weight: normal;
	letter-spacing: 1px;
}
.dl_link dd {
	font-size: 20px;
	line-height: 20px;
	padding-right: 15px;
	padding-left: 15px;
	color: #505050;
}

.btn-icon {
  display: inline;
  max-width: 180px;
  text-align: center;
  background-color: #f4207e;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
  border-radius: 4px;
  position: relative;
}
.btn-icon:before {
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  left: 16px;
  top: 50%;
  margin-top: -8px;
}

/* お問い合わせはこちらボタン（薄紫） */
.contact-btn {
  display: block;
  margin: 20px auto; /* 上下余白＋左右中央 */
  background-color: #d48eff; /* ブランドカラー */
  color: #000;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease;
    }

.contact-btn:hover {
      background-color: #fff0f5; /* ホバー時に優しい色に */
    }

/* 1. PC表示の設定（初期状態） */
#ptitle {
  position: relative;
  background-image: url(img/header.gif); /* 画像のパスを再設定 */
  background-repeat: no-repeat;
  background-position: right top;/* 右上に配置 */
  height: 100px;/* 画像の高さに合わせて調整 */
}

#ptitle > .logo-link {
  position: absolute;
  left: 0;
  top: 0;
  width: 500px;
  height: 100px;
}

.sp-header { display: none; } /* PCではスマホボタンを隠す */

/* 2. スマホ表示（画面幅768px以下）の設定 */
@media screen and (max-width: 768px) {

  body {
    text-align: left;
  }

  /* レイアウト共通設定 */
  #baseBlock1, #main, .section, .menu, .menu2 {
    width: 100% !important;
    float: none !important;
    padding: 0 10px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }

  #main h2 { margin-top: 5px; }

  /* ヘッダー・ロゴ調整 */
  #ptitle {
    height: auto !important;
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0;
  }

  p.header_tel, p.header_mail { display: none; }

  #ptitle > .logo-link {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }

  #ptitle > a.logo-link > img {
    width: 90%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
  }

  /* スマホ用ボタン表示 */
  .sp-header {
    display: block !important;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
  }

  .sp-btn {
    display: inline-block;
    margin: 5px 1%;
    width: 47%;
    max-width: 200px;
    padding: 12px 5px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5;
  }

  .sp-btn.tel { background: #ffeff7; color: #000; border: 2px solid #ff66aa; }
  .sp-btn.mail { background: #f0e6ff; color: #000; border: 2px solid #a77bff; }

  .sp-time {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    text-align: center;
    display: block;
  }

  /* 3. 枠・ボックス・画像・マップ */
  .border, .borderscr, .borderscr2, .borderscr3 {
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 !important;
    padding: 16px;
    box-sizing: border-box;
  }

  img, iframe { max-width: 100%; height: auto; }
  iframe { min-height: 300px; }

  /* 4. ★表（table）の横スクロール設定★ */
  .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border: 1px solid #ddd !important;
  }

  .table-scroll table {
    display: table !important; /* 絶対にtable形式を維持 */
    width: auto !important;
    min-width: 600px; /* 画面より広くしてスクロールさせる */
    border-collapse: collapse !important;
  }

  .table-scroll th, .table-scroll td {
    display: table-cell !important; /* block化を解除 */
    padding: 10px !important;
    border: 1px solid #ddd !important; /* 確実に線を出す */
    white-space: nowrap;
  }

  .table-scroll th { background: #e6ffe6 !important; }

  /* 5. レイアウト崩れ防止 */
  .main-left, .main-right, .writing-left, .writing-right, .imgspace {
    float: none !important;
    width: 100% !important;
  }
  
  .imgspace { margin: 0 auto 10px; height: auto; background: none; }

} /* ← スマホ設定を閉じる最後の一つのカッコ */