:root {
  --base-color: #333333;
  --primary-color: #05BB62;
  --panel-color: #E4F7FB;
  --en-font: 'Economica', sans-serif;
  --ja-font: 'Kiwi Maru', serif;
}

/* COMMON ELEMENTS */

body {
  color: var(--base-color);
  background-color: white;
  font-family: var(--ja-font);
  margin: 0px;
}

h2 {
  color: var(--primary-color);
}

hr {
  color: var(--base-color);
  width: 70%;
  margin: 50px auto 150px auto;
}

.banner {
  display: block;
  width: 100%;
}

.container {
  flex: 1 1 100%;
  margin: 35px 10%;
}

.container > .content {
  padding: 0px 15%;
}

.container > .titles {
  border-left: var(--primary-color) 1px solid;
  margin-left: 15%;
}

.container > .titles > h1 {
  font-family: var(--en-font);
  font-size: 70px;
  letter-spacing: 0.1em;
  margin: 0px;
  padding: 20px 40px;
}

.container > .titles > h2 {
  letter-spacing: 0.1em;
  margin: 0px;
  padding: 0px 40px;
}

.copy-text {
  font-size: 17px;
  line-height: 34px;
}

/* HEADER - KEY VISUAL */

header {
  background: no-repeat center/cover url('./images/key-visual.png');
  min-height: 693px;
  display: flex;
}

header > div {
  flex: 1 1 0%;
  text-align: center;
}

#logo {
  margin-top: 180px;
}

#catch-copy {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 0.25em;
  text-align: center;
  --base-color: #333333;
  color: var(--primary-color);
  writing-mode: vertical-rl;
}

#catch-copy > div {
  margin: -100px auto 0px auto;
}

#catch-copy > div > p:nth-child(2) {
  margin-top: 230px;
}

#catch-copy > div > p > span {
  background-color: white;
}

/* NEWS SECTION */

#news > .container {
  margin: 50px 20%;
  display: flex;
  justify-content: space-between;
}

#news > .container > .title {
  flex: 1 1 auto;
  font-family: var(--en-font);
  color: var(--primary-color);
  font-size: 35px;
}

#news-list {
  flex: 3 3 auto;
}

#news-list > ul {
  margin: 0px;
  padding: 0px;
}

#news-list > ul > li {
  display: flex;
  font-size: 15px;
  font-family: var(--ja-font);
  margin-bottom: 10px;
}

#news-list > ul > li > .date {
  flex: 1 1 15%;
}

#news-list > ul > li > .announcement {
  flex: 3 3 85%;
}

#news-list > ul > li > .announcement > a {
  text-decoration: none;
  color: var(--primary-color);
}

/* ABOUT SECTION */

#about {
  display: flex;
  justify-content: center;
  align-items: center;
}

#farm-intro {
  margin: 20px 10%;
  text-align: justify;
}

#crops {
  font-size: 17px;
  color: var(--primary-color);
  margin: 30px 0px;
  display: flex;
  flex-wrap: nowrap;
}

.crop {
  flex: 1 1 50%;
  text-align: center;
}

.crop:nth-child(odd) {
  padding-top: 20px;
}

.crop-ja-name {
  font-size: 15px;
}

.crop-en-name {
  font-size: 22px;
  font-family: var(--en-font);
}

#owner {
  display: flex;
  margin: 30px auto;
  padding: 0px 140px;
}

#owner > .visual {
  flex: 1 1 auto;
  text-align: center;
}

#biography {
  flex: 3 3 auto;
  margin: 0px 0px 0px 50px;
}

#biography > h2 {
  font-size: 24px;
}

#biography > p {
  font-size: 15px;
  line-height: 28px;
}

#biography a {
  text-decoration: none;
  color: var(--primary-color);
}

#pets {
  height: 230px;
  width: 100%;
  margin: -120px 100px 70px 0px;
  text-align: right;
}

#pets > div {
  display: inline-block;
}

#pets > div:nth-child(2) {
  vertical-align: top;
  margin-left: -30px;
}

#pets > div > span {
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  color: white;
  display: block;
  margin: -70px 20px 0px 55px;
}

#pets > div:nth-child(1) > span {
  text-align: left;
}

/* RECRUIT SECTION */

#objective {
  display: flex;
  margin-top: 40px;
}

