@import url("setting.css");

/*
  Josh W. Comeau's Custom CSS Reset
  www.joshwcomeau.com
*/

/* 1. ボックスモデルの修正：余白や境界線が幅を壊さないようにする */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. デフォルトの余白を削除 */
* {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 3. 本文の行間を整え、フォントのレンダリングを滑らかにする */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 4. メディア要素（画像など）がはみ出さないようにし、ブロック要素化する */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 5. フォーム要素が親のフォント設定を無視するのを防ぐ */
input,
button,
textarea,
select {
  font: inherit;
}

/* 6. 長い単語が画面からはみ出して横スクロールが出るのを防ぐ */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 7. ルート（#rootや#__nextなど）にスタック文脈を作成する（Reactなどのフレームワーク用） */
#root,
#__next {
  isolation: isolate;
}

/* default */
body {
	color: var(--body-text-color);
	font-family: var(--base-font-family);
	font-weight: 400;
  font-size: 16px;
  background-color: #F5F5F5;
}

a {
  text-decoration: none;
  color: var(--body-text-color);
}

a:hover {
  transition: 0.25s;
}

/* common */
.inner {
  width: 1080px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.spBlock {
  display: none;
}

.ttl01 {
  font-size: 24px;
  font-weight: 700;
}

.ttlEN {
  font-size: 28px;
  font-family: var(--sub-font-family);
  font-weight: 900;
}

.btn a {
  display: inline-block;
  padding: 10px 25px;
  font-family: var(--base-font-family);
  text-align: center;
  font-weight: 500;
  color: #FFF;
  background-color: var(--main-color01);
  border: solid 1px var(--sub-color02);
  border-radius: 10px;
  transition: 0.3s;
}

.btn.icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.bg_w a {
  background-color: #FFF;
  color: var(--body-text-color);
}

.btn a:hover {
  background-color: var(--sub-color02);
}

.btn.bg_w a:hover {
  background-color: var(--sub-color02);
  color: #FFF;
}

.table {
  width: 100%;
  border-collapse:collapse;
}

.table tr {
  border-bottom: solid 1px var(--sub-color05);
}

.table th,
.table td {
  padding: 25px 0;
}
.table th {
    width: 20%;
  font-weight: 400;
  text-align: left;
}

.table td {
  width: 80%;
}

.form {
  background-color: #FFF;
  padding: 60px;
}

.form fieldset {
  border: none;
}

.form table {
  width: 100%;
  border-collapse:collapse;
}

.form tr {
  border-bottom: solid 1px var(--sub-color05);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.form th,
.form td {
  text-align: left;
  vertical-align: top;
}

.form th {
  width: 25%;
  padding: 20px 0;
}

.form th p {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form td {
  width: 75%;
  padding: 20px 0 20px 40px;
}

.form .optional {
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 400;
  color: #FFF;
  background-color: var(--sub-color04);
}

.form .optional.req {
  background-color: var(--red);
}

.form .inputField input,
.form .inputField textarea {
  border: solid 1px var(--sub-color05);
  padding: 5px;
  width: 100%;
}

.form .inputField input {
  height: 45px;
}

.form .inputField input::placeholder,
.form .inputField textarea::placeholder {
  color: var(--sub-color04);
}

.form .agreement {
  margin-top: 40px;
  text-align: center;
}

.form .agreement > p {
  margin-top: 10px;
  font-size: 14px;
}

.form .agreement > p a {
  color: blue;
  text-decoration: underline;
}

.form .submit {
  margin-top: 25px;
  text-align: center;
}

.form .submit input {
  width: 200px;
  padding: 10px;
  border-radius: 40px;
  background-color: var(--main-color01);
  color: #FFF;
  font-weight: 700;
  border: solid 2px var(--sub-color03);
  outline: solid 5px var(--main-color01);
  outline-offset: 0;
}

.screen-reader-response {
  display: none;
}

.wpcf7-spinner {
  display: block;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  color: red;
}

.wpcf7-response-output {
  text-align: center;
  margin-top: 25px;
}

.policy h2 {
  margin: 60px 0 15px;
  font-size: 24px;
  font-weight: 700;
}

.policy ol {
    margin: 20px 0 0 40px;
}

.policy ol li {
    position: relative;
    list-style: outside decimal;
    padding: 0 0 0 5px;
}

.policy ol li::marker {
    font-size: 130%;
    font-weight: 700;
}

.policy li+li {
    margin-top: 15px;
}

.policy .tR {
  text-align: right;
  margin-top: 40px;
}

.screen-reader-text {
  display: none;
}

.pagination {
  display: block;
  margin-top: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.page-numbers {
  padding: 5px 10px;
  border-radius: 5px;
  border: solid 1px var(--sub-color02);
  background-color: #FFF;
}

.page-numbers.current,
.page-numbers:hover {
  background-color: var(--sub-color02);
  color: #FFF;
}

.cats {
  display: flex;
  gap: 5px;
  line-height: 1;
}

.cats span {
  display: inline-block;
  color: #FFF;
  background-color: var(--main-color01);
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 5px;
}

.singleDetail {
  line-height: 1.8;
}


/* header */
header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  top: 0;
  left: 0;
  padding: 25px;
  z-index: 9999;
}

header::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background-color: var(--main-color01);
  z-index: -1;
  transition: 0.2s;
}

header.is-scrolled::before {
  height: 100%;
}

header .logo img {
  width: 260px;
}

.hamburger-grid {
  display: none;
}

/* nav */
nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 25px;
}

nav li a {
  position: relative;
  color: #FFF;
  font-family: var(--sub-font-family);
}

nav li a::after {
  content: "";
  position: absolute;
  background-color: #FFF;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -4px;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

nav li a:hover::after {
  transform: scale(1, 1);
}

nav .btn a {
  font-size: 14px;
}

nav .btn a .material-icons-outlined {
  font-size: 18px;
}

/* mainv */
.mainv {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: center / cover no-repeat url("./img/mainv_bg.png");
  text-align: center;
  color: #FFF;
  font-family: var(--sub-font-family);
}

.mainv .en {
  font-size: 74px;
  font-weight: 700;
}

.mainv .ja {
  font-size: 30px;
  font-weight: 500;
  margin-top: 10px;
}

.mainv ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin-top: 80px;
}

.mainv .btn a {
  padding: 15px;
  font-size: 18px;
  width: 240px;
}

/* page_mainv */
.page_mainv {
  padding: 120px 0 80px;
  background: top / cover no-repeat url("./img/mainv_bg.png");
  color: #FFF;
}

.page_mainv h1,
.page_mainv > div {
  text-align: center;
}

.page_mainv h1 span,
.page_mainv > div span {
  display: block;
}

.page_mainv h1 .en,
.page_mainv > div .en {
  font-family: var(--sub-font-family);
  font-weight: 700;
  font-size: 46px;
}

.page_mainv h1 .ja,
.page_mainv > div .ja {
  font-size: 16px;
  font-weight: 400;
}

/* breadcrumbList */
.breadcrumbList {
  padding: 12px 0;
  background-color: var(--sub-color01);
  border-top: solid 1px var(--sub-color02);
  color: var(--sub-color03);;
}

.breadcrumbList ul {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  font-size: 14px;
}

.breadcrumbList ul li {
  position: relative;
}

.breadcrumbList ul li::before {
  content: "";
  position: absolute;
  display: inline-block;
  height: 15px;
  width: 1px;
  background-color: var(--sub-color03);;
  top: 4px;
  right: -14px;
  transform: rotate(25deg);
}

.breadcrumbList ul li:last-of-type:before {
  display: none;
}

.breadcrumbList ul li a {
  color: var(--sub-color03);;
  text-decoration: underline;
}

/* footer */
footer .contact {
  padding: 60px 0;
  background-color: var(--main-color01)
}

footer .footer,
footer .footer > figure,
footer .footer > ul {
  display: flex;
  align-items: center;
}

footer .footer {
  justify-content: center;
  gap: 30px;
  padding: 40px;
  border-top: solid 1px var(--sub-color01);
  background-color: #000;;
  font-size: 13px;
}

footer .footer > figure {
  display: flex;
  gap: 10px;
}

footer .footer > figure img {
  width: 17px;
  opacity: 0.55;
}

footer .footer > figure figcaption {
  color: var(--sub-color03);
}

footer .footer > figure {
  display: flex;
}

footer .footer > ul {
  gap: 15px;
}

footer .footer > ul li a {
  color: var(--sub-color03);
}

footer .footer > ul li a:hover {
  text-decoration: underline;
}

/* contactBox(components) */
.contactBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 980px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--sub-color01);
  border: solid 1px var(--sub-color02);
  border-radius: 10px;
  color: #FFF;
}

