/*
Theme Name: danho_20260525
Author: Take4
Description: 図書資料センター用テーマ
Version: 1.0
*/
/*
@import url('https://googleapis.com');
*/
@import url('https://googleapis.com');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html {
    scroll-behavior: smooth;
}
body{
/* ゴシック体 */
/*
font-family: 'Noto Sans JP', sans-serif; 
*/

 /* 明朝体 */

  font-family: 'Noto Serif JP', serif; 

/*
  font-family: "BIZ UDゴシック", "BIZ UDPGothic", "UD デジタル 教科書体 N-R", "Noto Sans JP", sans-serif;
*/
    color:#333;
    font-weight:bold;
    background:#f4f5ef;
    line-height:1.8;
}
.font-gothic {
	font-family: 'Noto Sans JP', sans-serif; 
}


.logo-banner h1.sp-01{
  font-family: 'Mochiy Pop One', sans-serif !important;
}


.wrapper{
    max-width:1200px;
    margin:0px auto;
    background:#fff;
    box-shadow:0 0 20px rgba(0,0,0,0.08);
}
a{
    text-decoration:none;
    color:inherit;
}
a:hover {
	opacity:0.7;
}
.anchor-form {
	font-weight:bold;
	color:#00f;
	border-bottom:1px solid #00f;
}
img{
    max-width:100%;
    display:block;
}
img:hover{
    opacity:0.7;
}

ul {
    list-style: none;
}
strong {
	font-weight:bold;
	color:red;
}

/* ページ内リンク */
a.btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  background-color: #41a4fd;
  box-shadow: 0px 0px 10px #aaaaaa;
  border-radius: 100vh;
  transition: 0.5s;
margin-bottom:20px;
}
a.btn:hover {
  background-color: #0ee6ff;
  box-shadow: none;
}

.icon-down {
  position: relative;
  padding-right: 15px;
}

.icon-down::after {
  content: "▼";
  position: absolute;
  top: -5px;
  left: 10px;
  font-size: 20px; /* 文字サイズで大きさを調整 */
}

.full-screen-map {
    width: 100%;  /* 画面の横幅100% */
    height: 855px; /* 画面の高さ100% */
    border: 0;
}

/* -------------------------
  HEADER
--------------------------*/
.top-header{
/*
    background:linear-gradient(
      to right,
      #eef5ec,
      #f8faf5
    );
*/
}
.header-inner{
	display:flex;
	width:100%;
    height:180px;
	background-image: url(images/new-logo4.jpg);
	background-position: top left;

    padding:25px;
    border-bottom:1px solid #d8e3d4;


}

.logo-banner{
    width:50%;
	display:flex;
	justify-content:center;
	align-items:center;

}

/*
.logo-banner{
    flex:1;
    position:relative;
}

.logo-banner img{
    width:100%;
    max-width:359px;
    	opacity:0.7;

}
.logo-banner h1{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    max-width:359px;
    text-align:left;
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:1.5em;
	color:#333;
	font-weight:bold;
}
*/
.header-links{
    width:50%;
	display:flex;
	justify-content:center;
	align-items:center;


}

.header-links a{
	font-size:1.4em;
    color:#4d6a4f;
    font-weight:bold;
}

@media(max-width:768px){
	.header-inner{
		flex-direction: column;
	}
	.logo-banner{
    		width:100%;
    		margin-top:30px;
    		margin-bottom:20px;
	}
	.logo-banner h1{
    		font-size:1.7em;
	}
	.header-links{
    		width:100%;
	}

}



/* -------------------------
 MAIN NAV
--------------------------*/
.main-nav-wrap{
    border-top:6px solid #7f9b74;
}

.main-nav{
    background:#87a97f;
    box-shadow:0 2px 5px rgba(0,0,0,0.08);
}

.main-nav a:hover{
    background:#76956f;
}
.main-nav ul{
    list-style:none;
    display:flex;
}

.main-nav li{
    flex:1;
    text-align:center;
    border-right:1px solid rgba(255,255,255,0.5);
}