#objective > div:nth-child(2) {
  flex: 2 2 70%;
  font-size: 17px;
  line-height: 34px;
}

#objective > div:nth-child(1) {
  flex: 1 1 30%;
  color: var(--primary-color);
  line-height: 60px;
}

#hokkaido {
  font-size: 34px;
}

#yume {
  font-size: 30px;
  padding-left: 30px;
}

#wish {
  font-size: 28px;
}

#objective > div:nth-child(1) > .link-word {
  font-size: 20px;
}

#workers {
  display: flex;
  margin: 30px 15%;
}

#workers > .worker {
  flex: 1 1 0%;
  text-align: center;
}

#explanation-panel {
  background: var(--panel-color);
  margin-top: 30px;
  padding: 49px 40px 36px 40px;
  display: flex;
}

#explanation-panel > div {
  flex: 1 1 0%;
  background: white;
  padding: 38px 27px;
}

#looking-for {
  margin: 0px 30px 0px 0px;
}

#explanation-panel h2 {
  font-family: var(--en-font);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0.1em;
  margin: -55px 0px 20px 0px;
}

#explanation-panel .title {
  font-size: 24px;
  line-height: 30px;
}

#explanation-panel .paragraph {
  display: flex;
  margin-top: 10px;
}

#explanation-panel .green-line {
  flex: 1 1 10%;
  border-right: 2px solid;
  border-color: var(--primary-color);
  height: 246px;
  margin-right: 32px;
}

#explanation-panel .paragraph h3 {
  font-size: 20px;
  line-height: 34px;
}

#explanation-panel .paragraph > ul {
  padding-left: 25px;
}

#explanation-panel .paragraph > ul > li::marker {
  font-size: 10px;
}

#merit p {
  margin-left: 20px;
}

/* LIFESTYLE SECTION */

#lifestyle .intro {
  margin: 20px 0px 50px 130px;
}

#akaigawa-content {
  text-align: center;
  margin: 0px 140px;
}

#akaigawa-content > .visual {
  width: 100%;
}

#akaigawa-content > .description {
  font-size: 15px;
  line-height: 24px;
  margin: 20px 75px;
}

#akaigawa-content > div {
  display: flex;
  margin: 40px 0px 0px 0px;
}

#akaigawa-content > div > div > p:nth-child(1) {
  color: var(--primary-color);
  font-size: 17px;
  line-height: 24px;
}

#akaigawa-content > div > div > p:nth-child(2) {
  font-size: 15px;
  line-height: 24px;
}

#cooking > div:nth-child(1) {
  flex: 2 2 auto;
  padding: 70px 20px 0px 0px;
}

#cooking > div:nth-child(2) {
  flex: 1 1 auto;
}

#cooking > div:nth-child(3) {
  text-align: left;
  padding-left: 10px;
  flex: 3 3 auto;
}

#cooking > div:nth-child(3) > img:nth-child(1) {
  margin-bottom: 5px;
}

#diy > div:nth-child(1) {
  flex: 1 1 auto;
  padding-right: 10px;
}

#diy > div:nth-child(2) {
  text-align: left;
  flex: 2 2 auto;
}

#diy > div:nth-child(3) {
  flex: 1 1 auto;
  padding: 70px 0px 0px 20px;
}

#diy > div:nth-child(2) > img:nth-child(1) {
  margin-bottom: 5px;
}

/* GALLERY SECTION */

#gallery > .container > span {
  display: block;
  font-weight: normal;
  margin: -34px 0px 0px 45%;
}

#photos {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow: hidden;
}

#photos > div {
  flex: 1 1 auto;
  text-align: center;
}

#gallery-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 76px;
  background-color: var(--panel-color);
  text-decoration: none;
  color: black;
  font-size: 18px;
}

.button-link img {
  margin: 0px 10px 0px -10px;
}

.green-arrow {
  margin: 0px 0px 0px -40px;
}

/* CONTACT/ACCESS SECTION */

#information {
  margin: 50px 15%;
}

#host-links > a {
  text-decoration: none;
  color: var(--primary-color);
}

#contact-button {
  display: flex;
  justify-content: left;
  margin-bottom: 50px;
}

/* FOOTER */

footer > hr {
  width: 95%;
  margin: 50px auto;
}

footer > p {
  font-family: var(--en-font);
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}
