/*
Theme Name:みどり幼稚園  共通CSS
*/

@charset "UTF-8";

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" element is excluded, otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Fix mobile Safari increase font-size on landscape mode */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu, summary {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
    all: revert;
    box-sizing: border-box;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}
/*
  フォントの基本設定
=================================================================*/
/*
  Reset: font-size, line-height propaty
-----------------------------------------------------------------*/
html {
    font-size: 62.5%;
}
body {
    font-size: 1.4rem;
}
/* 
  Reset: font-family propaty
-----------------------------------------------------------------*/
body {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #231815;
    overflow-x: hidden;
}

/*
  画像
=================================================================*/
img{
	border:none;
	vertical-align:top;
	width: 100%;
	height: auto;
}


/*
  main css
=================================================================*/
html{
	height:100%;
}
a{
	text-decoration:none;
}
a img,a{
	-webkit-transition: 0.3s ease-in-out;
     -moz-transition: 0.3s ease-in-out;
     -o-transition: 0.3s ease-in-out;
     transition: 0.3s ease-in-out;
}
a:hover img ,a:hover{
     opacity: 0.8;
}
.inner{
    width: 90%;
    margin: 0 auto;
}
.flex_wrap{
    display: flex;
}
.sp{
    display: block;
}
.pc{
    display: none;
}
/*
  #header
=================================================================*/
/*headerレイアウト*/
header{
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0;
}
h1{
    width: 20%;
    max-width: 222px;
    margin-left: 5%;
}
/*drawer*/
.drawer{
  display: block;
}
.menu-trigger {
  transition: .3s;
  width: 80px;
  height: 80px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
}
.menu-trigger p{
  position: absolute;
  top: 28px;
}
.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  top:30px;
  left: 25%;
  width: 50%;
  height: 2px;
  background-color: #a2deac;
  transition: all .5s;
}
.menu-trigger span:nth-of-type(2) {
top: 40px;
}
.menu-trigger span:nth-of-type(3) {
top: 50px;
}
.menu-trigger.active span {
  top:35px;
}
.menu-trigger.active span:nth-of-type(3) {
top: 45px;
}
.menu-trigger.active span{
  background: #a2deac;
  height: 2px;
  width: 50%;
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-5px) rotate(45deg);
  transform: translateY(-5px) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(5px) rotate(-45deg);
  transform: translateY(5px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
  -webkit-animation: active-menu-bar02 .8s forwards;
animation: active-menu-bar02 .8s forwards;
}

/*drawer中*/
header nav {
  width: 50%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9998;
  transform: translate3d(100%,0,0);
  transition: all .5s;
  padding: 8vh 0 0 20px;
  background: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

header nav.open {
  transform: translate3d(0,0,0);
}
header nav.open li{
    padding: 10px;
    border-bottom: 1px solid #a2deac;
    
}
/*
  footer
=================================================================*/
footer{
    padding: 50px 0 20px;
}
.address{
    display: flex;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}
.address figure{
    width: 25%;
    margin-left: 5%;
}
.address dl{
    width: 50%;
    font-size: 1.6rem;
    font-weight: bold;
}
.footer_nav{
    display: none;
}
address{
    font-size: 1rem;
    font-style: normal;
    text-align: center;
}
/*
  contact
=================================================================*/
#contact .contact_text {
    margin-bottom: 30px;
}
#contact .contact_text dt{
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5em;
    font-weight: bold;
}
#contact .contact_tel{
    text-align: center;
}
#contact .flex_wrapPC{
    background: #f5efea;
    padding: 30px 20px;
}
.footer_contact .contact_tel{
    text-align: center;
}
.contact_tel dt+dd{
    color: #a2deac;
    font-family: "gill-sans-nova", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 30px;
}
.contact_tel dt{
    font-weight: bold;
}
.link_contact a{
    background: #a2deac;
    color: #fff;
    text-align: center;
    display: block;
    width: 80%;
    margin: 20px auto 0;
    padding: 15px 0;
    border-radius: 30px;
}
.link_contact .arrow{
    margin-left: 10px;
}
.footer_contact{
    width: 90%;
    margin: 30px auto;
}
/*
  レスポンシブ
=========================================================================================================*/
/*
  tb
===================================================================================================*/

@media screen and (min-width: 768px) {
    h1{
        width: 15%;
        max-width: 222px;
        margin-left: 5%;
    }
}
@media screen and (min-width: 959px) {
    .pc{
        display: block;
    }
    .sp{
        display: none;
    }
    html {
        font-size: 75%;
    }
    header#top h1{
        position: relative;
        z-index: 1;
        max-width: 177.6px;
        margin: 0 auto;
    }
    header.page h1{
        position: relative;
        z-index: 1;
        max-width: 145px;
    }
    header#top .drawer{
        position: absolute;
        left: 0;
    }
    header.page .drawer{
        position: absolute;
        left: 200px;;
    }

    header nav ul{
        display: flex;
    }
    header#top nav ul{
        justify-content: space-around;
        width: 40%;        
    }
    header.page nav ul{
        gap: 0 30px;
    }
    header nav li{
        font-size: 18px;
    }
    header nav.open li{
        padding: 0;
        border-bottom: none;

    }
    /*drawer*/
    .drawer{
        display: block;
    }
    .menu-trigger {
        display: none;
    }

    /*drawer中*/
    header nav {
        width: 100vw;
        height: auto;
        position: relative;
        transform: none;
        background: none;
        display: flex;
        padding: 30px 5%;
        box-sizing: border-box;
    }
    header#top nav{
        justify-content: space-between;
    }
    header.page nav {
        gap:0 30px;
        margin-top: 30px;
    }
    /*
      footer
    =================================================================*/
    footer{
        padding: 50px 0 20px;
    }
    footer .flex_wrapPC{
        justify-content: space-between;
        align-items: center;
    }
    #footer_btm{
        padding: 50px 2%;
    }
    .address{
        display: flex;
        width: 40%;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .address figure{
        width: 28%;
        max-width: 127px;
        margin: 0 50px 0 5%;
    }
    .address dl{
        width: 60%;
        font-size: 1.6rem;
        font-weight: bold;
    }
    .footer_nav{
        display: block;
        background: url("../images/bg.png") repeat;
        background-size: 0.8% auto;
        padding: 50px 5%;
    }
    .footer_nav > ul{
        display: flex;
        justify-content: space-around;
        font-weight: bold;
        font-size: 1.6rem;
    }
    .footer_nav li dd{
        font-size: 1.4rem;
    }
    .footer_nav .album a{
        display: flex;
        align-items: center;
    }
    .footer_nav li img{
        width: 20.5px;
        height: 20.5px;
        margin-left: 10px;
    }
    .footer_contact{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        width: 60%;
        justify-content: flex-end;
    }
    .footer_contact .contact_tel{
        text-align: left;
    }
    .contact_tel dt+dd{
        font-size: 50px;
    }
    .footer_contact .link_contact{
        margin: 30px 0 0 30px;
    }
    .footer_contact .link_contact a{
        width: 350px;
        margin: 0;
        padding: 15px 0;
        border-radius: 30px;
    }
    address{
        margin-top: 50px;
    }
/*
  contact
=================================================================*/
    #contact figure{
        width: 96vw;
        margin: 0 calc(50% - 48vw);
        z-index: 0;
        position: relative;
    }
    #contact .contact_text {
        margin-bottom: 0;
        width: 48%;
    }
    #contact .contact_text dt{
        font-size: 22px;
        margin-bottom: 20px;
        line-height: 1.7em;
        font-weight: bold;
    }
    #contact .contact_tel{
        text-align: center;
        width: 48%;
    }
    #contact .flex_wrapPC{
        max-width: 1200px;
        padding: 60px 8%;
        box-sizing: border-box;
        margin-top: -17%;
        z-index: 2;
        position: relative;
    }

}


/* ==== 2026-09 追加：フッター園章・行事スナップ ==== */
.f_name{ display: flex; align-items: center; gap: 10px; }
.f_name img.f_emblem{ width: 44px; height: auto; flex: none; }
.f_name span{ font-size: 1.35rem; line-height: 1.6; white-space: nowrap; }
.event_snaps{ display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; list-style: none; max-width: 1000px; margin: 30px auto 60px; padding: 0 5%; }
.event_snaps li{ width: calc(50% - 8px); }
.event_snaps img{ display: block; width: 100%; height: auto; }
@media screen and (min-width: 768px) {
    .event_snaps{ gap: 20px; padding: 0; }
    .event_snaps li{ width: calc(25% - 15px); }
}
#ennai_map{ padding: 40px 0 60px; }
#ennai_map h3{ margin-bottom: 30px; }
.ennai_map_fig{ max-width: 900px; margin: 0 auto; }
.ennai_map_fig img{ display: block; width: 100%; height: auto; border-radius: 12px; }


/* お知らせ記事本文の画像：編集画面で選んだサイズで表示（全幅に広げない） */
.single_wrap dd img { width: auto; max-width: 100%; height: auto; }
.single_wrap dd img.aligncenter { display: block; margin: 0 auto 1.5em; }
.single_wrap dd img.alignleft { float: left; margin: 0 1.5em 1em 0; }
.single_wrap dd img.alignright { float: right; margin: 0 0 1em 1.5em; }
.single_wrap dd::after { content: ""; display: block; clear: both; }