.main-nav li:last-child{
    border-right:none;
    background-color:#FF8c00;
}
.main-nav li:last-child a:hover{
    background-color:#FFA500;
}

.main-nav a{
    color:#fff;
    display:block;
    padding:16px 10px;
    font-weight:bold;
}

.home nav ul li:nth-child(1) a,
.page-id-59426 nav ul li:nth-child(2) a,
.page-id-59444 nav ul li:nth-child(3) a,
.page-id-59455 nav ul li:nth-child(4) a
 {
	    background:#76956f;
}
.page-id-59452 nav ul li:nth-child(5) a
 {
	    background:#FF8c00;
}

.data-span {
	color:#FFf;
	background-color:#FF8c00;
	font-weight:bold;
	display:inline-block;
}

/* -------------------------
 SUB NAV
--------------------------*/
/*
.sub-nav{
    background:#f3e4d4;
}

.sub-nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:30px;
    padding:12px;
}

.sub-nav a{
    color:#6c5c48;
    font-weight:bold;
}
*/
/* -------------------------
 HAMBURGER
--------------------------*/
.menu-toggle{
    display:none;
    background:#8fb18a;
    color:#fff;
    border:none;
    width:100%;
    padding:14px;
    font-size:20px;
    cursor:pointer;
}

/* -------------------------
 MAIN
--------------------------*/
/* トップページ用 */
.top-content{
    display:flex;
    padding:30px;
    gap:30px;
}
.image-float-left {
  float: left;
  margin: 0 24px 16px 0; /* 上・右・下・左の順。特に右と下に余白を取るのがコツ */
  width: 40%;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* 浮かび上がるような影 */
}
.image-float-right {
  float: right;
  margin: 0 0 16px 24px; /* 上・右・下・左の順。特に右と下に余白を取るのがコツ */
  width: 30%;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* 浮かび上がるような影 */
}


/* ブログ個別ページ、固定ページ、アーカイブページ用 */

.content{
    padding:30px;
}

.left-column{
    width:75%;
}

.right-column{
    width:25%;
}

/* hero */
.hero-banner{
    margin-bottom:30px;
}

.hero-banner img{
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
}
/* intro */
.intro-box{
    margin-bottom:30px;

}
.intro-box p {
    margin:10px;
}

.intro-box h2{
    margin-bottom:15px;
    color:#557455;
font-family: 'Noto Sans JP', sans-serif; 

}
.intro-box .intro-box-image {
    width:30%;
    text-align:center;

}

/*
.intro-box h2:before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  font-weight: 900;
  padding-right : 5px;
  color: #f89174;
}
*/
p.p-50 {
	width:85%;
}

@media(max-width:768px){
	.intro-box h2{
		font-size:1.3em;
	}

	p.p-50{
	        width:100%;
	}
	.intro-box .intro-box-image {
    		width:100%;

	}

}


div.col-2 {
	display:flex;
}
div.col-2 p:nth-child(1) {
	width:70%;
}
div.col-2 p:nth-child(2) {
	width:30%;
}
div.col-2 p:nth-child(2) img {
	width:100%;
}

@media(max-width:768px){
	div.col-2 {
		flex-direction: column;
	}
	div.col-2 p:nth-child(1) {
		width:100%;
	}
	div.col-2 p:nth-child(2) {
		width:100%;
	}
	div.col-2 p:nth-child(2) img {
		width:100%;
	}
}


/* info box */
.guide-box{
    background:#f8faf5;
    border-left:6px solid #90b08b;
    padding:20px;
    margin-bottom:30px;
    border-radius:8px;
}

.guide-box h3{
    margin-bottom:10px;
}

.guide-box p span{
    background-color:#FF8c00;
    color:#fff;
    font-weight:bold;
    padding:10px 0;
}

    

.guide-box2{
    background:#f8faf5;
    border-left:6px solid #90b08b;
    padding:20px;
    margin-bottom:30px;
    border-radius:8px;
}

