/*
Theme Name: Colibri WP Child
Template: colibri-wp
Author: aoiro-wp
*/

/* ここから下にカスタムCSSを書いていけます */


body h1{
	font-size:32px;
}

/*-----------トップページ------------*/
.h-image__frame-container .wp-image-1379 {
    animation-name: fadein;
    animation-duration: 2s;
}
@keyframes fadein{
    from{
    opacity: 0;
    transform: translatey(20px);
    }
    to{
    opacity: 1;
    transform: translatey(0);
    }
}


/*-------ホバーでフェード-------*/
a:hover .wp-image-1507 {
  content: url("https://ued.sakura.ne.jp/testwp_aoren/wp-content/uploads/2025/09/画像15.png"); 
}

/* 表 */
.wp-block-table.members-table {
  text-align: center;
  vertical-align: middle;
  padding: 0.5em 0.75em;
}
.wp-block-table table,
.wp-block-table table td,
.wp-block-table table th {
  border: none !important;
}
.wp-block-table td.vertical {
  writing-mode: vertical-rl;
  white-space: nowrap;
  padding: 0.5em;
  text-align: center;
  vertical-align: middle;
  font-size: 0.9em;
}



/*----------------組織図------------------*/

/* 全国・愛媛 */
.unit-topcontainer {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.unit-topcontainer::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: #d0d7dd;
}

/* 青年・女性部 */
.unit-middlecontainer {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 20px;
	transform: translateX(-117px);
}
.unit-middle {
  border: 2px solid #d0d7df;
  padding: 8px 16px;
  display: inline-block;
  border-radius: 8px;
  background: #eef;
  font-size: 14px;
  min-width: 200px;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
/* 右側縦棒 */
.unit-middle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 2px;
  height: 50px;
  background: #d0d7dd;
  z-index: 1;
}
/* 右向き横棒 */
.unit-middle::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: #d0d7dd;
}

/* 地方は横並び＋縦書き */
.regions {
  position: relative;
  border: 2px solid #d0d7dd;
  border-radius: 8px;
  padding: 10px;
  display: inline-block;
  margin-top: 20px;  
}

