@charset "UTF-8";

/* ポートフォリオ　－　トップページ PC */


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

/**********************************
メインビジュアル    (.main_visual)
**********************************/
/* スライダー */
#main_visual {
    position: relative;
    width: 100%;
    max-width: 672px;
    margin: -40px auto 120px auto;
    padding-top: 40px;
    border-radius: 20px;
    text-align: center;
    overflow-x: hidden;
}
#main_visual .slide img {
    display: block;
    width: 100%;
    max-width: 672px;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
}

/* ドットの設定 */
.dots_wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.dots_wrap li {
    width: 10px;
    height: 10px;
    margin: 0 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}
.dots_wrap li:hover,
.dots_wrap li.slick-active {
    background: #6cbb69;
}
.dots_wrap li button {
    display: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

/* Welcome */
.slider_text {
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #164b09;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.15cm;
}

.slideInRight {
    animation: slideInRight 2s ease;
}
@keyframes slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(-108px);
        opacity: 1;
    }
}


/****************************************
content (Menu・News）共通
****************************************/
.content_title {
    text-align: center;
}
.content_title {
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #164b09;
    letter-spacing: 0.07cm;
    margin-bottom: 40px;
}


/****************************************
Menu    (#menu_box)
****************************************/
#menu_box {
    width: 80%;
    margin: 0 auto 100px auto;
}
.menu_inner {
    display: flex;
    justify-content: space-between;    
}
.menu_detail {
    border: 1px solid #ccc;
    border-radius: 30px 30px 0 0;
	box-shadow: 4px 4px 8px #9c9c9c;
    width: 45%;
    overflow: hidden;
    height: 100%;
}
.menu_detail a {
    display: block;
    width: 100%;
    height: 100%;
}
.menu_detail img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.menu_detail .menu_detail_title {
    height: 60px;
    background-color: #d0e9cf;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* トップページの coming soon（今はない） */
.menu_detail.web {
    position: relative;
}
.text_coming_soon {
    position: absolute;
    left: 25%;
    right: 0;
    top: 43%; /* 親要素の上端から50%の位置 */
    transform: translateY(-43%); /* 中央揃えのために上へ50%戻す */
    font-size: 1.5rem;
    font-weight: bold;
}


/*****************************
News    (#news_box)
*****************************/
#news_box {
    width: 75%;
    margin: 0 auto 100px auto;
}

/* 1記事 */
.news_record {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #164b09;
    padding: 10px 10px;
    line-height: 1.2;
    text-align: left;
}
.news_record:first-child {
    border-top: 1px solid #164b09;
}
.news_record:last-child {
    border-bottom: 1px solid #164b09;
}

/* 日付 */
.news_date {
    flex-basis: 100px;
    flex-shrink: 0;
}

/* アイコン */
.news_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 60px;
    flex-shrink: 0;
    border-radius: 20px;
    color: #fff;
    padding: 7px 5px;
    margin-right: 20px;
}
.news_icon.web {
    background-color: #2540bd;
}
.news_icon.illust {
    background-color: #ca2a68;
}
.news_icon.site {
    background-color: #164b09;
}

/* お知らせ文章 */
.news_text {
    width: calc(100% - 180px);
}


/*****************************
News 内のアコーディオンメニュー
*****************************/
#news_box summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 矢印アイコン */
#news_box .icon {
	display: block;
	position: relative;
	flex-basis: 24px;
    flex-shrink: 0;
	transform-origin: center 43%; /* 中心点の位置 */
	transition: transform 0.4s;
    margin-left: 10px;
}
#news_box .icon::before, 
#news_box .icon::after {
	content: "";
	position: absolute;
	display: block;
	width: 15px;
	height: 3px;
	background-color: #164b09;
}
#news_box .icon::before {
	left: 0;
	transform: rotate(45deg);
}
#news_box .icon::after {
	right: 0;
	transform: rotate(-45deg);
}

/* アコーディオンが開いた時のスタイル */
#news_box details[open] .icon {
  transform: rotate(180deg);
}

/* 詳細内容　吹き出し */
#news_box .content {
    position: relative;
    border-radius: 20px;
    background-color: #c4e2bc;
    padding: 10px 20px 8px 20px;
    margin-top: 14px;
}

/* 吹き出しのくちばし部分 */
#news_box .content::before {
    position: absolute;
    display: block;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 40px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #c4e2bc transparent;
}

/* 吹き出し内の「→」以降のリンク */
#news_box .accordion_link {
    color: #164b09;
    font-size: 0.8rem;
}

