﻿@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

/*** all ***/

*:focus {
  outline:none;
}
html{
  font-size: 16px;
}
body{
  -webkit-text-size-adjust: 100%;
	line-height: 1.5;
  letter-spacing: 0;
}
body, .font_sans-serif{
	font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

h2, h3, h4, h5, h6{
  line-height: 1.5;
}

input[type="submit"], input[type="button"] {
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration, input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus, input[type="button"]::focus {
  outline-offset: -2px;
}
textarea{
  overflow: auto
}

/*---------------------------------------------------------------------------*/

#wrap{
  max-width: 562.5px;
  margin: 0 auto;
  overflow: hidden;
}
.btn{
    bottom: 5%;
}
.btn_bottom{
    bottom: 5%;
}
.btn a{transition: 0.5s;}
.btn a:hover{
    transform: scale(1.03);
    transition: 0.5s;
}

body, .font_sans-serif{
	font-family: 'Noto Serif JP', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

/*** mailform ***/

.mailform input::placeholder, .mailform textarea::placeholder{
  opacity: 0.5
}
.mailform input{
  transition: border-color 0.2s;
}
.mailform input:not([type="radio"]):focus{
  border-color: var(--color1);
}
.mailform .form_title.required{
  position: relative;
  padding-right: 55px;
}
.mailform .form_title.required::before{
  position: absolute;
  content: "必須";
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 3px 10px;
  background-color: var(--color1);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: normal;
}
.mailform select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.mailform .select_wrap::before{
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  border-right: solid 1px var(--color1);
  border-bottom: solid 1px var(--color1);
  transform: translateY(-60%) rotate(45deg);
  top: 50%;
  right: 15px;
}
.mailform #submit input{
  cursor: pointer;
}

/* ここからお問い合わせフォームコード */
.form-title {
  color: var(--color1);
  border-bottom: 1px solid;
  margin-bottom: 30px;
}

.form-title-text {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-name {
  display: flex;
  justify-content: space-between;
}

.form-name-box {
  width: 48%;
}

.phone-text {
  color: var(--red);
  margin-bottom: 8px;
}


.radio-group {
  display: flex;
  flex-direction: column;
}

.input-radio {
  -webkit-appearance: none;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  background-color: #eee;
  position: relative;
}

.input-radio:before {
  content: "";
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.input-radio:checked:before {
  background: #172068;
}

.form-select {
  background-image: url(/img/select.png);
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.mailform select:focus{
  border-color: var(--color1);
}

.date {
  margin: 10px 0 30px;
}

.date-title {
  margin-bottom: 10px;
}

.date-text {
  font-size : calc(1rem - 2px);
}

.date-text + .date-text {
  margin-top: 8px;
}

.submit-btn {
  width: 100%;
  border-radius: 50px;
  font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/*ここからタブレット用（780px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 768px){
}

/*ここからスマホ用（750px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
}