.contactBox > div p {
  margin-top: 10px;
}

.contactBox .btn a {
  padding: 35px 60px;
  font-weight: 500;
  font-size: 20px;
  position: relative;
}

.contactBox .btn a .material-icons-outlined {
  font-size: 30px;
}

/* front-page */
#top section {
  padding: 100px 0;
}

#top .btn {
  margin-top: 60px;
}

.topAbout .inner {
  position: relative;
}

.topAbout .inner::after {
  content: "";
  position: absolute;
  opacity: 0.05;
  width: 540px;
  height: 540px;
  background-image: url(./img/logo_bg.webp);
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -110px;
  right: -100px;
  z-index: -1;
}
.topAbout h3 {
  margin-top: 40px;
  font-size: 44px;
  font-family: var(--sub-font-family);
  font-weight: 500;
}

.topAbout p {
  margin-top: 10px;
  font-weight: 500;
  line-height: 2.2;
}

.topService {
  padding: 100px 0;
  background-color: var(--sub-color05);
}

.topService ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.topService li {
  width: 520px;
  padding: 40px;
  box-sizing: border-box;
  border: solid 1px var(--sub-color04);
  border-radius: 10px;
  background-color: #FFF;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.075);
  text-align: center;
}

.topService li .material-icons-outlined {
  font-size: 60px;
  color: var(--sub-color03);
}

