/*
Theme Name: NINIROOM Block Theme
Text Domain: niniroom-block-theme
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
*/

@charset "UTF-8";

/* ==========================================================================
Typography & Colors
========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
    color: var(--wp--preset--color--niniroom-orange);
}
a:hover {
    text-decoration: underline;
}

.fc-or {
    color: var(--wp--preset--color--niniroom-orange);
}

img{
    max-width: 100%;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

/* 基本ブレイクポイントは835px */
@media screen and (max-width:835px){
    br.br-pc {
        display: none; 
    }
}

@media screen and (min-width:400px) { 
	br.br-sp{
		display: none;
	}
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.grecaptcha-badge {
    visibility: hidden;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-mail-sent-ok,
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    border: none !important;
}

.entry-content {
    margin-block-start: 0;
}

@media screen and (max-width:835px){
  .entry-content > *:not(.alignfull) {
    max-width: 92%;
    margin: 0 auto;
  }
}

/* ==========================================================================
Global Components
========================================================================== */

#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
	box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.06);
}

.wp-block-navigation__responsive-container-close {
	top: 20px;
	right: 40px;
}

/* ==========================================================================
TOP Page
========================================================================== */

.ggmap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.ggmap iframe,
.ggmap object,
.ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#contact input,
#contact textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    outline: 0;
    border: 0;
    background: var(--wp--preset--color--default-background-color);
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
    width: 100%;
    padding: 10px 10px;
    background: var(--wp--preset--color--default-background-color);
    border: 1px solid var(--wp--preset--color--default-border-color-light);
}
#contact .contact-btn input{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 50px;
    margin: 0 auto 10px;
    text-align: center;
    border: 1px solid var(--wp--preset--color--default-border-color);
    color: var(--wp--preset--color--default-border-color);
    text-decoration: none;
    background: none;
    cursor: pointer;
}
#contact .contact-box {
    max-width: 620px;
    text-align: left;
    margin: 0 auto;
}
#contact .contact-box dl {
    display: flex;
    margin-bottom: 20px;
}
#contact .contact-box dl dt {
    width: 160px;
    padding-top: 10px;
}
#contact .contact-box dl dd {
    width: 460px;
}

#contact .screen-reader-response,
#contact .screen-reader-response ul {
    display: none;
}
#contact .wpcf7-response-output {
    text-align: center;
}

#contact .must {
    color: var(--wp--preset--color--niniroom-orange);
}

#contact .grecaptcha {
    text-align: center;
    display: block;
    width: 50%;
    margin: 0 auto 15px;
    font-size: 0.8rem;
}

@media screen and (max-width:835px){
    #contact {
        padding: 45px 0 50px 0;
    }
    #contact input[type="text"],
    #contact input[type="email"],
    #contact input[type="tel"],
    #contact textarea {
        padding: 7px 7px;
    }
    #contact .contact-btn input{
        width: 230px;
        height: 50px;
        font-size: 0.8rem;
    }
    #contact .contact-box {
        width: 100%;
        margin: 0 auto;
        padding: 0 30px;
    }
    #contact .contact-box dl {
        display: block;
        margin-bottom: 10px;
    }
    #contact .contact-box dl dt {
        width: 100%;
        font-size: 0.8rem;
        letter-spacing: 3px;
        margin-bottom: 5px;
        padding-top: 5px;
    }
    #contact .contact-box dl dd {
        width: 100%;
    }
}

/* ==========================================================================
RECRUIT Page
========================================================================== */
#entry {
    width: 100%;
}
#entry label {
    cursor: pointer;
}
#entry input,
#entry textarea{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    outline: 0;
    border: 0;
    background: var(--wp--preset--color--default-background-color);
}
#entry input,
#entry textarea {
    width: 100%;
    padding: 10px 10px;
    background: var(--wp--preset--color--default-background-color);
    border: 1px solid var(--wp--preset--color--default-border-color-light);
}
#entry .contact-btn input {
	display: block;
	text-align: center;
	width: 180px;
	-webkit-border-radius: 20px;
	        border-radius: 20px;
	margin: 0 auto 70px;
	font-family: 'Noto Sans JP', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif !important;
	line-height: 40px;
	color: var(--wp--preset--color--default-background-color);
	background: var(--wp--preset--color--niniroom-green);
	text-decoration: none;
	cursor: pointer;
}
#entry dl {
    display: flex;
    margin-bottom: 20px;
}
#entry dl dt {
    width: 120px;
    margin-right: 40px;
    padding-top: 10px;
}
#entry dl dd {
    width: calc(100% - 160px);
}
#entry .screen-reader-response,
#entry .screen-reader-response ul {
    display: none;
}
#entry .wpcf7-response-output {
    text-align: center;
}
#entry .must {
    color: var(--wp--preset--color--niniroom-orange);
}

@media screen and (max-width:835px){

    #entry input[type="text"],
    #entry input[type="email"],
    #entry input[type="tel"],
    #entry textarea {
        padding: 7px 7px;
    }
    #entry dl {
        display: block;
        margin-bottom: 10px;
    }
    #entry dl dt {
        width: 100%;
        margin-bottom: 5px;
        padding-top: 5px;
    }
    #entry dl dd {
        width: 100%;
    }
}