@charset "UTF-8";

/* ------ common ------ */
* {
  margin: 0;
  padding: 0;
  word-break: break-all;
  line-break: strict;
  outline: none;
  box-sizing: border-box
}
html {
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo UI", "Meiryo", "MS PGothic", sans-serif;
  font-size: 62.5%;
  font-weight: 600;
  font-style: normal;
  line-height: 1.6;
  font-feature-settings: "palt";
  -webkit-overflow-scrolling: touch;	  
}
body {
    height: 100%;
    color: #000;
    font-size: 1.5rem;
    font-style: normal;
    background: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    transform: none;
	font-family: "Inter", sans-serif;
    scroll-behavior: smooth; /* スムーズスクロールを有効にする */
}
img { max-width: 100% }
ol,
ul,
li {

}
table {
  border-spacing: 0;
  border-collapse: collapse
}
form label { cursor: pointer }
input,
textarea {
}
a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease-in-out
}
a:hover {
  color: #000;
  outline: none
}
a:focus { outline: none }
input[type=submit] { transition: all 0.3s ease-in-out }
a img { border: none }
.cf::after {
  content: "";
  display: block;
  clear: both
}
::-moz-selection {
  color: #fff;
  background: #000
}
::selection {
  color: #fff;
  background: #000
}
::-webkit-input-placeholder { color: #999 }
::-moz-placeholder {
  color: #999;
  opacity: 1
}
:-ms-input-placeholder { color: #999 }

/* ------ header ------ */
header {
    width: 100%;
    height: 80px;
    background-color: #fff;
    top: 0;
    box-shadow: 0 0 5px rgb(0,0,0,0.3);
    z-index: 100;
    position: fixed;
}

header .inner cf {
    width: 100%;
    font-size: 0;
    margin: 0;
}

header .logo {
    vertical-align: middle;
    padding: 0 0 0 20px;
    display: inline-block;
    z-index: 100
}
header .logo a { display: block }
header .logo h1,
header .logo p {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 80px;
  letter-spacing: 0.2em;
  transition: all 0.3s;
  display: inline-block
}
header .logo h1 span,
header .logo p span {
  font-size: 2.4rem;
  letter-spacing: 0.2em;
}
@media screen and (min-width: 769px) {
  header .menuBtn { display: none }
}
@media screen and (max-width: 768px) {
  header { height: 60px }
  header .inner { padding: 0 0 0 4% }
  header .logo {
    width: 260px;
    padding: 0
  }	
  header .logo h1,
  header .logo p {
    font-size: 1.4rem;
    line-height: 10px
  }
  header .logo h1 span,
  header .logo p span {
    font-size: 2.0rem
  }
   /* menu trigger */
  .menuBtn {
    width: 60px;
    height: 60px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    z-index: 100
  }
  .menuTrigger,
  .menuTrigger span {
    transition: all .4s;
    display: inline-block
  }
  .menuTrigger .menuIcon {
    width: 25px;
    height: 20px;
    position: relative;
    top: 20px;
    display: inline-block
  }
  .menuTrigger span {
    width: 100%;
    height: 3px;
    background: #6DC7D0;
    position: absolute;
    left: 0
  }
  .menuTrigger span:nth-child(1) { top: 0 }
  .menuTrigger span:nth-child(2) { top: 9px }
  .menuTrigger span:nth-child(3) { bottom: 0 }
  .menuTrigger span:nth-child(1) { animation: menu-bar01 .75s forwards }
  .menuTrigger.active span:nth-child(1) { transform: translateY(9px) rotate(-45deg) }
  .menuTrigger.active span:nth-child(2) {
    left: 50%;
    animation: active-menu-bar02 .8s forwards;
    opacity: 0
  }
  }
  @-webkit-keyframes active-menu-bar02 {
    100% { height: 0 }
  }
  @keyframes active-menu-bar02 {
    100% { height: 0 }
  }
  .menuTrigger.active span:nth-child(3) { transform: translateY(-9px) rotate(45deg) }

/* ------ nav ------ */
header nav {
  text-align: center;
  vertical-align: top;
  display: inline-block;
  float: right
}
header nav .globalNav ul {
  height: 80px;
  font-size: 0
}
header nav .globalNav li {
  height: 80px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 80px;
  letter-spacing: 0.09em;
  text-align: center;
  position: relative;
  display: inline-block
}
header nav .globalNav li::before {
  content: "";
  width: 1px;
  height: 40%;
  margin: auto;
  background: #999;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0
}
header nav .globalNav li a {
  padding: 0 20px;
  display: block;
  z-index: 1
}
header nav .globalNav li a:hover { color: #6DC7D0 }

@media screen and (min-width: 769px) {
  header nav .snsWrap { display: none }
}
@media screen and (max-width: 768px) {
  header nav {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border-top: 1px solid #c1c1c1;
    position: fixed;
    top: 60px;
    right: -100%;
    transition: all 0.3s ease-in-out;
    float: none;
    overflow-y: scroll
  }
  header nav.open {
    min-height: 100vh;
    padding-bottom: 100px;
    background: #fff;
    right: 0;
    z-index: 99
  }
  header nav .globalNav ul {
    height: auto;
    margin-top: 60px
  }
  header nav .globalNav li {
    height: 60px;
    font-size: 1.8rem;
    line-height: 60px;
    display: block
  }
  header nav .globalNav li::before {
    width: 0;
    height: 0
  }
  header nav .snsWrap {
    margin-top: 30px;
    display: block
  }
  header nav .snsWrap ul { font-size: 0 }
  header nav .snsWrap li {
    width: 26px;
    vertical-align: middle;
    display: inline-block
  }
  header nav .snsWrap li + li { margin-left: 40px }
}
/* ------ main visual ------ */
.mainVisualWrap {
  width: auto;
  height: auto;
  object-position: relative;
}
.mainVisualWrap .slider {
  height: auto;
  overflow: hidden
}
.mainVisualWrap .slider img {
    max-width: initial;
    height: auto;

}
@media screen and (max-width: 768px) {
  .mainVisualWrap {
    min-width: inherit;
    height: 560px;
	width: auto;
	object-position: top left;
  }
  .mainVisualWrap .slider { height: 560px }
  .mainVisualWrap .slider img { display: none }
  .mainVisualWrap .slider li { height: 560px }
  .mainVisualWrap .slider .slider01 {
    background: url("../img/topimage-small3.jpg") no-repeat;
    background-size: cover;
	object-position: top left;
  }
  .mainVisualWrap .slider .slider02 {
    background: url("../img/topimage-small4.jpg") no-repeat;
    background-size: cover;
	object-position: topleft;
  }
}
/* Small Tablets */
@media (min-width: 321px)and (max-width: 767px) {
  .mainVisualWrap {
    min-width: inherit;
    height: 560px;
	object-position: top left;
  }
  .mainVisualWrap .slider { height: 560px }
  .mainVisualWrap .slider img { display: none }
  .mainVisualWrap .slider li { height: 560px }
  .mainVisualWrap .slider .slider01 {
    background: url("../img/topimage-small3.jpg") no-repeat;
    background-size: cover;
	object-position: top left;
  }
  .mainVisualWrap .slider .slider02 {
    background: url("../img/topimage-small4.jpg") no-repeat;
    background-size: cover;
	object-position: top left;
  }
}	
@media (max-width: 320px) {
   .mainVisualWrap {
    min-width: inherit;
    height: 560px;
	object-position: bottom left;
  }
  .mainVisualWrap .slider { height: 560px }
  .mainVisualWrap .slider img { display: none }
  .mainVisualWrap .slider li { height: 560px }
  .mainVisualWrap .slider .slider01 {
    background: url("../img/topimage-small3.jpg") no-repeat;
    background-size: cover;
	object-position: bottom left;
  }
  .mainVisualWrap .slider .slider02 {
    background: url("../img/topimage-small4.jpg") no-repeat;
    background-size: cover;
	object-position: bottom left;
  }
}
	
/* ------ menu ------ */
#menu {
  padding-top: 80px;
  margin-top: -80px
}
#menu .inner {
  text-align: center;
  padding: 80px 0
}
#menu h2 {
  font-size: 2.4rem;
  letter-spacing: 0.09em
}
#menu .menuMain {
  width: 100%;
  height: 200px;
  margin-top: 60px;
  background: url("../img/whitecosmos-title450.jpg") 60% 60% no-repeat;
  background-size: cover
}
#menu .menuMainInner {
  width: 1200px;
  margin: 0 auto;
  position: relative
}
#menu .menuMainBox {
  width: 800px;
  height: 200px;
  text-align: left;
  padding: 40px;
  background: rgba(255,255,255,0.7);
  position: absolute;
  top: 0;
  left: 40px
}
#menu .menuMainBox h3 {
  font-size: 2.8rem;
  letter-spacing: 0.09em
}
#menu .menuMainBox p {
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  margin-top: 30px
}
} 
@media screen and (max-width: 768px) {
  #menu {
    padding-top: 60px;
    margin-top: -60px
  }
  #menu .inner {
    text-align: center;
    padding: 60px 0 20px
  }
  #menu h2 { font-size: 2rem }
  #menu .menuMainInner {
    width: 100%;
    padding: 0 4%;
  }
  #menu .menuMainBox {
    width: 90%;
    height: 200px;
    padding: 20px 40px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 40px
  }		
  #menu .menuMainBox h3 { font-size: 2rem }
  #menu .menuMainBox p { margin-top: 20px }
  
  #menu .menuMain1 {
    height: 200px;
    background: url("../img/business-title450.jpg") 50% 50% no-repeat;
  }
  #menu .menuMain2 {
    height: 200px;
    background: url("../img/immigration-title450.jpg") no-repeat;
  }
  #menu .menuMain3 {
    height: 200px;
    background: url("../img/whitecosmos-title450.jpg") 50% 50% no-repeat;
  }