.topService li h3 {
  margin-top: 15px;
  font-size: 24px;
  font-weight: 700;
}

.topService li p {
  margin-top: 10px;
  text-align: left;
  line-height: 2;
}

.topService .btn {
  text-align: center;
}

.newsList {
  margin-top: 40px;
}

.newsList li a {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px;
  line-height: 1;
  border-bottom: solid 1px var(--sub-color05);
}

.newsList li a:hover {
  background-color: var(--sub-color05);
}

.newsList li h3 {
  font-size: 16px;
  font-weight: 500
}

.archiveList .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.archiveList .post-list article {
  width: 340px;
}

.archiveList .post-list article a {
  display: block;
  background: #FFF;
  border: solid 1px var(--sub-color04);
  border-radius: 10px;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.075);
}

.archiveList .post-list article a:hover {
  box-shadow: none;
}

.archiveList .post-list article .thumb {
  height: 220px;
}

.archiveList .post-list article .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px 10px 0 0;
}

.archiveList .post-list article .infoBox {
  padding: 25px;
}

.archiveList .post-list article h3 {
  font-size: 20px;
  margin: 15px 0 20px
}

.archiveList .post-list article time {
  display: block;
  text-align: right;
  font-size: 14px;
  color: var(--sub-color03);
}

.taxList {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.taxList ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.taxList li a {
  display: inline-block;
  padding: 5px 20px;
  font-size: 14px;
  background: #FFF;
  border: solid 1px var(--main-color01);
  border-radius: 5px;
}

.taxList li.current-cat a,
.taxList li a:hover {
  background: var(--main-color01);
  color: #FFF;
}

/* === #page ===*/
#page {
  padding: 100px 0;
}

#page .ttlEN {
  margin-bottom: 40px;
}

/* services */
.service {
  margin-top: 60px;
  padding: 60px;
  background-color: #FFF;
  border: solid 1px var(--sub-color04);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.075);
}

.service:first-of-type {
  margin-top: 0;
}

.service .material-icons-outlined {
    font-size: 60px;
    color: var(--sub-color03);
}

.service h3 {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
}

.service .box {
  display: flex;
  text-align: left;
  gap: 40px;
  margin-top: 40px;
}

.service .box > p {
  flex: 1;
  font-weight: 500;
  line-height: 2.2;
}

.service .box figure {
  width: 360px;
}

.service .box figure img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 240px;
  /* box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1); */
}

.service ul {
  display: flex;
  gap: 3.5%;
  justify-content: center;
  margin-top: 60px;
}

.service ul li {
  padding: 35px 25px;
  width: 31%;
  background-color: #FFF;
  box-shadow: 0 5px 30px 0 hsla(0, 0%, 9%, .1);
  border-radius: 10px;
}

.service ul li h4 {
  font-size: 18px;
  font-weight: 700;
}

.service ul li p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}


/* aboutus */
.message .box {
  display: flex;
  gap: 6%;
}

.message .box.column2 > div {
  width: 60%;
}

.message .box.column2 > figure {
  width: 34%;
}

