@charset "UTF-8";
/*
    Template: swell
    Theme Name: M.AT.Theme
    Theme URI: https://magicacademytokyo.com/
    Description: M.AT.のテーマ
    Version: 1.0.0
    Author URI : https://magicacademytokyo.com/
    
*/

/* PC/スマホで表示切り替え */
/* PC表示 */
.sp-hide{
	display:none;
}
.pc-hide{
	display:block;
}

/* Google Map レスポンシブ */
#map {
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
}

#map .inner {
	position: relative;
	height: 0;
	padding-top: 40%;
	overflow: hidden;
}

#map .inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 960px) {

	#map .inner {
		padding-top: 75%;
	}

}

@media (max-width: 600px) {

	#map .inner {
		padding-top: 100%;
	}

}

/*　ContactForm7のテーブル化レスポンシブ調整　*/

/************************************
** お問い合わせフォームの入力
************************************/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #eff1f5;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}
/* Contact Form 7のラジオボタンを縦並びに */
.wpcf7-radio .wpcf7-list-item {
    margin-top:10px;
    display: block;
}

@media(max-width:768px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .requied,
    .inquiry .option {
        font-size: 10px
    }
}
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #efefef;
    padding-right: 15px;
    width: 30%;
    background: #222222 !important;
    border: solid 1px #d7d7d7
}
.inquiry td {
    font-size: 13px;
    border: solid 1px #d7d7d7;
		 background: #222222 !important;
}
.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #d7d7d7
}
.requied {
    font-size: 7px;
    padding: 5px;
    background: #DD3333;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.option {
    font-size: 7px;
    padding: 5px;
    background: #1e73be;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.verticallist .wpcf7-list-item {
    display: block
}
#formbtn {
    display: block;
    padding: 10px;
    width: 200px;
    background: #4cba39;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    margin: 20px auto 0
}
#formbtn:hover {
    background: #fff;
    color: #4cba39;
    border: 2px solid #4cba39
}
th {
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px
}
td {
    border-top: 1px solid #ededed;
    padding: 12px
}
input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}

/* スマホでは英語・日本語のフラッグを右上に配置する */
.iconwrap {
    display: flex;
    margin-right: 5px;
    margin-left: -35px;
    margin-top: 5px;
}

.icon{
	padding: 0 3px;
}
.l-header__customBtn, .l-header__menuBtn {
    width: 20% !important;
    height: var(--logo_size_sp);
    line-height:0;
	 margin-left:5px;
    text-align: center;
}

.icon-search{
	margin-top:5px;
}

@media(min-width:768px) {
.inquiry th{
	    text-align: right;
}

/* PC/スマホで表示切り替え */
/* SP表示 */
.sp-hide{
	display:block;
}
.pc-hide{
	display:none;
}
}