.regions::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: #d0d7dd;
}
.org-chart .regions {
  display: flex;
  justify-content: center;
	gap: 12px;
	max-width: 800px;
	margin: 0 auto;
	top: 10px;
}
.org-chart .region {
  writing-mode: vertical-rl;
  text-orientation: upright;
  min-height: 160px;
  white-space: nowrap;
  border: 2px solid #d0d7df;
  padding: 4px 8px;
  border-radius: 8px;
  background: #eef;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* 各単位会 */
.unit-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.unit-container::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: #d0d7dd;
}
/* 全体枠 */
.unit{
  border: 2px solid #d0d7df;
  padding: 8px 16px;
  display: inline-block;
  border-radius: 8px;
  background: #eef;
  font-size: 14px;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.region a{
  text-decoration:none;
  color:#0b63b8;
  display:block;
  padding:8px 12px;
}
.unit a{
	text-decoration:none;
	color:#0b63b8;
}
@media (max-width: 768px) {
  .org-chart .regions {
    justify-content: center;
    gap: 1px;

    transform-origin: top center;
  }

  .org-chart .region {
    text-orientation: upright;
    min-height: 120px;
    padding: 1px 1px;
    border-radius: 6px;
  }

  .region a {
    padding: 1px 1px;
    font-size: 16px;
  }
}




/*----------------役職名------------------*/
.wp-block-table {
	border: 2px solid #f5f5f5;
	border-radius: 6px;
  margin: 2px;
} 

.wp-block-table table tr:nth-child(odd) {
	background-color: #f5f5f5;
}


/*------------固定ページ全体-------------*/

.h-col {
/* 	max-width: 1000px; */
	margin: 0 auto;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;  
}

.harf-border {  
	background: linear-gradient(transparent 50%, #bde4f7 50%);
  	padding: 0 0.1em;
}


/* calender */
.my-calendar {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 400px;
}
.my-calendar td.sunday {
    color: red;
}
.my-calendar td.saturday {
    color: blue;
}
.my-calendar a.has-post {
    text-decoration: underline;
}
.my-calendar table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
}
.my-calendar th,
.my-calendar td {
    padding: 4px 6px;
    text-align: right;
    vertical-align: top;
}
.my-calendar .cal-header a {
	color: #026E9F;
}

@media (max-width: 768px) {
.wp-block-heading {
    text-align: left;
  }
}


/* BlogArchiveList */
[class*="type-"].page ul.wp-block-latest-posts__list{
	margin:0;
	padding:0;	
}


ul.wp-block-latest-posts__list.wp-block-latest-posts li a.wp-block-latest-posts__post-title{
	font-size:20px;
	margin-bottom: 0px;
	line-height: 1.5;
	font-weight:bold
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
	float:right;
	font-size:14px;
	font-weight:normal;
	line-height:1.8;
}

.wp-block-latest-posts__post-excerpt, .wp-block-latest-posts__post-full-content{
	font-size:16px;
	font-weight:normal;
	margin:3px auto;
}


.content.colibri-main-content-single .main-section .colibri-sidebar.blog-sidebar-right, .content.colibri-main-content-archive .main-section .colibri-sidebar.blog-sidebar-right{
	width:100% !important;
	max-width:100% !important;
}


/* よくあるお問い合わせ */
.wp-block-details summary {
    font-size: 20px;
    color: #17252A;
}
.wp-block-preformatted {
    font-size: 16px;
}
h4.inquiry-header {
	padding: 8px;
	background-image: url("https://ued.sakura.ne.jp/testwp_aoren/wp-content/uploads/2025/08/aoirologo.png");
	background-repeat: no-repeat;
	background-position: right;
    background-size: 35px;
}

/*青色申告会を探す*/
#area_list details {
	padding: 0 0 0 0.5rem
}

[class*="type-"].page details{
	text-align:left;
	color:#333;
	font-size:18px;
	padding-left:0.5rem
}

[class*="type-"].page details ul{
	margin: 0 0 1.5rem 1.5rem;	
	text-align:left;
	font-size:16px;
}

[class*="type-"].page hr.wp-block-separator{
	color:silver
}

div.page_anchor {
	position:relative;
	top:-100px;	
}

figure.wp-block-table.search-page-table{
	width:100%
}