.message .box.column2 > figure img {
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.message h3 {
  font-size: 32px;
  font-family: var(--sub-font-family);
  font-weight: 500;
}

.message p {
  margin-top: 20px;
  font-weight: 500;
  line-height: 2.2;
}

.outline,
.history {
  margin-top: 100px;
}

/* contact */
.contact .form {
  margin-top: 25px;
}

.contact .inner > p {
  line-height: 2;
}


/* news */
.news .newsList {
  margin-top: 0;
}


/* single */
.detail .infoBox {
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0 30px;
  padding: 0 0 30px;
  border-bottom: solid 1px var(--sub-color04);
}

.detail .singleDetail .eyecatch {
  margin-bottom: 40px;
}

.detail .singleDetail .eyecatch img {
  width: 100%;
  height: auto;
}

.detail .singleDetail h2 {
  font-size: 30px;
  font-weight: 700;
  background-color: var(--main-color01);
  color: #FFF;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 40px;
}

.detail .singleDetail h3 {
  font-size: 24px;
  font-weight: 700;
  background-color: var(--sub-color03);
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 30px;
}

.detail .singleDetail h4 {
  font-size: 20px;
  font-weight: 700;
  background-color: var(--sub-color04);
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 25px;
}

.detail .singleDetail h5 {
  font-size: 18px;
  font-weight: 700;
  padding: 0 20px 10px;
  margin-top: 20px;
  border-bottom: double 3px var(--sub-color03);
}

.detail .singleDetail h6 {
  font-size: 16px;
  font-weight: 700;
  padding: 0 20px 10px;
  margin-top: 15px;
  border-bottom: dotted 2px var(--sub-color03);
}

.detail .singleDetail p {
  margin-top: 15px;
}



/*  ============================================
      for tablet 
    ============================================*/
@media screen and (min-width:768px) and ( max-width:1024px) {
/* common */
.inner {
  width: 90%;
  margin: 0 auto;
}

.form {
  padding: 40px;
}

.form th {
  width: 30%;
}

.form td {
  width: 70%;
}


/* header */
header {
  padding: 20px;
}

header .logo img {
  width: 220px;
}

/* nav */
nav {
  gap: 20px;
}

nav ul {
  gap: 15px;
}

/* mainv */
.mainv .en {
  font-size: 46px;
}

.mainv .ja {
  font-size: 24px;
}

.mainv ul {
  gap: 30px;
  margin-top: 60px;
}

.mainv .btn a {
  font-size: 16px;
  width: 200px;
}

/* footer */
footer .footer {
  gap: 20px;
  padding: 40px 20px;
}

footer .footer > figure {
  gap: 5px;
}

footer .footer > ul {
  gap: 10px;
}

/* contactBox(components) */
.contactBox {
  display: block;
  width: 90%;
  text-align: center;
}

.contactBox > div {
  margin-bottom: 25px;
}

/* front-page */
.topAbout .inner::after {
  width: 500px;
  height: 500px;
  right: 5px;
}

.topService ul {
  justify-content: center;
  gap: 25px;
}

.topService li {
  width: 330px;
  padding: 40px 25px;
}

.archiveList .post-list {
  gap: 30px 4%;
}

.archiveList .post-list article {
  width: 48%;
}

/* === #page ===*/
#page {
  padding: 100px 0;
}

#page .ttlEN {
  margin-bottom: 40px;
}

/* services */
.service {
  padding: 60px 40px;
}

.service .box {
  gap: 15px;
}

.service .box figure {
  width: 40%;
}

.service ul {
  flex-wrap: wrap;
  gap: 10px;
}

.service ul li {
  width: 100%;
}


/* aboutus */
.message .box {
  flex-wrap: wrap;
  gap: 25px;
}

.message .box.column2 > div {
  width: 100%;
}

.message .box.column2 > figure {
  width: 100%;
}

.message .box.column2 > figure img {
  width: 100%;
}
}



/*  ============================================
      for smart-phone 
    ============================================*/