#menu .menuMain4 {
    height: 200px;
    background: url("../img/travel-title450.jpg") 50% 50% no-repeat;
  }
}
@media (min-width: 321px)and (max-width: 767px) {
  #menu {
    padding-top: 60px;
    margin-top: -60px
  }
  #menu .inner {
    text-align: center;
    padding: 60px 0 20px
  }
  #menu h2 { font-size: 2rem }
  #menu .menuMainInner {
    width: 100%;
    padding: 0 4%;
  }
  #menu .menuMainBox {
    width: 90%;
    height: 200px;
    padding: 20px 40px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 40px
  }		
  #menu .menuMainBox h3 { font-size: 2rem }
  #menu .menuMainBox p { margin-top: 20px }
  
}
/* ------ column ------ */
    .intro {
      margin-bottom: 2em;
      text-align: center;
    }
    .book-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1em;
      margin-bottom: 2em;
    }
    .book-card {
      flex: 1 1 250px;
      border: 1px solid #ccc;
      padding: 1em;
      text-align: left;
    }
   .book-card ul {
    flex: 1 1 250px;
    border: 1px solid #ccc;
    padding: 1em;
    text-align: left;
    }

    .sample-images {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1em;
      margin-bottom: 2em;
    }
    .sample-images img {
      width: 100%;
      max-width: 200px;
      height: auto;
      border: 1px solid #ccc;
    }
    @media (max-width: 600px) {
      .book-section, .sample-images {
        flex-direction: column;
        align-items: center;
      }
    }
