@charset "utf-8";

/*
Theme Name: hobbyfactory
Author: MOMO
Version: 2025
*/

/*front-page news*/
.top_newswrap {
  background-color: #FFF;
  margin: 8vw 0;
  display: flex;
  justify-content: space-around;
}

.top_newssection {
  width: 50%;
}

@media only screen and (max-width:768px) {
  .top_newswrap {
    display: block;
  }
.top_newssection {
  width: 100%;
}
}

.top_newslist {
  list-style: none outside;
  margin: 0;
  padding: 0;
}

.top_newslist li a {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

@media only screen and (max-width:768px) {
.top_newslist li a {
  padding: 20px 0px;
}
}

.top_newslist li a:hover{
  background-color: #F0ECC9;
  transition: .8s;
}

.top_newsb {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  padding: 0.8rem 0.5rem;
  border: none;
  color: #FFF;
  background-color: #553000;
  margin-top: 2rem;
  text-decoration: none;
}

.top_newsb::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: '';
}

.top_newsb:hover {
  background-color: #341D00;
  transition: .8s;
}

.top_newsb_posi {
  display: flex;
  justify-content: flex-end;
}

.insta-wrap {
  max-width: 30%;
}

@media screen and ( max-width : 768px ){
  .insta-wrap {
    width: 100%;
    margin-top: 2rem;
  }

}


@media screen and ( max-width : 768px ){
  .home-blog-list .text-title, .blog-list .text-title {
    font-size: 0.8rem;
  }
}

/*moreボタン*/
.view-more-home, .view-more {
	text-align: right;
  }
  .view-more-home a, .view-more a {
	display: inline-block;
	padding: 10px 80px 10px 0;
	font-weight: 500;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	position: relative;
  }
  .view-more-home a:hover::before, .view-more a:hover::before {
	background-color: #fab923;
  }
  .view-more-home a::before, .view-more-home a::after, .view-more a::before, .view-more a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
  }
  .view-more-home a::before, .view-more a::before {
	width: 51px;
	height: 51px;
	background-color: #333;
	border-radius: 50%;
	transition: 0.2s linear;
  }
  .view-more-home a::after, .view-more a::after {
	width: 40px;
	height: 7px;
	background: center/contain no-repeat url("../images/arrow-view-more.svg");
	right: 20px;
  }
  
  .view-more-home {
	width: 100%;
  }
  .view-more-home a {
	padding-right: 86px;
	font-size: 1.25rem;
  }
  
  .view-more {
	margin-top: 52px;
  }
  .view-more.is-works {
	text-align: left;
  }
  .view-more.is-works a {
	letter-spacing: 0.05em;
	text-transform: none;
  }
  .view-more a {
	font-size: 1rem;
	text-decoration: none;
  }
  @media screen and ( max-width : 768px ){
	.view-more a {
	  font-size: 0.875rem;
	}
  }

  .cat-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	font-size: 0.8125rem;
	color: #555555;
  }
  .cat-list > li {
	min-width: 40px;
	padding: 5px;
	margin-bottom: 0.5em;
	background-color: #c4c4c4;
	border-radius: 5px;
	text-align: center;
	line-height: 1;
  }
  .cat-list > li:not(:last-of-type) {
	margin-right: 0.923em;
  }

  /*パンくず*/
  .c-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6C6C6C;
    line-height: 3.2;
  }
  
  @media screen and (max-width: 768px) {
    .c-breadcrumbs {
      font-size: 0.8125rem;
    }
  }
  .c-breadcrumbs > li {
    display: inline-block;
    position: relative;
  }
  .c-breadcrumbs > li:not(:last-of-type)::after {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    margin-left: 0.5em;
  }

/*contact*/
input[type=text],
input[type=email],
input[type=tel],
textarea,
select {
  border: 1px solid #C4C4C4;
  outline: none;
	border-radius: 3px;
	height: 38px;
}


.form-box{
	margin: 0 auto;
	width: 50vw;
	padding-top: 24px;
	padding-bottom: 24px;
}

@media screen and ( max-width : 470px ){
.form-box {
    width: 80vw;
}
}

@media screen and ( max-width : 768px ){
   .form-box dd {
    width: 100%;
  }
}