.search_border {  
	background: linear-gradient(transparent 50%, #bde4f7 50%);
  	padding: 0 0.1em;
}

.h-row .h-col-4 ul li {
	list-style: square;
}
.h-row .h-col-4 li a{
	color: #026E9F;
}

@media (max-width: 768px){
	.search-page-table ,
	.search-page-table tr,
	.search-page-table td {
		display: block;
		width: 100%;
	}
	
}


/**活動報告、お知らせ*/

.column-width-limit{
	max-width:1232px;
	margin:20px auto;
}


ul.wp-block-latest-posts__list.wp-block-latest-posts.my-article-list li{
  text-align: left;
  height: auto;
  min-height: unset;
  background-color: #FFFFFF;
  background-image: none;
  box-shadow: 0px 10px 40px 0px rgba(1, 51, 74, 0.15);
  border-top-width: 0px;
  border-top-style: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-right-width: 0px;
  border-right-style: none;
  border-bottom-width: 0px;
  border-bottom-style: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-left-width: 0px;
  border-left-style: none;
  margin-bottom:75px;
	padding:30px
}

ul.category_fixed_list {
	display:flex;
}
ul.category_fixed_list li{
	margin-left:1.5rem;
	width:100%;
	text-align:left;
}


/**
 * footer
 */

.row .column p {
	text-align: left;
	font-size: 16px;
	margin: 0;
	color: #17252A;
}
.row .column p.access-info {
	color: #FFFFFF;
	background-color: #2A4387;
	font-size: 14px;
	padding:5px
}
.theme-footer .row {
	color: #17252A;
}

.theme-footer .footer-img {
	margin: 0 auto
}

.widget-columns {
	display: flex;
}
.footer-widget ul li {
	list-style: none;
  	margin: 0;
  	padding: 4px 0;
	text-align: left;
}
.footer-widget ul {
	padding-left: 20px;
}

.footer-widget a {
  	text-decoration: none; 
  	color: inherit;
}

.footer-widget a:hover {
	text-decoration: underline;
}

.theme-footer svg.fa-angle-down,
.theme-footer svg.fa-angle-right,
.theme-footer .svg-inline--fa.fa-angle-down,
.theme-footer .svg-inline--fa.fa-angle-right {
  	display: none;
}

footer.theme-footer{
	min-height: unset;
	background-color: #F5FAFD;
	background-position: 47.417232267758145% 88.67090356452059%;
	background-size: cover;
	background-image: url("https://ued.sakura.ne.jp/testwp_aoren/wp-content/uploads/2025/09/IMG_E0854-scaled.jpg");
	background-attachment: scroll;
	background-repeat: no-repeat;
	padding-top: 30px;
	padding-bottom: 30px;
}

footer div.theme-footer-content-wrapper{
	width: 100%;
	padding-top: 0;
    padding-bottom: 0;
	padding-right: 0;
	padding-left: 0;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	min-height: unset;
	background-color: rgba(255, 255, 255, 0.5);
}

footer div.theme-footer-content-container{
	width:100%;
}

footer div.theme-footer-content-container .theme-footer-content-main-row div.h-column{
	margin-top:15px;
}

footer div.theme-footer-content-container .theme-footer-content-main-row div.p-r-0{
	padding-right:0
}

/*　contactform7 */
#colibri .style-1328 .h-contact-form-shortcode .wpcf7-not-valid-tip{
	color:red;
	font-size:14px;
	margin-bottom:10px
}

#colibri .style-1328 .h-contact-form-shortcode textarea, #colibri .style-1328 .h-contact-form-shortcode form.forminator-ui textarea.forminator-textarea, #colibri .style-1328 .h-contact-form-shortcode select, #colibri .style-1328 .h-contact-form-shortcode input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]){
	margin-bottom:0;
	margin-bottom:4px;
}

@media (max-width: 768px){
.widget-columns {
		flex-direction: row;
	}
	
.h-contact-form-shortcode .wpcf7 label {
  		text-align: left;
	}
}

@media (min-width: 576px) {
footer div.theme-footer-content-wrapper{
    max-width: 540px;
  }
}
@media (min-width: 768px) {
body h1{
	font-size:2.875em;
}
ul.category_fixed_list {
	display:block;
}

	
figure.wp-block-table.search-page-table table tr td:first-child{
	width:31%
}
	
figure.wp-block-table.search-page-table table tr td:last-child{
	width:23%
}
	
.content.colibri-main-content-single .main-section .colibri-sidebar.blog-sidebar-right, .content.colibri-main-content-archive .main-section .colibri-sidebar.blog-sidebar-right{
	max-width:35% !important;
}
	
   .wp-block-columns.custom-row {
	 gap:0;
	 display:block;
   }

 .wp-block-columns.custom-row .wp-block-column.c-col {
    margin-bottom:1rem
  }

	.row .column p {
		margin: 15px;
	}

	.row .column p.access-info {
		padding:10px
	}

	
	
	footer div.theme-footer-content-wrapper{
    max-width: 720px;
  }
}
@media (min-width: 1024px) {
　.content.colibri-main-content-single .main-section .colibri-sidebar.blog-sidebar-right, .content.colibri-main-content-archive .main-section .colibri-sidebar.blog-sidebar-right{
	max-width:25% !important;
　}
footer div.theme-footer-content-wrapper{
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
footer div.theme-footer-content-wrapper{
    max-width: 1232px;
  }
}