/* ------ news ------ */
#news {
  padding-top: 80px;
  margin-top: -80px
}
#news .inner {
  width: 1200px;
  text-align: center;
  padding: 80px 10px;
  margin: 0 auto
}
#news h2 {
  font-size: 2.4rem;
  letter-spacing: 0.09em;
  border-bottom: solid 3px #ffc778;
  position: relative;
}

#new h2 {
    padding: 0.8rem 0;
    margin-bottom: 0.2rem;
    background-image: linear-gradient(90deg, #b2d5de 0 20%, #dedede 20%);
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
    color: #323232;
    font-weight: bold;
    font-size: 26px;
}
#news .newsWrap {
  text-align: left;
  margin-top: 20px
}
#news .newsWrap dl {
  width: 900px;
  font-size: 0;
  padding: 25px 20px;
  margin: 0 auto;
  border-bottom: 1px solid #c1c1c1
}
#news .newsWrap dt {
  width: 120px;
  font-size: 1.4rem;
  letter-spacing: 0.09em;
  vertical-align: top;
  display: inline-block
}
#news .newsWrap dd {
  width: 740px;
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  vertical-align: top;
  display: inline-block
}
#news .newsWrap dd a {
  color: #e21412;
  text-decoration: underline
}
@media screen and (max-width: 768px) {
#news {
    padding-top: 60px;
    margin-top: -30px
  }