@media screen and ( max-width:767px) {
/* common */
.inner {
  width: 90%;
}

.spBlock {
  display: block;
}

.ttl01 {
  font-size: 20px;
}

.ttlEN {
  font-size: 24px;
}

.btn a {
  display: inline-block;
  padding: 10px 25px;
  font-family: var(--base-font-family);
  text-align: center;
  font-weight: 500;
  color: #FFF;
  background-color: var(--main-color01);
  border: solid 1px var(--sub-color02);
  border-radius: 10px;
  transition: 0.3s;
}

.btn.icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.bg_w a {
  background-color: #FFF;
  color: var(--body-text-color);
}

.btn a:hover {
  background-color: var(--sub-color02);
}

.btn.bg_w a:hover {
  background-color: var(--sub-color02);
  color: #FFF;
}

.table th,
.table td {
  padding: 15px 5px;
  vertical-align: top;
  font-size: 14px;
}
.table th {
  width: 30%;
}

.table td {
  width: 70%;
}

.form {
  padding: 40px 20px;
}

.form tr {
  border-bottom: solid 1px var(--sub-color05);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.form th,
.form td {
  display: block;
}

.form th {
  width: 100%;
  padding: 20px 0 10px;
}

.form th p {
  justify-content: flex-start;
  gap: 10px;
}

.form td {
  width: 100%;
  padding: 0 0 20px;
}

.form .optional {
  font-size: 11px;
}

.form .agreement {
  margin-top: 25px;
}

.form .agreement > p {
  font-size: 11px;
}

.policy h2 {
  margin: 40px 0 10px;
  font-size: 20px;
}

.policy ol {
    margin: 15px 0 0 25px;
}

.policy ol li::marker {
    font-size: 115%;
}

.policy li+li {
    margin-top: 10px;
}

.nav-links {
  gap: 3px;
}

.page-numbers {
  padding: 3px 7px;
}

.cats {
  display: flex;
  gap: 5px;
  line-height: 1;
}

.cats span {
  display: inline-block;
  color: #FFF;
  background-color: var(--main-color01);
  font-size: 12px;
  padding: 5px 7px;
  border-radius: 5px;
}

.singleDetail {
  line-height: 1.8;
}


/* header */
header {
  position: fixed;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px;
  z-index: 9999;
}

header::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background-color: var(--main-color01);
  z-index: -1;
  transition: 0.2s;
}

header.is-scrolled::before {
  height: 100%;
}

header .logo img {
  width: 180px;
}

/* nav */
nav {
  display: block;
  position: fixed;
  padding: 100px 40px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.975);
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}

nav.active {
  visibility: visible;
  opacity: 1;
}

nav ul {
  flex-wrap: wrap;
}

nav li {
  width: 100%;
}

nav li a {
  font-size: 20px;
}

nav .btn {
  display: none;
}


/* mainv */
.mainv .en {
  font-size: 36px;
}

.mainv .ja {
  font-size: 16px;
}

.mainv ul {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 60px;
}

.mainv li {
  width: 80%;
}

.mainv .btn a {
  padding: 10px;
  font-size: 16px;
  width: 100%;
}

/* page_mainv */
.page_mainv {
  padding: 80px 0 60px;
}

.page_mainv h1 .en,
.page_mainv > div .en {
  font-size: 38px;
}

.page_mainv h1 .ja,
.page_mainv > div .ja {
  font-size: 14px;
}

/* breadcrumbList */
.breadcrumbList ul {
  flex-wrap: wrap;
  gap: 5px 25px;
  font-size: 12px;
}

.breadcrumbList ul li::before {
  height: 13px;
}


/* footer */
footer .contact {
  padding: 60px 0;
  background-color: var(--main-color01)
}

footer .footer,
footer .footer > figure,
footer .footer > ul {
  display: flex;
  align-items: center;
}

footer .footer {
  flex-wrap: wrap;
  flex-direction: column-reverse;
  gap: 60px;
}

footer .footer > ul {
  flex-wrap: wrap;
}

footer .footer > ul li {
  width: 100%;
}

footer .footer > ul li a {
  font-size: 16px;
}


/* contactBox(components) */
.contactBox {
  flex-wrap: wrap;
  gap: 25px;
  width: 90%;
  padding: 40px 25px;
}

.contactBox > div {
  width: 100%;
}

.contactBox > div h2 {
  text-align: center;
}

.contactBox .btn {
  width: 100%;
}

.contactBox .btn a {
  width: 100%;
  padding: 25px 10px;
  font-weight: 500;
  font-size: 16px;
  position: relative;
}

.contactBox .btn a .material-icons-outlined {
  font-size: 24px;
}

/* front-page */
#top section {
  padding: 80px 0;
}

#top .btn {
  margin-top: 40px;
}

.topAbout {
  position: relative;
  overflow: hidden;
}

