@charset 'UTF-8';

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
}
body {
	color: #555;
	font-family: sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}


/*
COMMON
================================================ */
p,
td {
    line-height: 1.7;
}

/* Layout */
.wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
main {
    max-width: 850px;
    width: 94%;
    margin: 2rem auto;
    padding: 2rem 2rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}
.text-center {
    text-align: center;
}



/* Button */
.btn {
    font-family: 'Sawarabi Mincho', sans-serif;
    display: inline-block;
    padding: 1.25rem 3.25rem;
    font-size: 1.375rem;
    text-align: center;
    width: 100%;
}
.btn-primary {
    color: #fff;
    background: #000000;
}
.btn-primary:hover {
    background: #ffe200;
}
.btn-secondary {
    color: #555;
    background: #d0bea2;
}
.btn-secondary:hover {
    background: #d9cebe;
}

/* Heading */
.title {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 3rem;
    line-height: 1.5;
}
.title::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
	margin: 2rem 0 2.5rem;
}
.title-center {
    text-align: center;
}
.title-center::after {
    margin: 2.5rem auto;
}

.tracking-in-expand {
	animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

/* Table */
table {
    margin: 2rem 0;
    width: 100% 0;
}
th,
td {
    display: block;
}
th {
    font-weight: normal;
    background: #f5f5f5;
    vertical-align: middle;
    padding: 1rem;
}
td {
    padding: .75rem 1rem 1.75rem;
}

tr:nth-child(odd) {
        background: #f5f5f5;
    }
    tr:nth-child(even) th {
        background: #fff;
    }

/*
HEADER
================================================ */
header .wrapper {
    display:        flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.main-nav {
    display: flex;
	
}
.main-nav li {
    text-align: center;
    font-size: .55rem;
	
}
.logo {
    width: 10rem;
}

.scale-up-tl {
	animation: scale-up-tl 1s both;
}

/**
 * ----------------------------------------
 * animation scale-up-tl
 * ----------------------------------------
 */
@keyframes scale-up-tl {
  0% {
    transform: scale(0.8);
    transform-origin: 0% 0%;
  }
  100% {
    transform: scale(1);
    transform-origin: 0% 0%;
  }
}


.main-nav a {
    display: block;
    padding: .5rem;
    width: 4rem;
	font-family: "m-plus-2c", sans-serif;
　　font-weight: 400;
　　font-style: normal;
}
.main-nav a::before {
    display: block;
    margin-bottom: .25rem;
	
/* Font Awesome */
    font-family: 'Font Awesome 5 free';
    font-weight: 900;
    color: #555;
    font-size: 1.25rem;
}
.menu-home::before {
    content: '\f015';
}
.menu-company::before {
    content: '\f1ad';
}
.menu-business::before {
    content: '\f85e';
}

.menu-contact::before {
    content: '\f0e0';
}
.main-nav .current {
    background: #f5f5f5;
}



/*
HOME
================================================ */
.home-hero {
    background: url('../images/main_pic4.jpg') no-repeat right top / 70vw auto;
    padding: 5.5rem 1rem 3rem;
}
.home-hero h2 {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1.5rem;
    margin: 8vw 0 8vw;
    background: rgba(255,255,255,.8);
    padding: 1rem;
    display: inline-block;
}
.home-hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Contents */
.brown-bg {
    background: #f5f5f5;
	align: center;}

.brown-bg p {
        width: 80vw;
		padding: 0.5rem 1rem 0.5rem;
        margin: 2 0 2rem;
		text-align: center;
}

.content {
    padding: 4rem 1rem;
}

.home-text {
    margin-bottom: 2rem;
    padding: 3.5rem 1rem;
    text-align: center;

}

.home-chart {
    margin-left: 2vw;
}
.flex-reverse .home-chart {
    margin: 0 2vw 0 0;
}
.home-chart img {
    width: 100%;
}
.home-chart p {
    text-align: center;
}


/*.company*/
.company-text {
       width: 100%;
    　　text-align: center;
}
.company-nav {
       width: 100%;
    　　margin: 10px auto;
}

.company-nav li {
    display: block;
    padding: 20px;
    margin: 10px auto;
    text-align: center;
    width: 80%;
    }

.scale-up-right {
	animation: scale-up-right 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) ;
}

.contents-title {
	position: relative;
	margin: 20px;
	padding-top: 50px;
	padding-bottom: 15px;
	padding-left: 30px;
	font-size: 25px;
	text-align: center;
	font-family: "m-plus-2c", sans-serif;
　　font-weight: 400;
　　font-style: normal;
}

.contents-title span {
	position: relative;
	z-index: 2;
	text-align: center;
}

.contents-title::before {
	content: attr(data-en);
	position: absolute;
	transform: rotate(-5deg);
	top: -20px;
	left: 0;
	color: rgba(255,226,0,1);
	font-size: 80px;
	font-weight: 500;
	font-family: luxus-brut, cursive;
	text-align: center;
}





/**
 * ----------------------------------------
 * animation scale-up-right
 * ----------------------------------------
 */
@keyframes scale-up-right {
  0% {
    transform: scale(0.5);
    transform-origin: 100% 50%;
  }
  100% {
    transform: scale(1);
    transform-origin: 100% 50%;
  }
}


/*

JOB.html
================================================ */
.page-job {
    background-image: url('../images/bg-job.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: left 106px, 0 0;
    background-size: 50vw auto, contain;
    background-repeat: no-repeat;
}
.page-job .btn {
    margin-bottom: 4rem;
}

/* Timeline */
.timeline {
    list-style: decimal inside;
    font-family: 'Sawarabi Mincho', sans-serif;
}
.timeline-item {
    margin-bottom: 2rem;
}
.timeline-title {
    font-size: 1.375rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.timeline-content {
    font-family: sans-serif;
}

/*
FORM.html
================================================ */
.page-form {
    background-image: url('../images/bg-form.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: right 106px, 0 0;
    background-size: 70vw auto, contain;
    background-repeat: no-repeat;
}
.text-small {
    font-size: .875rem;
	line-height: 30px;
}

.text-big {
    font-size: 1.5rem;
    line-height:40px;
	padding: 20px;
	
}

/* Form */
input[type='text'],
input[type='email'],
input[type='url'],
select,
textarea {
    border: 1px solid #bbb;
    background: #fff;
    padding: .5rem;
    width: 100%;
}
input[type='text']::placeholder,
input[type='email']::placeholder,
input[type='url']::placeholder,
textarea::placeholder {
    color: #bbb;
}
textarea {
    height: 10rem;
}

label {
    display: block;
    margin-bottom: 1rem;
}

.select-box {
    position: relative;
}
.select-box::after {
    display: inline-block;
    position: absolute;
    top: .625rem;
    right: 1rem;
/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: '\f078';
    color: #bbb;
}

/* デフォルトのチェックボックスを非表示 */
input[type='checkbox'] {
    opacity:0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}
/* チェックボックス用の四角形を作る */
input[type='checkbox'] + span::before {
    display: inline-block;
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #bbb;
    background: #fff;
    margin: -.125rem .5rem 0 0;
    vertical-align: middle;

/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    padding: 0 2px;
    line-height: 1.5;
}
/* チェックが入るとチェックアイコンを表示 */
input[type='checkbox']:checked + span::before {
    content: '\f00c';
}

iframe {
  width: 100%;
  max-width: 875px;
  height: 83vh;
  display: block;
  margin: 10px auto;
}


/*
FOOTER
================================================ */
footer {
    background: #ffe200;
    color: #000000;
    padding: 2.5rem 1rem;
    text-align: center;
}

.footer-nav li {
    margin: 1rem 0;
}
.footer-nav a {
    color: #000000;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #ffffff;
	color: #000000;
	text-transform: uppercase;
	font-weight: lighter;
	letter-spacing: 2px;
	border-top-width: 2px;
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 700px) {
/* Common */
    main {
        padding: 0.5rem;
    }
    .btn {
        width: auto;
    }
    .title {
        font-size: 1.875rem;
    }

/* Table */
    tr:nth-child(odd) {
        background: #f5f5f5;
    }
    tr:nth-child(even) th {
        background: #fff;
    }

    th,
    td {
        padding: 1.25rem;
        display: table-cell;
    }
    th {
        width: 20%;
        vertical-align: middle;
    }
    td {
        width: 76%;
    }

/* Header */
    header .wrapper {
        padding: 2rem 1rem;
    }
    .logo {
        width: 20em;
    }
    .main-nav li {
        margin-left: 2rem;
        font-family: 'Sawarabi Mincho', sans-serif;
        font-size: 1.25rem;
    }
    .main-nav a {
        width: auto;
    }
    .main-nav a:hover,
    .main-nav .current {
        border-bottom: 2px solid #2d3374;
        padding-bottom: .5rem;
        background: none;
    }
    .main-nav a::before {
        content: '';
    }

/* Home */
    .home-hero {
		
        padding: 10vw 1rem;
    }
    .home-hero h2 {
        font-size: 2.5rem;
        margin: 0 0 2rem;
        background: none;
        padding: 0;
    }
    .home-hero p {
        width: 38vw;
    }
	
/* company */
	.brown-bg　{
		text-align: center;
}

	.brown-bg p {
        width: 60vw;
		padding: 0.5rem 1rem 0.5rem;
        margin: 2 0 2rem;
		text-align: center;

    }
	
    .company-nav {
        display: flex;
        justify-content: space-around;
		
    }
    .company-nav li {
        width: 100%;
    }
	
.contents-title {
	position: relative;
	padding-top: 50px;
	padding-bottom: 20px;
	padding-left: 50px;
	font-size: 25px;
	text-align: center;
	font-family: "m-plus-2c", sans-serif;
　　font-weight: 400;
　　font-style: normal;
  padding: 1.5rem 1rem;
	
}


.contents-title span {
	position: relative;
	z-index: 2;
	text-align: left;
	
}
	
.contents-title:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.contents-title::before {
	content: attr(data-en);
	position: absolute;
	transform: rotate(-5deg);
	top: -20px;
	left: 0;
	color: rgba(255,226,0,1);
	font-size: 100px;
	font-weight: 400;
	font-family: luxus-brut, cursive;
	font-style: italic;
	text-align: center;
}



    /* Contents */
    .content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1rem;
    }
    .flex-reverse {
        flex-direction: row-reverse;
    }
    .home-text {
        width: 50vw;
        margin-bottom: 0;
    }
    .home-chart {
        width: 34vw;
    }


/* Form */
    label {
        display: inline-block;
        margin: 0 1.5rem 0 0;
    }
    .select-box {
        width: 40%;
    }

/* Footer */
    .footer-nav {
        display: flex;
        justify-content: center;
    }
    .footer-nav li {
        margin: 0 .75rem;
    }
    .footer-nav a:hover {
        color: #fff;
    }


.copyright {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #ffffff;
	color: #000000;
	text-transform: uppercase;
	font-weight: lighter;
	letter-spacing: 2px;
	border-top-width: 2px;
}
}