#news .inner {
    width: 100%;
    padding: 60px 4% 20px
  }
#news h2 { font-size: 2rem }
#news .newsWrap dl {
    width: 100%;
    padding: 20px 0
  }
#news .newsWrap dt {
    width: 100%;
    display: block
  }
#news .newsWrap dd {
    width: 100%;
    margin-top: 10px;
    display: block
  }
}
.space-sm {
  display: block;
  margin-top: 0.5em;  /* または 8px、10px など */
}
/* ------ shop ------ */
#shop {
  padding-top: 140px;
  margin-top: -80px;
  margin-bottom: 15%;
}
#shop .inner {
    width: auto;
    text-align: center;
	margin: 5%;
}
#shop .title h2 {
    width: auto;
    font-size: 2.4rem;
    letter-spacing: 0.09em;
    border-bottom: solid 5px #e0ffff;
    position: relative;
    text-align: center;
}
#shop .title h2:after {
  width: 20%;
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 5px #6DC7D0;
  bottom: -5px;
}
#shop .title h3 {
  width: auto;
  font-size: 2.1rem;
  letter-spacing: 0.09em;
  border-bottom: solid 3px #e0ffff;
  position: relative;
  text-align: left;
  padding-top: 40px;
  margin-bottom: 20px;
}
#shop .title h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #6DC7D0;
  bottom: -3px;
  width: 20%;
}
#shop .inner .shopWrap {
    width: 40%;
    font-size: 1.6rem;
    letter-spacing: 0.09em;
    vertical-align: middle;
    text-align: left;
    display: inline-block;
	float: left;
}
#shop .inner .shopWrap .indent02 {
    width: auto;
    font-size: 1.6rem;
    letter-spacing: 0.09em;
    vertical-align: middle;
    text-indent: 1em;
	text-align: left;

}
#shop .inner .shopInfo {
    width: 40%;
    font-size: 1.6rem;
    letter-spacing: 0.09em;
    vertical-align: middle;
    text-align: left;
    display: inline-block;
	margin-top: 10px;
	margin-bottom: -25px;
}
#shop .shopInfo dl {
  padding: 10px;
  margin: 0 auto;
  border-bottom: 1px solid #c1c1c1
}
#shop .shopInfo dl:first-child { border-top: 1px solid #c1c1c1 }
#shop .shopInfo dt {
  font-size: 1.3rem;
  letter-spacing: 0.09em;
}
#shop .shopInfo dd {
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  margin-top: 10px
}
.info {
    vertical-align: middle;
    margin-top: 4%;
    display: inline-block;
	text-align: center;
}
.writingimg {
	width: auto;
}
@media screen and (max-width: 768px) {
#shop {
    padding-top: 80px;
    position: relative;
  }
#shop .inner {
    width: auto;
	text-align: center;
	margin: 5%;
  }
