@charset "UTF-8";
/*
Theme Name: tata-ya
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
}

ul[class], ol[class] {
  padding: 0;
}

body, h1, h2, h3, h4, p, ul[class], ol[class], figure, blockquote, dl, dd {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ul[class], ol[class] {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture {
  max-width: 100%;
  display: block;
}

article > * + * {
  margin-top: 1em;
}

input, button, textarea, select {
  font: inherit;
}

img:not([alt]) {
  filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.tataya-btn {
  display: inline-block;
  background: #8c80b8;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 0.5px;
  text-decoration: none;
  width: 250px;
  padding: 7px 0 7px 17px;
  position: relative;
}

.tataya-btn::before {
  display: block;
  content: '';
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: absolute;
  top: calc( 50% - 10px);
  right: 10px;
}

.tataya-btn::after {
  display: block;
  content: '';
  border: 3px solid transparent;
  border-left: 12px solid #8c80b8;
  width: 0;
  height: 0;
  position: absolute;
  top: calc( 50% - 3px);
  right: 10px;
}

.tataya-btn.pre {
  background: #eeecf4;
}

.tataya-btn.pre::after {
  border-left: 12px solid #eeecf4;
}

.inner_s {
  width: 800px;
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .inner_s {
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  .inner_s {
    width: 100%;
    padding: 0 10px;
  }
}

.inner_m {
  width: 1000px;
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .inner_m {
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  .inner_m {
    width: 100%;
    padding: 0 10px;
  }
}

.inner_m .wp-pagenavi {
  margin-bottom: 20px;
}

.inner_l {
  width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .inner_l {
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  .inner_l {
    width: 100%;
    padding: 0 10px;
  }
}

img.alignleft {
  float: left;
  margin: 10px 10px 10px 0;
}

img.alignright {
  float: right;
  margin: 10px 0 10px 10px;
}

img.aligncenter {
  margin: 10px auto;
}

@media screen and (max-width: 767px) {
  .sp_hidden {
    display: none;
  }
}

body {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

body header {
  background: #fff;
  width: 100%;
  position: fixed;
  z-index: 999;
}

body header::after {
  display: block;
  content: '';
  clear: both;
}

@media screen and (max-width: 1024px) {
  body header {
    width: 100%;
    height: 70px;
    position: fixed;
    z-index: 999;
  }
}

body header .site-branding {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  float: left;
  width: 150px;
  height: 150px;
  position: absolute;
  transition: 0.2s;
  z-index: 999;
}

@media screen and (max-width: 1024px) {
  body header .site-branding {
    width: 70px;
    height: 70px;
    margin-left: 10px;
  }
}

body header .site-branding img {
  width: 116px;
  height: 61px;
  transition: 0.2s;
}

@media screen and (max-width: 1024px) {
  body header .site-branding img {
    width: 60px;
    height: auto;
  }
}

@media screen and (min-width: 1024px) {
  body header .site-branding.isSmall {
    height: 70px;
  }
  body header .site-branding.isSmall img {
    width: 95px;
    height: auto;
  }
}

body header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #fff;
  height: 70px;
  position: relative;
}

@media screen and (max-width: 1024px) {
  body header nav {
    display: none;
  }
  body header nav.open {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: initial;
    position: fixed;
    top: 70px;
  }
}

body header nav ul.menu {
  float: right;
  list-style: none;
  margin: 0;
  margin-right: 75px;
  padding-left: 0;
}

@media screen and (max-width: 1024px) {
  body header nav ul.menu {
    display: flex;
    flex-direction: column;
    background: #eeecf4;
    width: 100%;
    height: initial;
    margin: 0;
    padding: 20px 0;
  }
}

body header nav ul.menu li {
  float: left;
}

@media screen and (max-width: 1024px) {
  body header nav ul.menu li {
    padding: 0.5em 0;
  }
}

body header nav ul.menu li a {
  color: #333;
  border-right: 1px solid #333;
  line-height: 0;
  text-decoration: none;
  padding: 0 1.5em;
}

@media screen and (max-width: 1024px) {
  body header nav ul.menu li a {
    border: 0;
  }
}

body header nav ul.menu li:last-child a {
  border: 0;
}

body header .sp-btn {
  display: none;
}

@media screen and (max-width: 1024px) {
  body header .sp-btn {
    display: block;
    background: #eeecf4;
    float: right;
    padding: 25px 20px;
    position: relative;
    width: 70px;
    height: 70px;
  }
  body header .sp-btn::after {
    display: block;
    content: '';
    clear: both;
  }
  body header .sp-btn span {
    display: block;
    background: #8c80b8;
    width: 30px;
    height: 3px;
    margin-bottom: 5px;
    position: absolute;
    transition: 0.2s;
  }
  body header .sp-btn span:first-child {
    top: 25px;
  }
  body header .sp-btn span:nth-child(2) {
    top: calc( 50% - 3px / 2);
  }
  body header .sp-btn span:last-child {
    margin-bottom: 0;
    bottom: 25px;
  }
  body header .sp-btn.active span:first-child {
    top: calc( 50% - 3px / 2);
    transform: rotate(45deg);
  }
  body header .sp-btn.active span:nth-child(2) {
    opacity: 0;
  }
  body header .sp-btn.active span:last-child {
    bottom: calc( 50% - 3px / 2);
    transform: rotate(135deg);
  }
}

body #wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  padding-bottom: 150px;
}

@media screen and (max-width: 640px) {
  body #wrapper {
    padding-bottom: 300px;
  }
}

body #wrapper main .hero_wrap {
  padding-top: 70px;
}

body #wrapper main .hero_wrap .hero {
  display: flex;
  justify-content: center;
  background: url(./images/top-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 500px;
  position: relative;
}

body #wrapper main .hero_wrap .hero::after {
  display: block;
  content: '';
  clear: both;
}

body #wrapper main .hero_wrap .hero img {
  width: 100%;
  position: absolute;
}

body #wrapper main .hero_wrap .hero .description {
  color: #fff;
  text-shadow: 0 0 3px #333;
  vertical-align: middle;
  padding: 0 10px;
  position: absolute;
  top: calc( 50% - 120px / 2);
}

@media screen and (max-width: 1024px) {
  body #wrapper main .hero_wrap .hero .description {
    padding: 0 10px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .hero_wrap .hero .description {
    padding: 0 10px;
    top: calc( 50% - 160px / 2);
  }
}

body #wrapper main .hero_wrap .hero .description h2 {
  font-size: 20px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .hero_wrap .hero .description h2 {
    font-size: 16px;
  }
}

body #wrapper main .entry-header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eeecf4;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  height: 270px;
  margin-bottom: 50px;
  padding-top: 70px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .entry-header {
    height: 180px;
  }
}

body #wrapper main .entry-header h1 {
  font-weight: normal;
  text-align: center;
}

body #wrapper main .entry-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .entry-content {
    flex-direction: column;
  }
}

body #wrapper main .entry-content h2 {
  color: #8c80b8;
  border-left: 5px solid #8c80b8;
  background-color: #eeecf4;
  margin-bottom: 10px;
  padding-left: 10px;
}

body #wrapper main .entry-content h3 {
  color: #8c80b8;
  border-left: 5px double #8c80b8;
  margin-bottom: 10px;
  padding-left: 10px;
}

body #wrapper main .entry-content h4 {
  background-color: #eeecf4;
  margin-bottom: 10px;
}

body #wrapper main .entry-content h5 {
  color: #8c80b8;
  border-left: 3px solid #8c80b8;
  margin-bottom: 10px;
  padding-left: 5px;
}

body #wrapper main .entry-content h6 {
  color: #8c80b8;
  margin-bottom: 10px;
}

body #wrapper main .entry-content p {
  margin-bottom: 10px;
}

body #wrapper main .entry-content .content {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .entry-content .content {
    margin-bottom: 40px;
  }
}

body #wrapper main .entry-content .content + aside {
  width: 250px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .entry-content .content + aside {
    width: 100%;
  }
}

body #wrapper main .entry-content .content .entry-meta {
  border-bottom: 3px solid #eeecf4;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}

body #wrapper main .entry-content .content .entry-meta::before {
  display: block;
  content: '';
  clear: both;
  background: #8c80b8;
  width: 25%;
  height: 3px;
  position: absolute;
  bottom: -3px;
  left: 0;
}

body #wrapper main .entry-content .content .entry-meta .meta-box {
  display: flex;
  background: #eeecf4;
  border-radius: 1em;
  width: fit-content;
  padding: 5px 20px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .entry-content .content .entry-meta .meta-box {
    font-size: 14px;
  }
}

body #wrapper main .entry-content .content .entry-meta .meta-box time {
  margin-right: 10px;
  padding-right: 10px;
  position: relative;
}

body #wrapper main .entry-content .content .entry-meta .meta-box time::before {
  display: inline-block;
  content: '|';
  position: absolute;
  right: 0;
}

body #wrapper main .entry-content .content .entry-meta .meta-box .entry-category dl {
  display: flex;
}

body #wrapper main .entry-content .content .entry-meta .meta-box .entry-category dl dd {
  padding-left: 0.25em;
}

body #wrapper main .entry-content .content .entry-meta .meta-box .entry-category dl dd a {
  color: #8c80b8;
  text-decoration: none;
}

body #wrapper main .post-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .post-contents {
    flex-direction: column;
  }
}

body #wrapper main .post-contents .loop-post {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .post-contents .loop-post {
    margin-bottom: 40px;
  }
}

body #wrapper main .post-contents .loop-post + aside {
  width: 250px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .post-contents .loop-post + aside {
    width: 100%;
  }
}

body #wrapper main .post-contents .loop-post article {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #8c80b8;
  margin-bottom: 10px;
  padding: 20px 10px;
}

body #wrapper main .post-contents .loop-post article:first-child {
  border-top: 1px solid #8c80b8;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .post-contents .loop-post article {
    flex-direction: column;
  }
}

body #wrapper main .post-contents .loop-post article time {
  margin-right: 20px;
}

body #wrapper main .post-contents .loop-post article .post-category {
  margin-top: 0;
  margin-right: 20px;
  background-color: #8c80b8;
  border-radius: 1em;
  padding: 2px 10px;
}

body #wrapper main .post-contents .loop-post article .post-category a {
  color: #fff;
  text-decoration: none;
}

body #wrapper main .post-contents .loop-post article h2 a {
  color: #333;
  font-size: 18px;
  text-decoration: none;
}

body #wrapper main .top-contents {
  position: relative;
  padding-top: 85px;
  padding-bottom: 100px;
  display: flex;
  justify-content: space-between;
  width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .top-contents {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .top-contents {
    flex-direction: column;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  body #wrapper main .top-contents div {
    margin-top: 20px;
  }
  body #wrapper main .top-contents div:first-child {
    margin-top: 0;
  }
  body #wrapper main .top-contents div img {
    width: 185px;
    height: auto;
    margin: 0 auto;
  }
}

body #wrapper main section {
  background-color: #eeecf4;
}

body #wrapper main section.about {
  padding-bottom: 65px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.about {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

body #wrapper main section.about::before {
  display: block;
  content: '';
  background: #fff;
  width: 100%;
  height: 60px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.about::before {
    display: none;
  }
}

body #wrapper main section.about .top-section-container {
  position: relative;
}

body #wrapper main section.about .top-section-container .img-box {
  transform: translateY(-60px);
}

@media screen and (max-width: 1024px) {
  body #wrapper main section.about .top-section-container .img-box {
    transform: initial;
  }
  body #wrapper main section.about .top-section-container .img-box img {
    border-radius: 10px 0 0 10px;
    width: 100%;
    height: auto;
  }
}

body #wrapper main section.about .top-section-container .text-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
  width: 500px;
  height: 470px;
  margin-left: 50%;
  padding-top: 63px;
  padding-left: 70px;
  padding-right: 63px;
  position: absolute;
  top: 60px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main section.about .top-section-container .text-box {
    border-radius: 10px;
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-left: 0;
    padding: 10px 20px 20px;
    position: initial;
    top: 0;
  }
}

body #wrapper main section.about .top-section-container .text-box h3 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 25px;
  padding-bottom: 19px;
  position: relative;
}

body #wrapper main section.about .top-section-container .text-box h3::after {
  display: block;
  content: '';
  background: #8c80b8;
  width: 45px;
  height: 2px;
  position: absolute;
  bottom: 0;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.about .top-section-container .text-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
}

body #wrapper main section.about .top-section-container .text-box p {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 48px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.about .top-section-container .text-box p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

body #wrapper main section.result {
  position: relative;
  margin-bottom: 135px;
  padding-bottom: 60px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.result {
    margin-bottom: 50px;
    padding-bottom: 30px;
  }
}

body #wrapper main section.result::before {
  display: block;
  content: '';
  background: #eeecf4;
  width: 100%;
  height: 55px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.result::before {
    display: none;
  }
}

body #wrapper main section.result .top-section-container {
  position: relative;
}

body #wrapper main section.result .top-section-container .img-box {
  display: flex;
  flex-direction: row-reverse;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.result .top-section-container .img-box img {
    border-radius: 0 10px 10px 0;
    width: 100%;
    height: auto;
  }
}

body #wrapper main section.result .top-section-container .text-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
  width: 500px;
  height: 470px;
  margin-left: 100px;
  padding-top: 63px;
  padding-left: 70px;
  padding-right: 63px;
  position: absolute;
  bottom: -60px;
  transform: translateY(60px);
}

@media screen and (max-width: 1024px) {
  body #wrapper main section.result .top-section-container .text-box {
    border-radius: 10px;
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-left: 0;
    padding: 10px 20px 20px;
    position: initial;
    top: 0;
    transform: initial;
  }
}

body #wrapper main section.result .top-section-container .text-box h3 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 25px;
  padding-bottom: 19px;
  position: relative;
}

body #wrapper main section.result .top-section-container .text-box h3::after {
  display: block;
  content: '';
  background: #8c80b8;
  width: 45px;
  height: 2px;
  position: absolute;
  bottom: 0;
}

@media screen and (max-width: 1024px) {
  body #wrapper main section.result .top-section-container .text-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
}

body #wrapper main section.result .top-section-container .text-box p {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 112px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.result .top-section-container .text-box p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

body #wrapper main section.news {
  background: #fff;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.news {
    width: 100%;
    padding: 0 10px;
  }
}

body #wrapper main section.news h3 {
  border-bottom: 1px solid #8c80b8;
  font-size: 30px;
  text-align: center;
  padding-bottom: 5px;
}

body #wrapper main section.news dl.news {
  width: 800px;
  margin: 40px auto;
}

@media screen and (max-width: 1024px) {
  body #wrapper main section.news dl.news {
    width: 100%;
  }
}

body #wrapper main section.news dl.news div {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eeecf4;
  padding-top: 18px;
  padding-bottom: 18px;
}

body #wrapper main section.news dl.news div:first-child {
  padding-top: 0;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.news dl.news div {
    flex-flow: column;
  }
}

body #wrapper main section.news dl.news div dt {
  margin-right: 40px;
}

@media screen and (max-width: 640px) {
  body #wrapper main section.news dl.news div dt {
    margin-right: 0;
  }
}

body #wrapper main section.news dl.news div dt time {
  color: #8c80b8;
  font-size: 18px;
  line-height: 0;
}

body #wrapper main section.news dl.news div dd a {
  color: #333;
  text-decoration: none;
}

body #wrapper main section.news .news-list-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

body #wrapper main .philosophy_1,
body #wrapper main .philosophy_3 {
  background: #fff;
  padding: 50px 0;
}

body #wrapper main .philosophy_1 .inner_l,
body #wrapper main .philosophy_3 .inner_l {
  display: flex;
  flex-direction: row-reverse;
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_1 .inner_l,
  body #wrapper main .philosophy_3 .inner_l {
    flex-direction: column;
  }
}

body #wrapper main .philosophy_1 .inner_l .philosophy-image,
body #wrapper main .philosophy_3 .inner_l .philosophy-image {
  max-width: 600px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_1 .inner_l .philosophy-image,
  body #wrapper main .philosophy_3 .inner_l .philosophy-image {
    margin-bottom: 20px;
  }
  body #wrapper main .philosophy_1 .inner_l .philosophy-image img,
  body #wrapper main .philosophy_3 .inner_l .philosophy-image img {
    border-radius: 0 10px 10px 0;
  }
}

body #wrapper main .philosophy_1 .inner_l .philosophy-content,
body #wrapper main .philosophy_3 .inner_l .philosophy-content {
  width: 400px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_1 .inner_l .philosophy-content,
  body #wrapper main .philosophy_3 .inner_l .philosophy-content {
    width: 100%;
  }
}

body #wrapper main .philosophy_1 .inner_l .philosophy-content .num_purple,
body #wrapper main .philosophy_3 .inner_l .philosophy-content .num_purple {
  color: #8c80b8;
  font-family: "Roboto";
  font-size: 102px;
  font-weight: bold;
  line-height: 75px;
  margin-bottom: 22px;
  padding-left: 20px;
  position: relative;
}

body #wrapper main .philosophy_1 .inner_l .philosophy-content .num_purple::before,
body #wrapper main .philosophy_3 .inner_l .philosophy-content .num_purple::before {
  display: block;
  content: 'PHILOSOPHY';
  color: #000;
  font-size: 12px;
  font-weight: bold;
  line-height: 12px;
  transform: rotate(90deg);
  position: absolute;
  top: 30px;
  left: -30px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .philosophy_1 .inner_l .philosophy-content .num_purple,
  body #wrapper main .philosophy_3 .inner_l .philosophy-content .num_purple {
    margin-bottom: 0;
  }
}

body #wrapper main .philosophy_1 .inner_l .philosophy-content .philosophy-title,
body #wrapper main .philosophy_3 .inner_l .philosophy-content .philosophy-title {
  color: #8c80b8;
  font-family: "Roboto";
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 10px;
}

body #wrapper main .philosophy_1 .inner_l .philosophy-content .philosophy-title span,
body #wrapper main .philosophy_3 .inner_l .philosophy-content .philosophy-title span {
  border-bottom: 2px solid #8c80b8;
  padding-bottom: 4px;
}

body #wrapper main .philosophy_1 .inner_l .philosophy-content .philosophy-text,
body #wrapper main .philosophy_3 .inner_l .philosophy-content .philosophy-text {
  color: #333;
  font-size: 26px;
  letter-spacing: 0.2px;
  line-height: 40px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .philosophy_1 .inner_l .philosophy-content .philosophy-text,
  body #wrapper main .philosophy_3 .inner_l .philosophy-content .philosophy-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_1 {
    padding-top: 0;
  }
}

body #wrapper main .philosophy_2 {
  background: #eeecf4;
  padding: 50px 0;
}

body #wrapper main .philosophy_2 .inner_l {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_2 .inner_l {
    flex-direction: column;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_2 .inner_l .philosophy-image {
    margin-bottom: 20px;
  }
  body #wrapper main .philosophy_2 .inner_l .philosophy-image img {
    border-radius: 10px 0 0 10px;
  }
}

body #wrapper main .philosophy_2 .inner_l .philosophy-content {
  margin-left: 50px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .philosophy_2 .inner_l .philosophy-content {
    margin-left: 0;
  }
}

body #wrapper main .philosophy_2 .inner_l .philosophy-content .num_purple {
  color: #8c80b8;
  font-family: "Roboto";
  font-size: 102px;
  font-weight: bold;
  line-height: 75px;
  margin-bottom: 22px;
  padding-left: 20px;
  position: relative;
}

body #wrapper main .philosophy_2 .inner_l .philosophy-content .num_purple::before {
  display: block;
  content: 'PHILOSOPHY';
  color: #000;
  font-size: 12px;
  font-weight: bold;
  line-height: 12px;
  transform: rotate(90deg);
  position: absolute;
  top: 30px;
  left: -30px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .philosophy_2 .inner_l .philosophy-content .num_purple {
    margin-bottom: 0;
  }
}

body #wrapper main .philosophy_2 .inner_l .philosophy-content .philosophy-title {
  color: #8c80b8;
  font-family: "Roboto";
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 10px;
}

body #wrapper main .philosophy_2 .inner_l .philosophy-content .philosophy-title span {
  border-bottom: 2px solid #8c80b8;
  padding-bottom: 4px;
}

body #wrapper main .philosophy_2 .inner_l .philosophy-content .philosophy-text {
  color: #333;
  font-size: 26px;
  letter-spacing: 0.2px;
  line-height: 40px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .philosophy_2 .inner_l .philosophy-content .philosophy-text {
    font-size: 20px;
  }
}

body #wrapper main .philosophy_3 {
  margin-bottom: 120px;
}

body #wrapper main .services_container {
  padding-top: 50px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container:nth-child(2) {
    padding-top: 0;
  }
}

body #wrapper main .services_container:nth-child(3) {
  padding-top: 45px;
}

body #wrapper main .services_container:nth-child(4) {
  margin-bottom: 145px;
  padding-top: 44px;
}

body #wrapper main .services_container .title_container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .title_container {
    flex-direction: column;
    align-items: baseline;
  }
}

body #wrapper main .services_container .title_container .services_title_area {
  display: flex;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .title_container .services_title_area {
    width: 100%;
  }
}

body #wrapper main .services_container .title_container .services_title_area .services_title {
  width: calc( 100% - 80px);
  position: relative;
}

body #wrapper main .services_container .title_container .services_title_area .services_title::before {
  display: block;
  content: '';
  background: #eeecf4;
  width: 725px;
  height: 2px;
  position: absolute;
  left: -6px;
  bottom: 19px;
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  body #wrapper main .services_container .title_container .services_title_area .services_title::before {
    width: 675px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .title_container .services_title_area .services_title::before {
    width: 225px;
  }
}

body #wrapper main .services_container .title_container .services_title_area .services_title::after {
  display: block;
  content: '';
  background: #8c80b8;
  width: 135px;
  height: 2px;
  position: absolute;
  left: -6px;
  bottom: 19px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .title_container .services_title_area .services_title::after {
    width: 45px;
  }
}

body #wrapper main .services_container .title_container .services_title_area .services_title h2 {
  font-size: 30px;
  white-space: nowrap;
  padding-top: 2px;
  padding-left: 15px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .title_container .services_title_area .services_title h2 {
    font-size: 24px;
    border-bottom: 2px solid #eeecf4;
    padding-bottom: 9px;
  }
}

body #wrapper main .services_container .title_container .services_part {
  display: flex;
  justify-content: space-between;
  width: 260px;
  margin-top: 23px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .title_container .services_part {
    margin: 10px auto 0;
  }
}

body #wrapper main .services_container .title_container .services_part span.part {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #8c80b8;
  border-radius: 5px;
  color: #fff;
  width: 80px;
  height: 25px;
}

body #wrapper main .services_container .services_content {
  display: flex;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .services_content {
    flex-direction: column;
  }
}

body #wrapper main .services_container .services_content .services_image {
  width: 394px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .services_content .services_image {
    width: 100%;
    margin-bottom: 20px;
  }
  body #wrapper main .services_container .services_content .services_image img {
    margin: 0 auto;
  }
}

body #wrapper main .services_container .services_content .services_text {
  font-size: 18px;
  line-height: 32px;
  width: 438px;
  transform: translateY(-7px);
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  body #wrapper main .services_container .services_content .services_text {
    width: 400px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .services_container .services_content .services_text {
    font-size: 16px;
    width: 100%;
  }
}

body #wrapper main .works_message {
  padding-top: 20px;
  padding-bottom: 50px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .works_message {
    padding: 50px 10px 30px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .works_message {
    padding-top: 0;
  }
}

body #wrapper main .works_message h2 {
  font-size: 20px;
  text-align: center;
}

@media screen and (max-width: 640px) {
  body #wrapper main .works_message h2 {
    font-size: 18px;
  }
}

body #wrapper main .works_container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .works_container {
    flex-direction: column;
    align-items: center;
  }
}

body #wrapper main .works_container .works_case {
  width: 470px;
  margin-bottom: 60px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .works_container .works_case {
    width: 100%;
    margin-bottom: 20px;
  }
}

body #wrapper main .works_container .works_case .works_image {
  width: 470px;
  height: 300px;
  overflow: hidden;
  margin-bottom: 10px;
  text-align:center;
}
body #wrapper main .works_container .works_case .works_image img {
	margin:0 auto;
}

@media screen and (max-width: 640px) {
  body #wrapper main .works_container .works_case .works_image {
    width: 100%;
    height: auto;
  }
}

body #wrapper main .works_container .works_case .works_text {
  margin-bottom: 32px;
}

body #wrapper main .works_container .works_case .works_text h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 12px;
}

body #wrapper main .works_container .works_case .works_text h3 a {
  color: #333;
  text-decoration: none;
}

body #wrapper main .works_container .works_case .works_text p {
  line-height: 28px;
}

body #wrapper main .works_container .works_case .works_lang dl {
  display: flex;
  border: 1px solid #8c80b8;
  border-radius: 5px;
  line-height: 28px;
}

body #wrapper main .works_container .works_case .works_lang dl dt {
	display:flex;
	align-items:center;
  background: #8c80b8;
  color: #fff;
  padding-left: 28px;
  padding-right: 28px;
}

body #wrapper main .works_container .works_case .works_lang dl dd {
  padding-left: 18px;
  padding-right: 10px;
  word-break: break-all;
  flex:1;
}

body #wrapper main .company_message {
  padding-top: 45px;
  padding-bottom: 68px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_message {
    padding-top: 0;
  }
}

body #wrapper main .company_message dl {
  display: flex;
}

body #wrapper main .company_message dl::after {
  display: block;
  content: '';
  clear: both;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_message dl {
    flex-direction: column;
  }
}

body #wrapper main .company_message dl dt {
  float: left;
  position: relative;
}

body #wrapper main .company_message dl dt h2.message {
  color: #8c80b8;
  font-size: 40px;
  line-height: 1;
  margin-right: 37px;
  padding-right: 45px;
  position: relative;
}

body #wrapper main .company_message dl dt h2.message::before {
  display: block;
  content: 'ごあいさつ';
  color: #333;
  font-size: 14px;
  position: absolute;
  bottom: -18px;
}

body #wrapper main .company_message dl dt h2.message::after {
  display: block;
  content: '';
  background: #8c80b8;
  width: 2px;
  height: 80px;
  position: absolute;
  top: 5px;
  right: 0;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_message dl dt h2.message::after {
    width: 80px;
    height: 2px;
    top: initial;
    left: 0;
    right: initial;
    bottom: -40px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_message dl dt h2.message {
    margin-right: 0;
    margin-bottom: 60px;
    padding-right: 0;
  }
}

body #wrapper main .company_message dl dd {
  margin-top: -4px;
}

body #wrapper main .company_message dl dd p {
  margin-bottom: 1em;
}

body #wrapper main .company_message dl dd p:last-child {
  margin-bottom: 0;
}

body #wrapper main .company_profile {
  background: #eeecf4;
  padding-top: 63px;
}

body #wrapper main .company_profile dl {
  display: flex;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_profile dl {
    flex-direction: column;
  }
}

body #wrapper main .company_profile dl dt {
  float: left;
}

body #wrapper main .company_profile dl dt h2.profile {
  color: #8c80b8;
  font-size: 40px;
  letter-spacing: -2px;
  line-height: 1;
  margin-right: 33px;
  padding-right: 96px;
  position: relative;
}

body #wrapper main .company_profile dl dt h2.profile::before {
  display: block;
  content: '会社紹介';
  color: #333;
  font-size: 14px;
  letter-spacing: 0.2px;
  position: absolute;
  bottom: -20px;
}

body #wrapper main .company_profile dl dt h2.profile::after {
  display: block;
  content: '';
  background: #8c80b8;
  width: 2px;
  height: 80px;
  position: absolute;
  top: 5px;
  right: 0;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_profile dl dt h2.profile::after {
    width: 80px;
    height: 2px;
    top: initial;
    left: 0;
    right: initial;
    bottom: -40px;
  }
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_profile dl dt h2.profile {
    margin-right: 0;
    margin-bottom: 60px;
    padding-right: 0;
  }
}

body #wrapper main .company_profile dl dd table {
  line-height: 1.2;
}

body #wrapper main .company_profile dl dd table tr th {
  font-weight: normal;
  text-align: left;
  vertical-align: top;
  padding-right: 25px;
  padding-bottom: 15px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_profile dl dd table tr th {
    display: block;
    background: #8c80b8;
    color: #fff;
    margin-bottom: 5px;
    padding: 10px 0;
    padding-left: 5px;
  }
}

body #wrapper main .company_profile dl dd table tr td {
  padding-bottom: 15px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_profile dl dd table tr td {
    display: block;
    padding-bottom: 20px;
  }
}

body #wrapper main .company_profile dl dd table tr:nth-child(3) th, body #wrapper main .company_profile dl dd table tr:nth-child(3) td {
  padding-bottom: 10px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .company_profile dl dd table tr:nth-child(3) td {
    padding-bottom: 20px;
  }
}

body #wrapper main .company_profile .map {
  padding-top: 15px;
  padding-bottom: 120px;
}

body #wrapper main .company_profile .map iframe {
  border-radius: 15px;
}

@media screen and (max-width: 1024px) {
  body #wrapper main .company_profile .map iframe {
    width: 100%;
  }
}

body #wrapper main .contact_form {
  padding-top: 53px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form {
    padding-top: 0;
  }
}

body #wrapper main .contact_form dl .contact_row {
  margin-bottom: 32px;
}

body #wrapper main .contact_form dl .contact_row::after {
  display: block;
  content: '';
  clear: both;
}

body #wrapper main .contact_form dl .contact_row dt {
  display: flex;
  justify-content: space-between;
  float: left;
  width: 210px;
  margin-right: 40px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form dl .contact_row dt {
    justify-content: start;
    width: 100%;
  }
}

body #wrapper main .contact_form dl .contact_row dt span {
  font-size: 12px;
  line-height: 20px;
  height: 20px;
  margin-top: 7px;
  padding-left: 18px;
  padding-right: 18px;
}

body #wrapper main .contact_form dl .contact_row dt span.require {
  background: #8c80b8;
  color: #fff;
}

body #wrapper main .contact_form dl .contact_row dt span.option {
  border: 1px solid #8c80b8;
  color: #8c80b8;
  padding-left: 17px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form dl .contact_row dt span {
    margin-left: 1em;
  }
}

body #wrapper main .contact_form dl .contact_row dd input {
  border: none;
  border-bottom: 1px solid #eeecf4;
  padding-bottom: 34px;
  width: 550px;
}

body #wrapper main .contact_form dl .contact_row dd input::placeholder {
  color: #dcdcdc;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form dl .contact_row dd input {
    width: 100%;
    padding: 0.5em 0;
  }
}

body #wrapper main .contact_form dl .contact_row dd textarea {
  border: none;
  border-bottom: 1px solid #eeecf4;
  width: 550px;
  height: 143px;
}

body #wrapper main .contact_form dl .contact_row dd textarea::placeholder {
  color: #dcdcdc;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form dl .contact_row dd textarea {
    width: 100%;
  }
}

body #wrapper main .contact_form dl .contact_row.check dt {
  float: left;
}

body #wrapper main .contact_form dl .contact_row.check dd {
  float: left;
}

body #wrapper main .contact_form .contact_submit {
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
  margin-bottom: 60px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit {
    flex-direction: column;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit {
  position: relative;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit {
    margin-bottom: 20px;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit::before {
  display: block;
  content: '';
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: absolute;
  top: calc( 50% - 10px);
  right: 30px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit::before {
    right: initial;
    left: 214px;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit::after {
  display: block;
  content: '';
  border: 3px solid transparent;
  border-left: 12px solid #8c80b8;
  width: 0;
  height: 0;
  position: absolute;
  top: calc( 50% - 3px);
  right: 30px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit::after {
    right: initial;
    left: 219px;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit input[type="submit"] {
  background: #8c80b8;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  padding: 7px 109px 7px 23px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit input[type="submit"] {
    padding-right: 189px;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit.pre::before {
  display: block;
  content: '';
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: absolute;
  top: calc( 50% - 10px);
  right: 10px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit.pre::before {
    right: initial;
    left: 214px;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit.pre::after {
  display: block;
  content: '';
  border: 3px solid transparent;
  border-left: 12px solid #eeecf4;
  width: 0;
  height: 0;
  position: absolute;
  top: calc( 50% - 3px);
  right: 10px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit.pre::after {
    right: initial;
    left: 219px;
  }
}

body #wrapper main .contact_form .contact_submit .tataya-submit.pre input[type="button"] {
  background: #eeecf4;
  border: none;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  padding: 7px 109px 7px 23px;
}

body #wrapper main .contact_form .contact_submit .tataya-submit.check input[type="submit"] {
  color: #fff;
  cursor: pointer;
  padding: 7px 109px 7px 23px;
}

@media screen and (max-width: 640px) {
  body #wrapper main .contact_form .contact_submit .tataya-submit.check input[type="submit"] {
    padding-right: 109px;
  }
}

body #wrapper main .contact_form .contact_submit p:empty {
  display: none;
}

body #wrapper footer {
  border-top: 4px solid #8c80b8;
  font-size: 14px;
  width: 100%;
  position: absolute;
  bottom: 0;
}

body #wrapper footer .inner_m {
  margin-top: 28px;
  margin-bottom: 30px;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents {
    display: flex;
    flex-direction: column;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-logo {
  float: left;
  margin-right: 23px;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents .footer-logo {
    width: 40%;
    float: initial;
    margin: 0 auto 30px;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 640px) {
  body #wrapper footer .inner_m .footer-contents .footer-link-contents {
    margin-bottom: 70px;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents nav {
  border-bottom: 1px solid #eeecf4;
  width: 100%;
  margin-bottom: 23px;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents .footer-link-contents nav {
    display: none;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul {
  list-style: none;
  margin-top: 0;
  margin-bottom: 8px;
  padding-left: 35px;
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul::after {
  display: block;
  content: '';
  clear: both;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul {
    padding-left: 0;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul li {
  float: left;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul li {
    width: 100%;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul li::after {
  display: block;
  content: '';
  clear: both;
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul li a {
  border-right: 1px solid #333;
  color: #333;
  text-decoration: none;
  padding: 0 1.5em;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents .footer-link-contents nav ul li a {
    border: 0;
    margin-top: 0.5em;
    padding: 0.5em 0;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents .footer-info {
  display: flex;
  flex-direction: row-reverse;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .inner_m .footer-contents .footer-link-contents .footer-info {
    flex-direction: column-reverse;
  }
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents .footer-info .copyright {
  letter-spacing: 0.7px;
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents .footer-info .privacy {
  margin-right: 29px;
}

body #wrapper footer .inner_m .footer-contents .footer-link-contents .footer-info .privacy a {
  color: #333;
  text-decoration: none;
}

body #wrapper footer .chat {
  position: absolute;
  right: 11px;
  bottom: 62px;
}

@media screen and (max-width: 1024px) {
  body #wrapper footer .chat {
    width: 35%;
    right: 5px;
    bottom: 0;
  }
}