.list-text {
	width: 60%;
	font-size: 14px;
	margin: 0 auto;
}

.text-red {
    color: #DA1725;
}
.contact h2 {
	text-align: center;
}

.contact .backg-item{
	position: absolute;
    left: 0px;
	width: 500px;
}

.contact .backg-item2{
	position: absolute;
    right: 0px;
	width: 500px;
}

.contact .about-text {
	margin-bottom: 54px;
	font-size: 0.9rem;
	color: #333;
	line-height: 2.333;
	text-align: center;
}

@media screen and ( max-width : 768px ){
  .contact .about-text {
    font-size: 0.875rem;
  }
}

.form-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
	margin-bottom: 10px;
}

@media screen and ( max-width : 768px ){
   .form-list {
    display: block;
  }
}
.form-list dt, .form-list dd {
  padding-bottom: 1.2vw;
}
.form-list dt {
  font-weight: 400;
  text-align: left;
}
.form-list dt.contact-message {
  padding-top: 10px;
  vertical-align: top;
}
.form-list dd {
  width: 63%;
}

.required::after {
    content: "※";
    display: inline-block;
    padding-left: 1em;
    color: #DA1725;
}

.btn-wrapper {
  margin-top: 30px;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  min-width: 220px;
  padding: 10px;
  background-image: linear-gradient(to right, #553000 0%, #333 50%, #FFFFFF 50%, #FFFFFF 100%);
  background-size: 200%;
  background-position-x: 0;
  border: 1px solid #553000;
  border-radius: 30px;
  color: #FFFFFF;
  text-align: center;
  transition: 0.3s ease-in;
}

.btn-submit:hover {
	background-position-x: 100%;
	color: #553000;
}

/*single pagenav*/
.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  margin-top: 28px;
  border-top: 1px dashed #553000;
  border-bottom: 1px dashed #553000;
  font-size: 0.875rem;
  font-weight: 500;
  color: #553000;
}
@media screen and (max-width: 768px) {
  .page-nav {
    font-size: 0.8125rem;
  }
}
.page-nav > li {
  min-width: 5em;
}
.page-nav > li:first-of-type a::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}
.page-nav a {
  display: inline-block;
  min-width: 5em;
  padding: 5px 14px;
  position: relative;
}
.page-nav a.to-archive {
  font-weight: bold;
  color: #553000;
}
.page-nav a.to-archive::after {
  content: none;
}
.page-nav a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid #553000;
  border-right: 1px solid #553000;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}


.wide-section {
	margin:0 calc(50% – 50vw); 
	padding:3em 0;
	background-color:#ececec;
}

.color-bg {
    position: relative;
    inset-inline: 50%;
    width: 100vw;
    margin-inline: -50vw;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.c-01 {
	background-color: #F5F4EC;
}

.icon-wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    align-content: center;
}

.btn-wrap {
	display: grid;
	place-items: center;
	margin-bottom: 2rem;
  }
  
  .btn {
	max-width: 90%;
	background-color: var(--primary-color);
	color: #FFF;
	border-radius: 2em;
	border: 1px solid transparent;
	padding: 10px;
  }
  
  .btn:focus,.btn:hover {
	background: #fff;
	border-color: currentColor; 
	transition: .3s;
	color: var(--primary-color);
  }
  
  .arrow-left{
	padding-right: 4em;
	padding-left: 4em;
	position: relative;
  }
  
  .arrow-left::before {
	content: "\f061";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	left: 1.5em;
	top: 50%;
	transform: translateY(-50%);
  }

  /* 共通ボタン */
.link-btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .65em 1.1em;
  background: #341D00;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .05s ease;
  user-select: none;
  margin: 1.5rem 0;
}


/* 右矢印（→）を擬似要素で追加 */
.link-btn::after{
  content: "→";
  display: inline-block;
  transition: transform .2s ease;
}

/* ホバー時：色が少し濃く、矢印がスライド */

.link-btn:hover::after{
  transform: translateX(4px);
}

/* クリック時の軽い押し込み */
.link-btn:active{
  transform: translateY(1px);
}

/*戻るボタン*/
html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #341D00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #341D00;
  border-right: 3px solid #341D00;
  transform: translateY(20%) rotate(-45deg);
}