#shop .title h3 {
  width: auto;
  text-align: left;
}
#shop .inner .shopWrap {
    width: auto;
	text-align: center;
}
#shop .inner .shopWrap .indent02 {
    width: auto;
    font-size: 1.6rem;
    letter-spacing: 0.09em;
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
}
#shop .inner .shopInfo {
    width: auto;
    position: relative;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: -25px;
}
#shop .shopInfo dl {
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 auto;
  border-bottom: 1px solid #c1c1c1
}
#shop .shopInfo dl:first-child { border-top: 1px solid #c1c1c1 }
#shop .shopInfo dt {
  font-size: 1.4rem;
  letter-spacing: 0.09em;
}
#shop .shopInfo dd {
  font-size: 1.4rem;
  letter-spacing: 0.09em;
  margin-top: 10px
}
.info {
    vertical-align: middle;
    display: inline-block;
	text-align: center;
}
.writingimg {
	width: 100%;
	text-align: center;
}
}
@media (min-width: 321px)and (max-width: 767px) {
#shop {
    padding-top: 80px;
    margin-top: -30px;
    position: relative;
  }
#shop .inner {
    width: auto;
  }
#shop .title h3 {
  width: auto;
  padding-top: 5%;
  padding-bottom: 0%;
  padding-left: 5%;
  padding-right: 5%;
  text-align: left;
}
#shop .inner .shopWrap {
    width: auto;
}
#shop .inner .shopWrap .indent02 {
    width: auto;
    font-size: 1.6rem;
    letter-spacing: 0.09em;
    vertical-align: middle;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: normal;
}
#shop .inner .shopInfo {
    width: auto;
    position: relative;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: -25px;
}
#shop .shopInfo dl {
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 auto;
  border-bottom: 1px solid #c1c1c1
}
#shop .shopInfo dl:first-child { border-top: 1px solid #c1c1c1 }
#shop .shopInfo dt {
  font-size: 1.4rem;
  letter-spacing: 0.09em;
}
#shop .shopInfo dd {
  font-size: 1.4rem;
  letter-spacing: 0.09em;
  margin-top: 10px
}
.info {
    vertical-align: middle;
    display: inline-block;
	text-align: center;
}
.writingimg {
	width: 100%;
	text-align: center;
}
}
/* footer */
.button {
	width: 200px;
	margin-top: 40px;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
	text-align: center;
	vertical-align: middle;
	border-radius: 0px;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	border: 3px solid #FFFFFF;
	color: #FFFFFF;
	transition: all 0.3s linear;
}
.button:hover {
    background-color: #3396A0;
    color: #FFFFFF;
    cursor: pointer;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #FFFFFF;
    color: #000000;
    font-weight: lighter;
    letter-spacing: 2px;
    border-top-width: 2px;
    font-family: Arial, Helvetica, sans-serif;
}
footer {
	color: #000000;
	background-color: #6DC7D0;
	padding-top: 60px;
	padding-bottom: 60PX;
}
.intro {
	display: inline-block;
	background-color: #6DC7D0;
}

.hero_header {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 22px;
    text-align: center;
    color: #1C5257;
    font-weight: lighter;
}

