/*** Front Page Style --Here-- ***/

/* Main Visual Text Style */
.mb-text p {
  letter-spacing:0.12em ; /* 0.075em- change */
  line-height: 1.6;      
  position: relative;
  top: -100px;
}

.responsive-text p {
  font-size: 2rem !important;
  line-height: 1.6; /* Yuttari */
}

@media screen and (max-width: 768px) {
  .responsive-text p {
    font-size: 1.8rem !important;
    line-height: 1.5;
  }
}

@media screen and (max-width: 480px) {
  .responsive-text p {
    font-size: 1.5rem !important;
    line-height: 1.4;
  }
}


/*About us*/
.autiaboutus h2 {
  /*writing-mode: vertical-rl;*/
  line-height: 1.2;
  column-count: 2;
  column-gap: 1.5em;
  padding-top: 2rem;
  padding-left: 5rem;
}



/*news date*/
.nobr {
  white-space: nowrap;
}


/*** Front Page Style --END-- ***/

/*** All Contents --Here-- ***/
body {
  font-weight: 500;
    line-height: 1.8;
    font-size: 1rem;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    color: #222;
}

nav a {
  font-weight: 700;
}

/* logo */

/* Defo：PC-logo */
.wp-block-site-logo img {
  content: url("https://auti.jp/main/wp-content/uploads/2025/06/auti-logo-title-500-300x110.png");
  width: auto;
  height: 60px;
}

/* Tab（〜768px） */
@media (max-width: 768px) {
  .wp-block-site-logo img {
    content: url("https://auti.jp/main/wp-content/uploads/2025/06/auti-logo-300.png");
  }
}

/* Sm（〜480px） */
@media (max-width: 480px) {
  .wp-block-site-logo img {
    content: url("https://auti.jp/main/wp-content/uploads/2025/06/auti-logo-300.png");
  }
}

/*sectionhedding*/
.sectionheading {
    border-top: 1px solid #ccc;
    height: auto;
    padding: 2.8rem 2rem 0;
    position: relative;
    width: 100%;
}

/*sectionbottom*/
.sectionbottom {
    border-top: 1px solid #000000;
    height: auto;
    padding: 1rem 2rem 0;
    position: relative;
    width: 100%;
}


/*section-hasen*/
.section-dash {
    border-top: 1px dashed #908b60;
    height: auto;
    padding: 1rem 2rem 0;
    position: relative;
    width: 100%;
}




/* House-image 
.house {
  background-image: url("https://auti.jp/main/wp-content/uploads/2025/06/ie-600.png");
  background-size: contain;       
  background-position: center;    
  background-repeat: no-repeat;  
  background-color: #fff;        
}

.house-text p {
   writing-mode: vertical-rl;   
  text-orientation: mixed;    
  direction: rtl;              
  display: flex;              
  align-items: flex-start;     
  height: 100%;                
}
*/

/* Post-image:kadomaru */
.wp-block-hakoniwa-blocks-posts .post-image figure img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

/* Rerated Post-image:kadomaru  */
.wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    transition: all 300ms ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
}

/* Google calender（smart phone） */
.googleCalender iframe {
  width: 100%;
  max-width: 800px;
  height: 400px;
}

/* Google calender（PC） */
@media (min-width: 960px) {
  .googleCalender iframe {
    height: 600px;
  }
}

/* Headlineーimg
.headline-img::after {
  content: url('https://auti.jp/main/wp-content/uploads/2025/06/bird-fruit150.png');
  display: inline-block;
  vertical-align: middle;
  height: 3em;
}
*/