.topAbout::after {
    content: "";
    position: absolute;
    opacity: 0.05;
    width: 480px;
    height: 480px;
    background-image: url(./img/logo_bg.webp);
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -40px;
    right: -110px;
    z-index: -1;
}

.topAbout .inner {
  position: relative;
}

.topAbout .inner::after {
  display: none;
}

.topAbout h3 {
  margin-top: 25px;
  font-size: 30px;
}

.topService {
  padding: 80px 0;
}

.topService ul {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.topService li {
  width: 100%;
  padding: 40px 25px;
}

.topService li .material-icons-outlined {
  font-size: 50px;
}

.topService li h3 {
  margin-top: 10px;
  font-size: 22px;
}

.newsList {
  margin-top: 25px;
}

.newsList li a {
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding: 15px;
}

.newsList li time {
  font-size: 14px;
}

.newsList li h3 {
  width: 100%;
}

.archiveList .post-list {
  flex-wrap: wrap;
  gap: 15px 2%;
}

.archiveList .post-list article {
  width: 49%;
}

.archiveList .post-list article a {
  height: 100%;
}

.archiveList .post-list article .thumb {
  height: 120px;
}

.archiveList .post-list article .infoBox {
  padding: 15px 10px;
}

.archiveList .post-list article h3 {
  font-size: 13px;
  margin: 5px 0 15px
}

.archiveList .post-list article time {
  font-size: 12px;
}

.taxList {
  margin-bottom: 25px;
}

.taxList li a {
  padding: 3px 15px;
  font-size: 12px;
}

/* === #page ===*/
#page {
  padding: 80px 0;
}

#page .ttlEN {
  margin-bottom: 25px;
}

/* services */
.service {
  margin-top: 40px;
  padding: 40px 20px;
}

.service .material-icons-outlined {
    font-size: 46px;
}

.service h3 {
    margin-top: 5px;
    font-size: 22px;
}

.service .box {
  flex-wrap: wrap;
  flex-direction: column-reverse;
  gap: 25px;
  margin-top: 25px;
}

.service .box > p {
  width: 100%;
}

.service .box figure {
  width: 100%;
}

.service .box figure img {
  height: 200px;
}

.service ul {
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.service ul li {
  padding: 30px 20px;
  width: 100%;
}


/* aboutus */
.message .box {
  flex-wrap: wrap;
  gap: 25px;
}

.message .box.column2 > div {
  width: 100%;
}

.message .box.column2 > figure {
  position: relative;
  width: 100vw;
  left: -5.5%;
}

.message .box.column2 > figure img {
  width: 100vw;
  max-width: 100vw;
  height: 260px;
}

.message h3 {
  font-size: 30px;
}

.message p {
  margin-top: 15px;
}

.outline,
.history {
  margin-top: 80px;
}

/* contact */
.contact .form {
  margin-top: 25px;
}

.contact .inner > p {
  line-height: 2;
}


/* news */
.news .newsList {
  margin-top: 0;
}


/* single */
.detail .infoBox {
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail h1 {
  font-size: 24px;
  margin: 10px 0 20px;
  padding: 0 0 15px;
}

.detail .singleDetail .eyecatch {
  margin-bottom: 40px;
}

.detail .singleDetail .eyecatch img {
  width: 100%;
  height: auto;
}

.detail .singleDetail h2 {
  font-size: 24px;
  padding: 10px;
}

.detail .singleDetail h3 {
  font-size: 22px;
  padding: 10px;
}

.detail .singleDetail h4 {
  font-size: 18px;
  padding: 10px;
}

.detail .singleDetail h5 {
  font-size: 16px;
  padding: 0 10px 5px;
}

.detail .singleDetail h6 {
  padding: 0 10px 5px;
}

/* sp-menu */
.hamburger-grid {
  display: block;
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-grid__dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  height: 100%;
}

.hamburger-grid__dot {
  width: 100%;
  height: 100%;
  background-color: #FFF;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hamburger-grid.active .hamburger-grid__dot {
  background-color: #fff;
}

.hamburger-grid.active .hamburger-grid__dot:nth-child(1) {
  transform: scale(0);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(2) {
  transform: translateY(8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(3) {
  transform: scale(0);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(4) {
  transform: translateX(8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(5) {
  transform: scale(1.2);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(6) {
  transform: translateX(-8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(7) {
  transform: scale(0);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(8) {
  transform: translateY(-8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(9) {
  transform: scale(0);
}
}