/* Mobile */
@media (max-width: 320px) {
.logo {
	width: 100%;
	text-align: left;
	margin-top: 13px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
.text_column {
    width: 100%;
    text-align: left;
    padding-left: 20px;
}
.intro .column p {
    width: 80%;
    margin-left: 0px;
    text-align: left;
}
.thumbnail {
	width: 100%;
}
.column {
	width: 100%;
	margin-top: 0px;
}
}

/* Small Tablets */
@media (min-width: 321px)and (max-width: 767px) {
.logo {
	width: 100%;
	text-align: center;
	margin-top: 13px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
.text_column {
	width: 100%;
	text-align: left;
	padding: 0;
}
.thumbnail {
	width: 100%;
}
.thumbnail {
	width: 100%;
}
.text_column {
    padding-left: 20px;
    padding-right: 20px;
    width: 90%;
    text-align: left;
}
.column {
	width: 100%;
	margin-left: 0px;
	margin-right: 0px;
}
.profile {
	width: 30%;
}
.intro .column p {
	width: 90%;
	text-align: left;
	padding-left: 0px;
}
}

/* Small Desktops */
@media (min-width: 768px) and (max-width: 1096px) {
.thumbnail {
	width: 48%;
}
.text_column {
    width: 100%;
    margin: 0;
    padding: 20px;
    text-align: left;
}
.intro .column p {
    width: 80%;
    text-align: left;
}
}
/* カスタムCSS: トップに戻るボタンのスタイル */
#backToTopBtn {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面に固定 */
    bottom: 20px; /* 下から20px */
    right: 20px; /* 右から20px */
    background-color: #2563eb; /* 青色 */
    color: white; /* 文字色を白に */
    padding: 12px 18px; /* パディング */
    border-radius: 9999px; /* 角を丸くする (Tailwindのrounded-full相当) */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影 */
    cursor: pointer; /* カーソルをポインターに */
    font-weight: bold; /* 太字 */
    transition: background-color 0.3s ease, transform 0.3s ease; /* ホバー時のアニメーション */
    z-index: 1000; /* 他の要素より手前に表示 */
    border: none; /* ボーダーなし */
    outline: none; /* アウトラインなし */
}

#backToTopBtn:hover {
    background-color: #1d4ed8; /* ホバー時の色 */
    transform: translateY(-2px); /* 少し上に移動 */
}

/* カスタムCSS: メッセージボックスのスタイル */
.message-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
    z-index: 2000;
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.message-box-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.message-box-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 1rem;
    color: #1e40af; /* text-blue-800 */
}

.message-box-content {
    margin-bottom: 1.5rem;
    color: #4b5563; /* text-gray-700 */
}

.message-box-button {
    background-color: #2563eb; /* bg-blue-600 */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem; /* rounded-md */
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
    outline: none;
}

.message-box-button:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
}

/* ------ contact ------ */
#contact .imageWrap {
  width: auto;
  height: 400px;
  background: url("../img/topimage2-1920.jpg") 30% 0% no-repeat;
  background-size: cover  
}
#contact .inner {
    width: 900px;
    text-align: center;
    padding: 80px 10px 120px;
	margin: 0 auto;
}
#contact .title { padding-top: 10px }
#contact .title h2 {
  font-size: 2.4rem;
  letter-spacing: 0.09em
}
#contact .txt { margin-top: 60px }
#contact .txt p {
  font-size: 1.6rem;
  letter-spacing: 0.09em
}
@media screen and (max-width: 768px) {
#contact .imageWrap {
    height: 560px;
    background: url("../img/topimage-small4.jpg") 50% 50% no-repeat
  }
#contact .inner {
    width: 100%;
    padding: 60px 4% 80px;
    margin: -60px auto 0;
  }
#contact .title { padding-top: 60px }
#contact .title h2 { font-size: 2rem }
#contact .txt { margin-top: 40px }
#contact .txt p br { display: none }
}
@media (max-width: 400px) {
#contact .imageWrap {
    height: 560px;
    background: url("../img/topimage-small4.jpg") 60% 60% no-repeat
}
}
/* input */
#contact .inner #contactInner {
	text-align: center;
}

#contact .formBox {
    margin-top: 0px;
}

#contact .formBox .itemWrap,
#contact .formBox .labelSmp1 {
  width: 100%;
  padding: 20px 10px;
  border-bottom: 1px dashed #c1c1c1
}
#contact .formBox .itemWrap:first-child { border-top: 1px dashed #c1c1c1 }

#contact .formBox .itemWrap label,
#contact .formBox .itemWrap { display: table }

#contact .formBox .itemWrap label p,
#contact .formBox .labelSmp1 p {
  width: 240px;
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  vertical-align: top;
  text-align: left;
  padding: 13px 0 0 0;
  display: table-cell;
  position: relative;
}

#contact .formBox .labelSmp1 span {
  width: 130px;
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  vertical-align: top;
  text-align: left;
  padding: 5px 0 0 0;
  display: table-cell;
  position: relative;
  float: left;	
}

#contact .formBox .itemWrap label p .required {
  color: #e21412;
  font-size: 1.3rem;
  letter-spacing: 0.09em;
  font-style: normal;
  position: absolute;
  top: 18px;
  right: 20px
}
  
#contact .formBox .itemWrap label p
.required::after
{ content: "必須" }

#contact .formBox .itemWrap input {
  width: 620px;
  height: 50px;
  font-size: 1.6rem;
  vertical-align: middle;
  padding: 0 10px;
  border: 2px solid #c1c1c1;
  transition: all 0.2s
}
#contact .formBox .itemWrap textarea {
  width: 620px;
  height: 120px;
  font-size: 1.6rem;
  vertical-align: middle;
  padding: 10px;
  border: 2px solid #c1c1c1;
  transition: all 0.2s
}
#contact .formBox .itemWrap textarea:hover,
#contact .formBox .itemWrap textarea:active {
  border: 2px solid #1f1f1f
}
#contact .formBox .itemWrap em {
  color: #e21412;
  font-size: 1.3rem;
  font-style: normal;
  letter-spacing: 0.09em;
  text-align: left;
  padding: 0 10px 0 240px;
  margin-top: 10px;
  display: block
}
#contact .formBox .itemWrap em + em { margin-top: 0 }
#contact .formBox .fonmBtn {
  width: 360px;
  text-align: center;
  margin: 0px auto 0
}
#contact .formBox .fonmBtn input {
  width: 100%;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.09em;
  line-height: 60px;
  border: none;
  background: #e21412;
  position: relative;
  display: block
}

#smp1 {
   width: 600px;
   margin-left: 250px;
   display: inline-block;
}
#smp1 label {
    width: 180px;
    display: block;
    float: left;
    text-align: left;
}
.labelSmp1 label:hover {
    background-color: #6DC7D0;
    font-color: #fff;
    font-weight: normal;
    color: #FFFFFF;
}
.labelSmp1 input {
	margin-right: 0.8em;
    margin-top: 0.8em;
    margin-left: 0.8em;
    margin-bottom: 0.8em;
}

@media screen and (max-width: 768px) {
#contact .formBox { margin-top: 40px }
#contact .formBox .labelSmp1,
#contact .formBox .itemWrap { padding: 20px 0 }
#contact .formBox .itemWrap label { display: block }
#contact .formBox .labelSmp1,
#contact .formBox .itemWrap label p {
    width: 100%;
    padding: 6px 0;
    display: block
  }
#contact .formBox .itemWrap label p .required {
    top: 10px;
    right: 0
  }
#contact .formBox .itemWrap input { width: 100% }
#contact .formBox .itemWrap textarea { width: 100% }
#contact .formBox .itemWrap em { padding: 0 }
#contact .formBox .fonmBtn { width: 300px }
#smp1 {
   width: 100%;
   margin-left: 260px;
   display: inline-block;
}
#smp1 label {
    width: 100%;
    display: block;
    float: left;
    text-align: left;
}
}
@media screen and (max-width: 400px) {
#smp1 {
   width: 100%;
   margin-left: 200px;
   display: inline-block;
}
}	
		
/* ------ compliance ------ */
#compliance {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
}
#compliance .inner {
    width: 800px;
    text-align: center;
    padding-top: 10px;
	padding-bottom: 0px;
    margin: 0 auto;
    display: inline-block;
    background-color: #D3EEF1;
    list-style-position: inside;
}
#compliance .inner .subject h2 {
    font-size: 1.5rem;
    letter-spacing: 0.09em;
    margin-bottom: 10px;	
}
#compliance .paragraph p {
    text-align: left;
    font-size: 1.2rem;
    letter-spacing: 0.09em;
    margin-top: 1px;
	margin-left: 20px;
	margin-right: 20px;
}
#compliance .complianceWrap {
    text-align: left;
    margin-top: 0px
}
#compliance .complianceWrap dl {
    width: 700px;
    font-size: 0;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 0px;
	padding-bottom: -50px;
}
#compliance .complianceWrap dt {
    width: 200px;
    font-size: 1.2rem;
    letter-spacing: 0.09em;
    vertical-align: top;
    display: inline-block;
    margin-top: 10px; 	  	  
}
#compliance .complianceWrap dd {
    width: 700px;
    font-size: 1.2rem;
    letter-spacing: 0.09em;
    vertical-align: top;
    display: inline-block;
    margin-top: 0px; 	
	margin-left: 30px;
	margin-right: 10px;
	margin-bottom: 10px;
}
#compliance .complianceWrap dd a {
    color: #e21412;
    text-decoration: underline
}
@media screen and (max-width: 768px) {
#compliance {
    padding-top: 60px;
    margin-top: -30px
  }
#compliance .inner {
    width: 100%;
    padding: 20px 4% 20px
  }
#compliance h2 { font-size: 2rem }
#compliance .complianceWrap dl {
    width: 100%;
    padding: 20px
  }
#compliance .complianceWrap dt {
    width: 100%;
    display: block
  }
#compliance .complianceWrap dd {
    width: 100%;
    margin-top: 10px;
    padding-right: 20px;
  }
} 
/* comfirm */
#contact .formBox .confirmTxt {
  font-size: 1.6rem;
  letter-spacing: 0.09em
}
#contact .formBox .confirmBox { margin-top: 10px }
#contact .formBox .confirmBox table {
  width: 900px;
  border: 1px solid #c1c1c1
}
#contact .formBox .confirmBox th,
#contact .formBox .confirmBox td {
  letter-spacing: 0.09em;
  text-align: left;
  padding: 10px;
  border: 1px solid #c1c1c1
}
#contact .formBox .confirmBox th {
  width: 200px;
  background: #f0f0f0
}
#contact .formBox .btnWrap {
  font-size: 0;
  text-align: center;
  margin-top: 20px
}
#contact .formBox .btnWrap form {
  width: 300px;
  vertical-align: middle;
  display: inline-block
}
#contact .formBox .btnWrap form + form { margin-left: 40px }
#contact .formBox .btnWrap form:nth-child(1) input[type=submit] {
  width: 100%;
  height: 60px;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.09em;
  line-height: 60px;
  vertical-align: middle;
  border: none;
  background: #c1c1c1;
  position: relative;
  text-decoration: none;
  display: block
}
#contact .formBox .btnWrap form:nth-child(2) input[type=submit] {
  width: 100%;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.09em;
  line-height: 60px;
  border: none;
  background: #e21412;
  position: relative;
  text-decoration: none;
  display: block
}
@media screen and (max-width: 768px) {
#contact .formBox .confirmBox table {
    width: 100%;
    border-bottom: none
  }
#contact .formBox .confirmBox th,
#contact .formBox .confirmBox td {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c1c1c1;
    display: block
  }
#contact .formBox .btnWrap form { width: 100% }
#contact .formBox .btnWrap form + form {
    margin-top: 10px;
    margin-left: 0
  }
#contact .formBox .btnWrap form:nth-child(1) input[type=submit],
#contact .formBox .btnWrap form:nth-child(2) input[type=submit] {
    width: 300px;
    margin: 0 auto
  }
}
 
/* finish & error */
#contact .formBox h3 {
  font-size: 2rem;
  letter-spacing: 0.09em;
  text-align: center;
  margin-bottom: 40px
}
#contact .formBox h3.finishTitle,
#contact .formBox h3.errorTitle {
  color: #e21412
}
#contact .formBox h3.errorTitle + p,
#contact .formBox h3.finishTitle + p {
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  text-align: center
}
#contact .formBox p + p { margin-top: 10px }
#contact .formBox .errorBtn {
  width: 300px;
  text-align: center;
  margin: 60px auto 0
}
#contact .formBox .errorBtn a {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.09em;
  line-height: 60px;
  background: #e21412;
  position: relative;
  display: block;
}
@media screen and (max-width: 768px) {
#contact .formBox h3.errorTitle + p br,
#contact .formBox h3.finishTitle + p br {
    display: none
  }
}