/* Headline-img */
.headline-img {
    position: relative;
    padding: 1em 1em 1em 0em;
    background-image: url(https://auti.jp/main/wp-content/uploads/2025/07/friend-midashi350.png);
    background-repeat: no-repeat;
    background-position: -5px 40px;
    background-size: 2em 2em;
    overflow: visible;
}




/* Headline */
.pt h1,
.pt h2 {
  position: relative;
  padding-bottom: 0.5em;
  text-align: center;
}

.pt h1::after,
.pt h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(25deg, #53d799, #2b8ce1);
  margin: 0.5em auto 0;
}

/*
.ptc h1,
.ptc h2,
.ptc h3 {
  font-weight: bold;
}*/

/*category label*/
.wp-block-post-terms a {
  display: inline-block;
  border: 1px solid #999; 
  border-radius: 12px; 
  padding: 0.2em 0.5em;
  font-size: 0.85em;
  text-decoration: none;
   margin-top: 0.2em;
  margin-right: 0.1em;
  color: #333;
  background-color: #f9f9f9; 
}

.wp-block-post-terms a:hover {
  border-color: #666;
  background-color: #eee;

  
}
.wp-block-post-terms a::after {
  content: none !important;
}

.wp-block-post-terms a:not(:last-child)::after {
  display: none !important;
}

/* Query Loop */
.wp-block-post {
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.25em;
}

/* Front Page  */
.rounded-top-large {
  border-top-left-radius: 9999px !important;
  border-top-right-radius: 9999px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background-color: #fff; 
  padding: 2rem; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  
}

/* Expert, About us Page  */
.rounded-top-large2 {
  border-top-left-radius: 9999px !important;
  border-top-right-radius: 9999px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background-color: #fff; 
  padding: 2rem; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  background-image: url('https://auti.jp/main/wp-content/uploads/2025/06/paper.png'); 
}

/* Call for Supporters Page, Kodomo-katsudo, Otona-katsudo  */
.rounded-bottom-large {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 9999px !important;
  border-bottom-right-radius: 9999px !important;
  background-color: #fff; 
  padding: 2rem; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  background-image: url('https://auti.jp/main/wp-content/uploads/2025/06/paper.png'); 
}

/* Right-radius: Frontpage  */
.rounded-bottom-larg-front {
  border-top-left-radius: 50px !important;
  border-top-right-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
  border-bottom-right-radius: 999px !important;
  background-color: #fff; 
  padding: 2rem; 
  margin-left:2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  background-image: url('https://auti.jp/main/wp-content/uploads/2025/06/paper.png'); 
}
@media screen and (max-width: 768px) {
  .rounded-bottom-larg-front {
    width: calc(100% - 2rem); /* 画面幅から左右1remずつマージン確保 */
    margin: 0 auto; /* 中央寄せ */
    box-sizing: border-box; /* padding を含めた幅制御 */
  }
}

/* Right-radius: Call for Supporters Page, Kodomo-katsudo, Otona-katsudo*/
.rounded-bottom-large2 {
  border-top-left-radius: 50px !important;
  border-top-right-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
  border-bottom-right-radius: 999px !important;
  background-color: #fff; 
  padding: 2rem; 
  margin-left:6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  background-image: url('https://auti.jp/main/wp-content/uploads/2025/06/ie-600.png'); 
}


/* Right-radius: Frontpage  */
.rounded-right-half {
  border-top-left-radius: 1000px !important;
  border-top-right-radius: 9999px !important;
  border-bottom-left-radius: 1000px !important;
  border-bottom-right-radius: 9999px !important;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Category Label Style */
.articles.is-list-date article .post-label {
  font-size: 0.7rem;
  text-align: center;
  width: 5rem;
  border-radius: 100vh;
}


/*Expert*/


/* Apply transition to image: Expert */
.hover-block .target-img img {
  transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Brighten the image when hovering over the entire block: Expart */
.hover-block:hover .target-img img {
  filter: brightness(1.1);        
  transform: translateY(-2px);     
}


/*column- text-img*/
@media (max-width: 768px) {
  .wp-block-columns-ti {
    display: flex;
    flex-direction: column;
  }

  .wp-block-column-ti {
    order: 0; /* 初期化：すべて同じ順序に */
  }

  .wp-block-column-ti:first-child {
    order: 2; /* 左カラム（最初のカラム）を下に */
  }

  .wp-block-column-ti:last-child {
    order: 1; /* 右カラムを上に */
  }
}



/* 見出しを固定 */
/* Sticky設定本体 */

.vertical-heading-wrapper-f {
  position: sticky;
  top: 0;
  /*height: 100vh;*/
  background: #fff;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  align-items: flex-start;
  /*writing-mode: vertical-rl;*/
  padding: 1rem;
}



.vertical-heading-wrapper-f > .wp-block-group {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vertical-heading-wrapper-f h2 {
  margin: 0 -1rem !important;
  padding: 2rem 0 !important;
  white-space: nowrap;
  line-break: auto;
}

/*wp-block-column vertical-heading-wrapper is-layout-flow wp-block-column-is-layout-flow*/