.guide-box2 h3{
    margin-bottom:2px;
    font-family: 'Noto Sans JP', sans-serif; 

}
.guide-box2 p{
    margin-left:10px;
    margin-top:0px;
}

ul.desc-li {
    list-style: disc;
    margin-left:30px;
}


/* news */
.news{
    background:
      linear-gradient(
      135deg,
      #f5f8f2,
      #eef5ec
    );
    padding:35px;
    border-radius:12px;
    margin-bottom:35px;
    box-shadow:
      0 3px 10px rgba(0,0,0,0.07);
}
.news h2{
    color:#557455;
    margin-bottom:20px;
    font-size:28px;
    font-family: 'Noto Sans JP', sans-serif; 
}

@media(max-width:768px){
	.news{
	        padding:15px;
	}
}

/* access */
.access-box{
	width:35%;
    background:
      linear-gradient(
      135deg,
      #f5f8f2,
      #eef5ec
    );
    padding:35px 0;
    border-radius:12px;
    margin-bottom:35px;
    box-shadow:
      0 3px 10px rgba(0,0,0,0.07);
      
}
.access-box h2{
    color:#557455;
    margin-bottom:20px;
    font-size:28px;
    text-align:left;
}
.access-box p{
    color:#557455;
width:85%;
    margin:auto;
    text-align:left;

}




@media(max-width:768px){

	.access-box{
	        width:100%;

	}
.access-box p{
width:90%;
    margin:auto;

}

}


/* post */
.post{
    margin-bottom:30px;
}

.post h3{
    margin-bottom:15px;
}

.post a{
    display:block;
    padding:8px 0;
    border-bottom:1px solid #ddd;
}

/* card grid */
.card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:30px;
}

.card{
    min-height:160px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fafafa;
}

/* CTA */
.cta-buttons{
    display:flex;
    gap:20px;
}

.cta-buttons a{
    flex:1;
    text-align:center;
    background:#8fb18a;
    color:#fff;
    padding:16px;
    border-radius:8px;
    font-weight:bold;
}

/* right */
.calendar-box,
.side-banner{
    margin-bottom:20px;
    background:#fff;
    border:1px solid #ddd;
    padding:15px;
    border-radius:8px;
    
}
.side-banner2{
	width:100%;
	height:300px;
    margin-bottom:20px;
    background:#87a97f;
    border:1px solid #000;
    
}

