Commit 153d43f2 by Orine Matsui

ステージ最新をDL

parent db86ec20
...@@ -8203,7 +8203,6 @@ body { ...@@ -8203,7 +8203,6 @@ body {
-webkit-align-items: center; -webkit-align-items: center;
-ms-flex-align: center; -ms-flex-align: center;
align-items: center; align-items: center;
flex-direction: column;
margin-bottom: 40px; margin-bottom: 40px;
} }
...@@ -8223,27 +8222,12 @@ body { ...@@ -8223,27 +8222,12 @@ body {
color: #fff; color: #fff;
padding-top: 24px; padding-top: 24px;
} }
.p-atc-mv-label {
font-size: 1.8rem;
line-height: 35px;
font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
font-weight: bold;
text-align: center;
color: #fff;
padding: 0 45px;
background-color: #beac56;
}
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.p-atc-mv-ttl { .p-atc-mv-ttl {
font-size: 2rem; font-size: 2rem;
padding: 0 20px; padding: 0 20px;
} }
.p-atc-mv-label {
font-size: 1.4rem;
line-height: 26px;
padding: 0 25px;
margin-bottom: 30px;
}
} }
.p-atc-mv-ttl span { .p-atc-mv-ttl span {
......
...@@ -267,3 +267,4 @@ $(function () { ...@@ -267,3 +267,4 @@ $(function () {
e.preventDefault(); e.preventDefault();
}); });
}); });
......
<?php $pageid="case-kita";?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?> <?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php
$prof_img = get_field('prof_img');
$introduction = get_field('introduction');
$name = get_field('name');
$mainvisual_image = get_field('mainvisual_image');
?>
<div class="p-case-detail">
<div class="c-breadcrumb pc-only">
<ul class="c-breadcrumb__inner">
<li class="c-breadcrumb__item"><a href="/"><span>TOP</span></a></li>
<li class="c-breadcrumb__item"><a href="/case/"><span>お客様事例</span></a></li>
<li class="c-breadcrumb__item"><span><?php the_title(); ?></span></li>
</ul>
</div>
<section class="c-mainvisual" style="background-image: url('<?php echo $mainvisual_image; ?>')">
<div class="c-mainvisual__inner">
<h2 class="c-mainvisual__title"><?php the_title(); ?></h2>
<p class="c-mainvisual__text"><?php echo $introduction ." ". $name ?></p>
</div>
</section>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">お客様事例</h3>
<ul class="side__list">
<?php
$args = array (
'posts_per_page' => 12,
'post_type' => 'case',
'order' => 'ASC',
);
$the_query = new WP_Query( $args );
if ($the_query-> have_posts() ) : while ($the_query -> have_posts() ) : $the_query->the_post();
?>
<li class="side__item"><a class="side__txt" href="<?php the_permalink();?>"><?php the_title();?></a></li>
<?php endwhile; endif;?>
</ul>
<?php the_title(); ?>
<?php the_time('Y.n.j'); ?>
<?php while (have_posts()){ the_post();the_content();} ?>
</div>
</aside>
<main class="content">
<section class="p-case-detail1">
<h3 class="c-title1">プロフィール</h3>
<div class="c-imgtext">
<div class="c-imgtext__image">
<?php if( !empty( $prof_img ) ): ?>
<img src="<?php echo $prof_img; ?>" alt="" width="300" height="300">
<?php endif; ?>
</div>
<div class="c-imgtext__info">
<p class="c-imgtext__title"><?php echo $name;?></p>
<p class="c-imgtext__title2"><?php echo $introduction;?></p>
<p class="c-imgtext__text"><?php while (have_posts()){ the_post(); the_content(); } ?></p>
</div>
</div>
<div class="c-step">
<dl>
<dt>課題</dt>
<dd>
<?php if( have_rows('task') ): ?>
<ul>
<?php while( have_rows('task') ): the_row();
$txt_task= get_sub_field('task_text');
?>
<li><?php echo $txt_task; ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</dd>
</dl>
<dl>
<dt>効果</dt>
<dd>
<?php if( have_rows('effect') ): ?>
<ul>
<?php while( have_rows('effect') ): the_row();
$txt_effect= get_sub_field('text_effect');
?>
<li><?php echo $txt_effect; ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</dd>
</dl>
</div>
</section>
<?php if( have_rows('content') ): while( have_rows('content') ): the_row();
$content_header = get_sub_field('content_header');
$content_text = get_sub_field('content_text');
?>
<section class="p-case-detail2">
<h3 class="c-title1"><?php echo $content_header; ?></h3>
<p class="trainerSingle2__txt"><?php echo $content_text; ?></p>
</section>
<?php endwhile; endif; ?>
<div class="c-box">
<?php if( have_rows('list_info') ): ?>
<ul class="c-box__list">
<?php while( have_rows('list_info') ): the_row();
$list_img = get_sub_field('list_img');
$list_txt = get_sub_field('list_txt');
?>
<li><img src="<?php echo $list_img; ?>" alt="" width="188" height="138">
<p><?php echo $list_txt; ?></p>
</li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</div>
<div class="p-case-detail3">
<p>豊かな人間関係と、目標達成を実現する戦略的目標達成プログラム『頂点への道®』講座とは?</p>
<a href="/service/top/"><img src="/assets/img/service/case/banner-01.jpg" alt="" width="900" height="226"></a>
<div class="c-btn1"><a href="/case/">お客様事例一覧を見る</a> </div>
</div>
</main>
</div>
</div>
<script>
$(document).ready(function() {
$(".side__item [href]").each(function() {
if (this.href == window.location.href) {
$(this).parent().addClass("active");
}
});
});
</script>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?> <?php include(get_template_directory() . '/assets/include/footer.php'); ?>
......
<?php $pageid="seminar";?> <?php $pageid="seminar";?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?> <?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php if( have_rows('themes') ): while( have_rows('themes') ): the_row(); <?php if( have_rows('themes') ): while( have_rows('themes') ): the_row();
$option = get_sub_field('option'); $option = get_sub_field('option');
$theme_1 = get_sub_field('theme_1'); $theme_1 = get_sub_field('theme_1');
$theme_2= get_sub_field('theme_2'); $theme_2= get_sub_field('theme_2');
?> ?>
<main class="p-seminar p-seminar-01"> <main class="p-seminar p-seminar-01">
<?php if( have_rows('mainvisual') ): while( have_rows('mainvisual') ): the_row(); <?php if( have_rows('mainvisual') ): while( have_rows('mainvisual') ): the_row();
$display = get_sub_field('display'); $display = get_sub_field('display');
if($display == "option1"){ if($display == "option1"){
if( have_rows('option_1') ): while( have_rows('option_1') ): the_row(); if( have_rows('option_1') ): while( have_rows('option_1') ): the_row();
$experience_mv_pc = get_sub_field('experience_mv_pc'); $experience_mv_pc = get_sub_field('experience_mv_pc');
$experience_mv_sp = get_sub_field('experience_mv_sp'); $experience_mv_sp = get_sub_field('experience_mv_sp');
?> ?>
<div class="c-mainvisual c-mainvisual-bg-01 pc-only" style="background-image: url(<?php echo $experience_mv_pc;?>);"></div> <div class="c-mainvisual c-mainvisual-bg-01 pc-only" style="background-image: url(<?php echo $experience_mv_pc;?>);"></div>
<div class="c-mainvisual c-mainvisual-bg-01 sp-only" style="background-image: url(<?php echo $experience_mv_sp;?>);"></div> <div class="c-mainvisual c-mainvisual-bg-01 sp-only" style="background-image: url(<?php echo $experience_mv_sp;?>);"></div>
<?php endwhile; endif; } else { <?php endwhile; endif; } else {
if( have_rows('option_2') ): while( have_rows('option_2') ): the_row(); if( have_rows('option_2') ): while( have_rows('option_2') ): the_row();
$experience_mv_img = get_sub_field('experience_mv_img'); $experience_mv_img = get_sub_field('experience_mv_img');
$experience_mv_ttl = get_sub_field('experience_mv_ttl'); $experience_mv_ttl = get_sub_field('experience_mv_ttl');
if($experience_mv_img != "none") { if($experience_mv_img != "none") {
?> ?>
<div class="c-mainvisual c-mainvisual-bg-01" <div class="c-mainvisual c-mainvisual-bg-01"
<?php if($experience_mv_img == "blue") { <?php if($experience_mv_img == "blue") {
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_NVY.gif);"'; echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_NVY.gif);"';
}elseif($experience_mv_img == "red"){ }elseif($experience_mv_img == "red"){
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2> <h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2>
</div> </div>
<?php } elseif ($experience_mv_img == "none"){ ?> <?php } elseif ($experience_mv_img == "none"){ ?>
<div class="c-mainvisual c-mainvisual-bg-01" <div class="c-mainvisual c-mainvisual-bg-01"
<?php if($theme_2 == "1f3563") { <?php if($theme_2 == "1f3563") {
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_NVY.gif);"'; echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_NVY.gif);"';
}elseif($theme_2 == "812727"){ }elseif($theme_2 == "812727"){
...@@ -59,12 +59,16 @@ ...@@ -59,12 +59,16 @@
<h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2> <h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2>
</div> </div>
<?php } ; endwhile; endif; } ; endwhile; endif; ?> <?php } ; endwhile; endif; } ; endwhile; endif; ?>
<?php $experience_lead = get_field("experience_lead")?>
<?php if(!empty($experience_lead)){ ?>
<section class="seminar1"> <section class="seminar1">
<div class="c-mainttl container"> <div class="c-mainttl container">
<?php $experience_lead = get_field("experience_lead")?>
<h3 class="c-mainttl__txt"><?php echo $experience_lead;?></h3> <h3 class="c-mainttl__txt"><?php echo $experience_lead;?></h3>
</div> </div>
</section> </section>
<?php } ?>
<section class="seminar2"> <section class="seminar2">
<div class="container"> <div class="container">
<div class="c-imgtext1 c-maintxt1"> <div class="c-imgtext1 c-maintxt1">
...@@ -99,10 +103,10 @@ ...@@ -99,10 +103,10 @@
<?php } ?> <?php } ?>
<div class="container"> <div class="container">
<?php <?php
$count = count(get_field('list_people')); $count = count(get_field('list_people'));
if($count <= 3){ if($count <= 3){
?> ?>
<ul class="c-list2"> <ul class="c-list2">
<?php if( have_rows('list_people')) : while( have_rows('list_people') ): the_row(); <?php if( have_rows('list_people')) : while( have_rows('list_people') ): the_row();
$text_list_people = get_sub_field("text_list_people"); $text_list_people = get_sub_field("text_list_people");
?> ?>
...@@ -126,8 +130,8 @@ ...@@ -126,8 +130,8 @@
<?php }; ?> <?php }; ?>
<?php if( have_rows('organiz_pro')) : <?php if( have_rows('organiz_pro')) :
?> ?>
<section class="seminar4"> <section class="seminar4">
<div class="c-title1"> <div class="c-title1">
...@@ -139,7 +143,7 @@ ...@@ -139,7 +143,7 @@
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<?php while( have_rows('organiz_pro') ): the_row(); <?php while( have_rows('organiz_pro') ): the_row();
$organiz_pro_img = get_sub_field("organiz_pro_img"); $organiz_pro_img = get_sub_field("organiz_pro_img");
$organiz_pro_name = get_sub_field("organiz_pro_name"); $organiz_pro_name = get_sub_field("organiz_pro_name");
$organiz_pro_intoro = get_sub_field("organiz_pro_intoro"); $organiz_pro_intoro = get_sub_field("organiz_pro_intoro");
...@@ -207,11 +211,11 @@ ...@@ -207,11 +211,11 @@
<div class="container"> <div class="container">
<?php <?php
if(!empty(get_field('list_seminar'))){ if(!empty(get_field('list_seminar'))){
$count = count(get_field('list_seminar')); $count = count(get_field('list_seminar'));
} }
if($count <= 3){ if($count <= 3){
?> ?>
<ul class="c-list2"> <ul class="c-list2">
<?php if( have_rows('list_seminar')) : while( have_rows('list_seminar') ): the_row(); <?php if( have_rows('list_seminar')) : while( have_rows('list_seminar') ): the_row();
$number_list_seminar = get_sub_field("number_list_seminar"); $number_list_seminar = get_sub_field("number_list_seminar");
$text_list_seminar = get_sub_field("text_list_seminar"); $text_list_seminar = get_sub_field("text_list_seminar");
...@@ -242,7 +246,7 @@ ...@@ -242,7 +246,7 @@
<?php } ?> <?php } ?>
<div class="container"> <div class="container">
<div class="c-table2"> <div class="c-table2">
<?php if( have_rows('table_experience')) : while( have_rows('table_experience') ): the_row(); <?php if( have_rows('table_experience')) : while( have_rows('table_experience') ): the_row();
$title_experience = get_sub_field("title_experience"); $title_experience = get_sub_field("title_experience");
$text_experience = get_sub_field("text_experience"); $text_experience = get_sub_field("text_experience");
?> ?>
...@@ -260,7 +264,7 @@ ...@@ -260,7 +264,7 @@
<?php if( have_rows('button_group')) : while( have_rows('button_group') ): the_row(); ?> <?php if( have_rows('button_group')) : while( have_rows('button_group') ): the_row(); ?>
<section class="seminar-btnset"> <section class="seminar-btnset">
<div class="container"> <div class="container">
<?php if( have_rows('button')) : while( have_rows('button') ): the_row(); <?php if( have_rows('button')) : while( have_rows('button') ): the_row();
$text_button = get_sub_field("text_button"); $text_button = get_sub_field("text_button");
$note_text_button = get_sub_field("note_text_button"); $note_text_button = get_sub_field("note_text_button");
$display_note_text = get_sub_field("display_note_text"); $display_note_text = get_sub_field("display_note_text");
...@@ -268,12 +272,12 @@ ...@@ -268,12 +272,12 @@
$url_btn = get_sub_field("url_btn"); $url_btn = get_sub_field("url_btn");
?> ?>
<div class="l-btn l-btn--center"> <div class="l-btn l-btn--center">
<div class="c-btn1 <?php if($color_btn == "red") { echo "c-btn1-red"; }?>"> <div class="c-btn1 <?php if($color_btn == "red") { echo "c-btn1-red"; }?>">
<a target="_blank" href="<?php echo $url_btn;?>" class="c-btn1__txt"><?php echo $text_button; ?> <a target="_blank" href="<?php echo $url_btn;?>" class="c-btn1__txt"><?php echo $text_button; ?>
<?php if($display_note_text[0] == "true") {?> <?php if($display_note_text[0] == "true") {?>
<span><?php echo $note_text_button;?></span> <span><?php echo $note_text_button;?></span>
<?php }?> <?php }?>
</a> </a>
</div> </div>
</div> </div>
<?php endwhile; endif;?> <?php endwhile; endif;?>
...@@ -283,4 +287,4 @@ ...@@ -283,4 +287,4 @@
<?php endwhile; endif;?> <?php endwhile; endif;?>
</main> </main>
<?php endwhile; endif;?> <?php endwhile; endif;?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/footer.php'); ?> <?php include(get_template_directory() . '/assets/include/footer.php'); ?>
......
<?php $pageid= "trainer" ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?> <?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php the_title(); ?> <main class="trainerSingle">
<?php the_time('Y.n.j'); ?> <div class="c-breadcrumb c-breadcrumb--position2 pc-only">
<?php while (have_posts()){ the_post();the_content();} ?> <ul class="c-breadcrumb__inner">
<li class="c-breadcrumb__item">
<a href="/">
<span>TOP</span>
</a>
</li>
<li class="c-breadcrumb__item">
<a href="/trainer/">
<span>講師紹介</span>
</a>
</li>
<li class="c-breadcrumb__item">
<span><?php the_title(); ?></span>
</li>
</ul>
</div>
<?php if( have_rows('mainvisual') ): while( have_rows('mainvisual') ): the_row();
$imageMainvisual = get_sub_field('mainvisual-img');
$linkblogMainvisual = get_sub_field('mainvisual-link-blog');
$linkfbMainvisual = get_sub_field('mainvisual-link-fb');
?>
<div class="c-mainvisual">
<div class="c-mainvisual__inner">
<div class="c-mainvisual__img">
<img src="<?php echo $imageMainvisual ?>" alt="">
</div>
<h2 class="c-mainvisual__ttl"><?php the_title(); ?></h2>
<div class="c-mainvisual__detail">
<p class="c-mainvisual__txt"><?php while (have_posts()){ the_post(); the_content(); } ?></p>
<div class="c-mainvisual__social">
<?php if( !empty( $linkblogMainvisual) ): ?>
<div class="c-mainvisual__btn">
<a href="<?php echo $linkblogMainvisual ?>">ブログを見る</a>
</div>
<?php endif; ?>
<?php if( !empty( $linkfbMainvisual) ): ?>
<div class="c-mainvisual__btn">
<a href="<?php echo $linkfbMainvisual ?>">Facebookを見る</a>
</div>
<?php endif; ?>
</div>
</div>
<!--
<div class="c-mainvisual__video">
<div class="js-video-button" data-video-id='hdOX6Hl72Jc'>
<img src="/common_previous/img/img_trainer_single_video.jpg" alt="">
</div>
<a data-rel="lightcase" href="https://www.youtube.com/embed/3_WiIN8l_XY?rel=0&controls=0&showinfo=0"><img src="/assets/img/trainer/img_trainer_aoki_video.jpg" alt=""></a>
</div>
-->
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php
$url = explode('/', $_SERVER['REQUEST_URI']);
?>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">トレーナー</h3>
<ul class="side__list">
<?php
$args = array (
'posts_per_page' => 12,
'post_type' => 'trainer',
'paged' => $paged,
'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => "trainer_tax",
'field' => 'slug',
'terms' => 'trainer',
),
)
);
$the_query = new WP_Query( $args );
if ($the_query-> have_posts() ) : while ($the_query -> have_posts() ) : $the_query->the_post();
?>
<li class="side__item"><a href="<?php the_permalink(); ?>" class="side__txt"><?php the_title();?></a></li>
<?php endwhile; endif;?>
</ul>
</div>
<div class="side__box">
<h3 class="side__mainttl">コンサルタント</h3>
<ul class="side__list">
<?php
$args = array (
'posts_per_page' => 12,
'post_type' => 'trainer',
'paged' => $paged,
'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => "trainer_tax",
'field' => 'slug',
'terms' => 'consultant',
),
)
);
$the_query = new WP_Query( $args );
if ($the_query-> have_posts() ) : while ($the_query -> have_posts() ) : $the_query->the_post();
?>
<li class="side__item"><a href="<?php the_permalink(); ?>" class="side__txt"><?php the_title();?></a></li>
<?php endwhile;endif;?>
</ul>
</div>
</aside>
<div class="content">
<section class="trainerSingle1">
<?php while (have_posts()){ the_post(); if( have_rows('profile') ): ?>
<h3 class="c-title1">プロフィール</h3>
<ul class="c-list1">
<?php while( have_rows('profile') ): the_row();
$profileTxt = get_sub_field('profile__txt');
?>
<li class="c-list1__item"><?php echo $profileTxt; ?></li>
<?php endwhile; ?>
</ul>
<?php endif; }?>
</section>
<?php if( get_field('career') ): ?>
<section class="trainerSingle2">
<h3 class="c-title1">経歴</h3>
<p class="trainerSingle2__txt"><?php the_field('career'); ?></p>
</section>
<?php endif; ?>
<section class="trainerSingle4">
<?php while (have_posts()){ the_post(); if( have_rows('trainer_book') ): ?>
<h3 class="c-title1">著書</h3>
<ul class="c-list3">
<?php while( have_rows('trainer_book') ): the_row();
$trainer_book_img = get_sub_field('trainer_book_img');
$trainer_book_ttl = get_sub_field('trainer_book_ttl');
$trainer_book_txt = get_sub_field('trainer_book_txt');
$trainer_book_url = get_sub_field('trainer_book_url');
?>
<li class="c-list3__item">
<a href="<?php echo $trainer_book_url ?>" target="_blank" class="c-list3__inner">
<div class="c-list3__img">
<img src="<?php echo $trainer_book_img['url']?>" alt="<?php echo $trainer_book_ttl?>">
</div>
<div class="c-list3__info">
<h4 class="c-list3__ttl"><?php echo $trainer_book_ttl?></h4>
<p class="c-list3__txt"><?php echo $trainer_book_txt?></p>
</div>
</a>
</li>
<?php endwhile; ?>
</ul>
<?php if(get_field('trainer_book_url')) :
$trainer_book_url = get_field('trainer_book_url');
?>
<div class="c-btn1">
<a href="<?php echo $trainer_book_url;?>" target="_blank" class="c-btn1__txt">著書を探す</a>
</div>
<?php endif;?>
<?php endif;} ?>
</section>
<section class="trainerSingle5">
<?php while (have_posts()){ the_post(); if( have_rows('link') ): ?>
<h3 class="c-title1">リンク集</h3>
<ul class="c-list4">
<?php while( have_rows('link') ): the_row();
$txtLink= get_sub_field('link-txt');
$hrefLink = get_sub_field('link-href');
?>
<li class="c-list4__item">
<a class="c-list4__txt" target="_blank" href="<?php echo $hrefLink; ?>"><?php echo $txtLink ?></a>
</li>
<?php endwhile; ?>
</ul>
<?php endif;} ?>
</section>
</div>
</div>
</main>
<script>
$(document).ready(function() {
$(".side__item [href]").each(function() {
if (this.href == window.location.href) {
$(this).parent().addClass("active");
}
});
});
</script>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?> <?php include(get_template_directory() . '/assets/include/footer.php'); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment