/*
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;
}

/*
  画像
=================================================================*/
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;
}
.fix_bnr{
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 999;
}
.fix_bnr li{
    writing-mode: vertical-rl;
    width: 45px;
    height: 80px;
    line-height: 1.2em;
    margin-bottom: 10px;
}
.fix_bnr li a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
    font-weight: bold;
}
.fix_bnr li:first-child a{
    background: #ffb700;
    color: #333;
    padding-right: 13px;
    
}
.fix_bnr li:last-child a{
    background: #e11f7f;
    color: #fff;
    padding-right: 5px;
}
/*
  #header
=================================================================*/
/*headerレイアウト*/
header{
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0;
}
h1{
    width: 15%;
    max-width: 127px;
    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: #333;
  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: #3a2619;
  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中*/
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;
  box-sizing: border-box;
}

nav.open {
  transform: translate3d(0,0,0);
}
nav.open li{
    padding: 10px 0;
    font-size: 1.6rem;
}
/*
  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: #e11f7f;
    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: #e11f7f;
    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;
}
/*
  レスポンシブ
=========================================================================================================*/

@media screen and (min-width: 959px) {
    .pc{
        display: block;
    }
    .sp{
        display: none;
    }
    html {
        font-size: 75%;
    }
    .inner{
        max-width: 1200px;
        margin: 0 auto;
    }
    .fix_bnr li{
        writing-mode: vertical-rl;
        width: 50px;
        height: 100px;
        line-height: 1.2em;
        margin-bottom: 10px;
    }
    h1{
        width: 127px;
        max-width: 127px;
    }
    .drawer{
        margin-right: 5%;
    }
    header nav ul{
        display: flex;
    }
    header nav li{
        font-size: 18px;
        writing-mode: vertical-rl;
        font-weight: bold;
    }
    /*drawer*/
    .drawer{
        display: block;
    }
    .menu-trigger {
        display: none;
    }

    /*drawer中*/
    nav {
        width: auto;
        height: auto;
        position: relative;
        transform: none;
        padding: 0;
        background: none;
    }
    /*
      footer
    =================================================================*/
    footer{
        padding: 50px 0 20px;
    }
    footer .flex_wrapP{
        align-items: flex-start;
    }
    .address{
        display: flex;
        width: 32%;
        margin: 0 5% 0 5%;
        justify-content: space-between;
        align-items: flex-start;
    }
    .address figure{
        width: 28%;
        max-width: 127px;
        margin-left: 5%;
    }
    .address dl{
        width: 60%;
        font-size: 1.6rem;
        font-weight: bold;
    }
    .footer_nav{
        width: 50%;
        display: flex;
        flex-wrap: wrap;
        height: 180px;
        justify-content: space-between;
        font-weight: bold;
    }
    .footer_nav li dd{
        font-size: 14px;
        font-weight: normal;
    }
    .footer_contact{
        display: flex;
        align-items: flex-end;
        margin-top: 50px;
    }
    .footer_contact .contact_tel{
        text-align: left;
        margin-right: 5%;
    }
    .contact_tel dt+dd{
        font-size: 50px;
    }
    .footer_contact .link_contact a{
        width: 350px;
        margin: 0;
        padding: 15px 0;
        border-radius: 30px;
    }
    address{
        text-align: right;
        margin-right: 20px;
    }

/*
  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;
    }

}