/* -----------------
 SEARCH BOX
------------------*/
.search-box{
    background:#f5f8f2;
    padding:30px;
    border-radius:10px;
    margin-bottom:30px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.search-box h2{
    margin-bottom:20px;
    color:#557455;
    font-size:24px;
}

.search-box form{
    display:flex;
    gap:15px;
}

.search-box input{
    flex:1;
    padding:15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
}

.search-box button{
    background:#8fb18a;
    color:white;
    border:none;
    padding:0 30px;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
}

.search-box button:hover{
    background:#789872;
}


/* -------------------
DIGITAL ARCHIVE
-------------------*/
.archive-promo{
    display:flex;
    gap:0px;
    background:
      linear-gradient(
      135deg,
      #f5f8f2,
      #eef5ec
    );
    padding:35px;
    border-radius:12px;
    margin-bottom:35px;
    box-shadow:
      0 3px 10px rgba(0,0,0,0.07);
}
.archive-text{
    flex:1;
}

.archive-text h2{
    color:#557455;
    margin-bottom:20px;
    font-size:28px;
font-family: 'Noto Sans JP', sans-serif; 

}
@media(max-width:768px){
.archive-text h2{
	    font-size:22px;
	}
}


.archive-text p{
    margin-bottom:25px;
}
.archive-text p span{
    font-weight:bold;
    font-size:1.2em;
}

.to-search-form {
	font-size:0.8em;
}
.to-search-form a {
}


.search-text{
    flex:1;
}
.search-text a{
    /* display:block; */
    padding:8px 0;
    border-bottom:1px solid #ddd;
}

.search-text h2{
    color:#557455;
    margin-bottom:20px;
    font-size:28px;
}
.search-text p{
    margin-bottom:25px;
}
.search-text p span{
    font-weight:bold;
    font-size:1.2em;
}
.search-text a{
    /* display:block; */
    padding:8px 0;
    border-bottom:1px solid #ddd;
}

.space-div {
	width:20px;
	border-left:1px solid #ccc;
}
@media(max-width:768px){
	.space-div {
		display:none;
	}

}

.archive-image{
    width:40%;
}

.archive-image img{
    border-radius:10px;
    box-shadow:
      0 4px 12px rgba(0,0,0,0.1);
}

.archive-buttons{
    display:flex;
    gap:15px;
}

.archive-buttons a{
    background:#8fb18a;
    color:#fff;
    padding:14px 22px;
    border-radius:6px;
    font-weight:bold;
}
.archive-buttons a:hover{
    opacity:0.7;
}


.archive-buttons a:last-child{
    background:#c8a77d;
}

.archive-intro{
    display:flex;
    gap:0px;
    background:
      linear-gradient(
      135deg,
      #f5f8f2,
      #eef5ec
    );
    padding:35px;
    border-radius:12px;
    margin-bottom:35px;
    box-shadow:
      0 3px 10px rgba(0,0,0,0.07);
}
@media(max-width:768px){
	.archive-intro{
		display:block;
		padding:15px;

	}

}


.search-intro{
    display:flex;
    gap:0px;
    background:
      linear-gradient(
      135deg,
      #f5f8f2,
      #eef5ec
    );
    padding:10px;
    border-radius:12px;
    margin-bottom:35px;
    box-shadow:
      0 3px 10px rgba(0,0,0,0.07);
	colmun-gap:20px;
font-family: 'Noto Sans JP', sans-serif; 
font-weight: normal;
}
dl.indent-2 {

}
dl.indent-2 dt {

}
dl.indent-2 dd {
	margin-left:15px;
}

@media(max-width:768px){
	.search-intro{
		flex-direction:column;
		padding:10px;

	}

}
.search-intro2{
    display:flex;
    gap:0px;
    background:
      linear-gradient(
      135deg,
      #f5f8f2,
      #eef5ec
    );
    padding:10px;
    border-radius:12px;
    margin-bottom:35px;
    box-shadow:
      0 3px 10px rgba(0,0,0,0.07);
	colmun-gap:20px;
font-family: 'Noto Sans JP', sans-serif; 
font-weight: normal;
}


/* 資料検索ページのアコーディオン部 */
ul.include-accordion{
  background-color: #35924A;
  width: 100%;
  padding: 0;
  color: #fff;

  /* margin-left:30px; */
}

li{
  list-style: none;
}

ul.include-accordion ul{
  height: 0;
  padding: 0;
  overflow: hidden;
  transition: .5s;
  border-top: 1px solid #67a863;
  background-color: #5EAA6C;
  margin:0;
}

ul.include-accordion li li{
  border-bottom: 1px dotted #7FBF8B;
  padding: 10px 0 10px 10px;
  margin-left:15px;
}

ul.include-accordion:nth-of-type(1) li.active li:last-child{
  border-bottom:1px solid #67a863; 
}

button{
  position: relative;
  border: none;
  width: 100%;
  background-color: inherit;
  color: #fff;
  cursor: pointer;
  text-align: left;
  padding: 15px 0 15px 20px;
  font-size:1em;

}
button:hover{
  background-color: #1A5B27;
}

button::before,
button::after{
  content:"";
  position: absolute;
  top: 20px;
  width: 1.5px;
  height: 8px;
  background-color: #fff;
  transition: .5s;
}

button::before{
  transform: rotate(-45deg);
  right: 35px;
}

button::after{
  transform: rotate(45deg);
  right: 30px;
}

li.active button::before{
  transform: rotate(-135deg);
  transition:.5s;
}

li.active button::after{
  transform: rotate(135deg);
  transition:.5s;
}

ul.include-accordion:nth-of-type(2){ background-color: #357D87; }
ul.include-accordion:nth-of-type(2) ul{ background-color: #519FA5; border-top: 1px solid #5D9FA8; }
ul.include-accordion:nth-of-type(2) button:hover{ background-color: #1C4B56; }
ul.include-accordion:nth-of-type(2) li li{ border-bottom: 1px dotted #73BEBF; }
ul.include-accordion:nth-of-type(2) li.active li:last-child{ border-bottom:1px solid #5D9FA8; }

ul.include-accordion.active{ overflow-y: auto; }



/* footer */
/*
footer{
    background:#eef5ec;
    margin-top:40px;
    border-top:5px solid #8fb18a;
    padding:30px;
    text-align:center;
}
*/
/* -------------------
FOOTER
-------------------*/

.site-footer-new{
    background:#eef5ec;
    margin-top:50px;
    border-top:6px solid #8fb18a;
    position:relative;
}
.site-footer-new::before{
    content:"";
    display:block;
    height:4px;
    background:
      linear-gradient(
        90deg,
        #c8a77d,
        #8fb18a,
        #c8a77d
      );
}
.footer-inner-new{
    max-width:1200px;
    margin:auto;
    padding:40px 30px;
    display:flex;
    
}

.footer-column-new{
	flex: 1;
}
.footer-column-new div{
	margin-bottom:20px;
	font-family: 'Noto Sans JP', sans-serif; 
}
.footer-column-new div p span{
	font-weight:bold;
}

.footer-column-new div p:nth-child(1){
	text-align:center;
}

@media(max-width:768px){
	.footer-inner-new{
		flex-direction: column;
	}

}


/*


.site-footer{
    background:#eef5ec;
    margin-top:50px;
    border-top:6px solid #8fb18a;
    position:relative;
	display:none;
}

.site-footer::before{
    content:"";
    display:block;
    height:4px;
    background:
      linear-gradient(
        90deg,
        #c8a77d,
        #8fb18a,
        #c8a77d
      );
}

.footer-inner{
    max-width:1200px;
    margin:auto;
    padding:40px 30px;
    display:flex;
    gap:40px;
}

.footer-column{
    flex:1;
}

.footer-column h3{
    color:#557455;
    margin-bottom:15px;
    font-size:18px;
}

.footer-column p,
.footer-column li{
    font-size:14px;
    margin-bottom:8px;
    color:#555;
}

.footer-column ul{
    list-style:none;
    padding:0;
}

.footer-column a{
    color:#555;
}

.footer-column a:hover{
    color:#557455;
}

*/
.copyright{
    text-align:center;
    padding:18px;
    border-top:1px solid #d8e3d4;
    font-size:13px;
    color:#666;
}


/* -------------------------
 RESPONSIVE
--------------------------*/
@media(max-width:768px){

    .header-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .menu-toggle{
        display:block;
    }

    .main-nav
    {
	width:300px;
	position:fixed;
	top:0;
	left:-100%;
	transition: all 0.3s ease-in-out;
    }

    .main-nav.active{
        left:0%;
        transition: all 0.3s ease-in-out;

    }

    .main-nav ul,
    .sub-nav ul{
        flex-direction:column;
    }

    .top-content{
        flex-direction:column;
    }

    .left-column,
    .right-column{
        width:100%;
    }

    .card-grid{
        grid-template-columns:1fr;
    }

    .cta-buttons{
        flex-direction:column;
    }
	.search-box form{
	    flex-direction:column;
	}
	.archive-promo{
	    flex-direction:column;
	        padding:15px;

	}

	.archive-image{
	    width:100%;
	}

	.archive-buttons{
	    flex-direction:column;
	}
	.footer-inner{
    flex-direction:column;
	}
}

/* テスト */
.hamburger {
	display:none;
	width:46px;
	height:46px;
	padding:10px;
	cursor:pointer;
	justify-content:center;
	flex-direction:column;
	gap:6px;
	background:#5f7f9d;
	position:fixed;
	top:70px;
	right:10px;
	z-index:999;
	border-radius:5px;
}
.hamburger span {
	display:block;
	height:3px;
	background:white;
	border-radius:2px;
	transition:0.35s;
}
.hamburger.open span:nth-child(1){
	transform:translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2){
	opacity:0;
}
.hamburger.open span:nth-child(3){
	transform:translateY(-9px) rotate(-45deg);
}
@media(max-width:768px){
	.hamburger {
		display:block;
	}
	.hamburger {
		display:flex;
	}
}




/* =====================================
   資料センター・図書館向け 地域一覧
===================================== */

.pref-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0 14px;
    margin:40px 0;
font-family: 'Noto Sans JP', sans-serif; 

}

.pref-table tr{
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
    transition:.3s;
}

.pref-table tr:hover{
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.pref-table th{
    width:220px;
    padding:24px;
    background:linear-gradient(
        135deg,
        #d9efe1 0%,
        #c4e7d0 100%
    );
    color:#2f5f45;
    font-size:1.1rem;
    font-weight:700;
    text-align:center;
    vertical-align:middle;
    border-radius:12px 0 0 12px;
}

.pref-table td{
    padding:20px;
    background:#fff;
    border-radius:0 12px 12px 0;
}

.pref-table ul{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}
.pref-table ul li{
    text-align:center;
    width:120px;
}

/* ========================
   都道府県ボタン
======================== */

.pref-table a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
/*    min-width:90px; */
    padding:10px 18px 10px 15px;
	text-align:center;
    background:#f4fbf6;
    border:1px solid #b7d9c1;

    color:#35624a;
    text-decoration:none;
    font-size:.95rem;
    font-weight:500;

    border-radius:999px;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

/* 本アイコン */

.pref-table a::before{
    content:"";
    margin-right:6px;
    font-size:.9rem;
}

/* Hover */

.pref-table a:hover{
    background:#74b88a;
    color:#fff;
    transform:translateY(-3px);

    box-shadow:
        0 6px 14px rgba(116,184,138,.3);
}

/* Active */

.pref-table a:active{
    transform:translateY(0);
}

/* ========================
   スマホ
======================== */

@media (max-width:768px){

    .pref-table,
    .pref-table tbody,
    .pref-table tr,
    .pref-table th,
    .pref-table td{
        display:block;
        width:100%;
    }

    .pref-table tr{
        margin-bottom:18px;
    }

    .pref-table th{
        width:100%;
        border-radius:12px 12px 0 0;
        padding:16px;
    }

    .pref-table td{
        border-radius:0 0 12px 12px;
    }

    .pref-table a{
        width:calc(50% - 5px);
        min-width:auto;
    }

}

@media (max-width:480px){

    .pref-table a{
        width:100%;
    }

}



/* テーブル全体の横スクロール設定（スマホ対応） */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
font-family: 'Noto Sans JP', sans-serif; 
}

/* テーブルの基本デザイン */
.table-container table {
  width: 100%;
  min-width: 900px; /* 8カラム分の幅を確保 */
  border-collapse: collapse;
font-family: 'Noto Sans JP', sans-serif; 
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ヘッダー（1行目）のスタイル */
.table-container th {
  background-color: #2c3e50; /* 濃いブルー系 */
  color: #ffffff;
  font-weight: bold;
  text-align: left;
  padding: 12px;
  border: 1px solid #e0e0e0;
}
/* single.phpのスタイル */
.table-container.th-sp th {
  width: 30%;
}



/* データ（2行目以降）のスタイル */
.table-container td {
  padding: 12px;
  border: 1px solid #e0e0e0;
}

/* 偶数行の背景色（しましま） */
.table-container tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* リンクのスタイル */
.table-container td a {
  color: #3498db;
  text-decoration: none;
}

.table-container td a:hover {
  text-decoration: underline;
}



/* single.php */

.postmeta {
    text-align: right;
}
.field-content {
    display:flex;
    width: 100%;
    height: auto;
}
@media screen and (max-width:480px) {
    .field-content {
        display:block;
        width: 100%;
        height: auto;
    }
}

.field-content div:nth-child(1) {
    width: 50%;
    height: 100%;
text-align:center;
}
.field-content div:nth-child(1) img {
opacity:1;
    width: 100%;
transition: transform 0.5s ease; /* なめらかに動かす設定 */
}

@media screen and (max-width:480px) {
    .field-content div:nth-child(1) {
        width: 95%;
        margin: 20px auto;
        height: auto;
    }
    .field-content div:nth-child(1) img {
        width: 100%;
        opacity:1;
        transition: transform 0.5s ease; /* なめらかに動かす設定 */
    }
}
.field-content div:nth-child(2) {
    width: 50%;
    height: 100%;
}

.field-content div:nth-child(2) .table_design01 {
  border-collapse: collapse;
  width: 100%;
  height: 100%;
}
.field-content div:nth-child(2) .table_design01 td {
  border: 2px solid #fff;
  background-color: #e6f1f6;
  padding: auto;
    padding-left: 10px;
}
.field-content div:nth-child(2) .table_design01 th {
     border: 2px solid #fff;
  background-color: #4d9bc1;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 30%;
}
@media screen and (max-width:480px) {
    .field-content div:nth-child(2) {
        width: 95%;
        margin: 20px auto;
        height: auto;
    }
    .field-content div:nth-child(2) .table_design01 {
        border-collapse: collapse;
        width: 100%;
        height: auto;
    }
    .field-content div:nth-child(2) .table_design01 td {
        border: 2px solid #fff;
        background-color: #e6f1f6;
        padding: auto;
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.5em;
    }
    .field-content div:nth-child(2) .table_design01 th {
        border: 2px solid #fff;
        background-color: #4d9bc1;
        color: #fff;
        font-weight: bold;
        text-align: center;
        width: 100%;
        display: block;
        font-size: 1.5em;
    }
}
.field-content div:first-child img:hover {
    transform:scale(1.5,1.5);

}
.url_copy_container_outer {
    display:flex;
}
.url_copy_container {
    width: 40%;
    display: flex;
    column-gap: 20px;
    align-items: center;
    background-color: #fff;
    margin-bottom: 30px;  
}
.url_copy_comment {
    width: 60%;
    border: #0056b3 1px solid;
    padding: 10px;
    font-size: 1.0em;
}
.url_copy_comment span {
    font-weight: bold;
}
.copy_bt {
  background: #007bff;
  color: white;
  border: none;
  width: 100px;
  height: 40px;
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  
  &:hover {
    background: #0056b3;
    transform: translateY(-2px);
  }
  
  &:active {
    transform: translateY(0);
  }
}
.danho-p {
    font-size: 1.5em;
    font-weight: bold;
}
.comp_copy {
    background: rgb(3, 105, 3);
  color: white;
  border: none;
  width: 100px;
  height: 40px;
  padding: 12px 0px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  
}
.hp_url {
    border:1px solid #222;
   
    margin: 0;
    line-height: 40px;
    padding: 0 10px;
    

}
.copy_bt {
    padding: 5px 10px;
    position: relative;
}    
@media screen and (max-width:480px){
    .url_copy_container {
        flex-direction: column; 
	 column-gap: 0;
	 width:100%;
    }
    .copy_bt {
        margin-top:20px;
    } 
.comp_copy {
        margin-top:20px;
}
    .hp_url {
       
        
        width: 100%;
         height: auto;

    } 
	.url_copy_container_outer {
        flex-direction: column; 
	}
	.url_copy_comment {
		width:100%;
	}

}

/* アコーディオン全体の枠組み */
.custom-accordion-container {
  width: 100%; /* 必要に応じて横幅を調整してください */
  margin: 20px auto;
  font-family: sans-serif;
}

/* 各アイテムのスタイル */
.custom-accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* 開いている状態の背景色 */
.custom-accordion-item[open] {
  background-color: #fafdff;
  border-color: #b3dbff;
}

/* タップするタイトル部分 */
.custom-accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  list-style: none; /* デフォルトの三角形を消す */
  position: relative;
}

/* Safari用のデフォルト三角形消し */
.custom-accordion-title::-webkit-details-marker {
  display: none;
}

/* --- 【修正】文字化けしない・滑らかに動くプラス・マイナスアイコン --- */
.custom-accordion-title::before,
.custom-accordion-title::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 14px;
  height: 2px;
  background-color: #0073aa; /* テーマカラーに合わせて変更してください */
  transition: transform 0.3s ease-out;
  transform: translateY(-50%);
}

/* 縦の線（プラスにするための線） */
.custom-accordion-title::after {
  transform: translateY(-50%) rotate(90deg);
}

/* 開いたとき：縦の線を回転させて横の線と重ねる（マイナスにする） */
.custom-accordion-item[open] .custom-accordion-title::after {
  transform: translateY(-50%) rotate(180deg);
}
/* -------------------------------------------------- */


/* --- 【修正】開閉どちらも滑らかにするための設定 --- */
/* アコーディオンの中身（開閉スピードをコントロールする外枠） */
.custom-accordion-content {
  display: grid;
  grid-template-rows: 0fr; /* 閉じてる時は高さ0 */
  transition: grid-template-rows 0.3s ease-in-out; /* 閉じる時も効くように変更 */
}

/* 開いたときに高さを1fr（自動取得）にする */
.custom-accordion-item[open] .custom-accordion-content {
  grid-template-rows: 1fr;
}

/* 中身のテキストエリア（文字のフェードイン・アウト） */
.custom-accordion-inner {
  visibility: hidden;
  opacity: 0;
  padding: 0 20px 16px 20px;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
  transition: opacity 0.2s ease-in-out, visibility 0.2s;
  overflow: hidden;
}

/* 開いたときに文字を表示する */
.custom-accordion-item[open] .custom-accordion-inner {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.1s; /* 開く時は少し遅らせてきれいに見せる */
}
/* -------------------------------------------------- */

div#scroll-top-parent {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important; /* 左側からの配置を強制リセット */
    margin: 0 !important;  /* 中央寄せのmarginをリセット */
    text-align: right !important; /* 中身の画像も右寄せに */
}

div#scroll-top-parent a {
    display: inline-block !important;
}

/* バナー全体の枠組み */
.search-banner {
margin-top:20px;
  display: flex;
  justify-content: center;
  align-items: center;
width:100%;
  max-width: 500px;
  height: 200px;
  text-decoration: none; /* リンクの下線を消す */
  border-radius: 12px; /* バナーの角丸 */
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); /* 軽い立体感の影 */
  transition: transform 0.3s ease; /* ホバー時のアニメーション */
  
  /* ??背景の設定：ここをお好みのスタイルに変えられます */
  background: linear-gradient(135deg, #4f46e5, #06b6d4); /* 青?紫の美しいグラデーション */
}

/* バナーの中にマウスを乗せたときの動き */
.search-banner:hover {
  transform: translateY(-4px); /* 少し上に浮き上がる */
}

/* 文字とボタンを中央に並べるコンテナ */
.banner-content {
  text-align: center;
  color: #ffffff;
}

/* キャッチコピーのテキスト */
.banner-text {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

/* 検索ボタン風の装飾 */
.search-btn {
  display: inline-block;
  padding: 12px 36px;
  background-color: #ffffff; /* ボタンの背景は白 */
  color: #4f46e5; /* 文字色はグラデーションのキーカラー */
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px; /* カプセル型の丸み */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時にボタン自体の色を反転させる */
.search-banner:hover .search-btn {
  background-color: #f3f4f6; /* 薄いグレーに変化 */
}
